mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
84eea85ad9
The previous approach of manually repeating a complex pattern inside Common Lisp implementation package declarations was fragile and hard to change. After reading python and lua modules code in Nixpkgs, I was able to come up with something better. The function `wrapLisp` doesn't need to be inside package declarations so all the code for wrapping Lisps can be in `all-packages.nix`. This works by wrapping the `override` function created from `mkDerivation` to accept a new argument `packageOverrides`. One problem with this is that `override.__functionArgs` disappears. But one can look at the source code of a package to discover what can be overridden. |
||
---|---|---|
.. | ||
agda.section.md | ||
android.section.md | ||
beam.section.md | ||
bower.section.md | ||
chicken.section.md | ||
coq.section.md | ||
crystal.section.md | ||
cuda.section.md | ||
cuelang.section.md | ||
dhall.section.md | ||
dotnet.section.md | ||
emscripten.section.md | ||
gnome.section.md | ||
go.section.md | ||
haskell.section.md | ||
hy.section.md | ||
idris.section.md | ||
index.xml | ||
ios.section.md | ||
java.section.md | ||
javascript.section.md | ||
lisp.section.md | ||
lua.section.md | ||
maven.section.md | ||
nim.section.md | ||
ocaml.section.md | ||
octave.section.md | ||
perl.section.md | ||
php.section.md | ||
pkg-config.section.md | ||
python.section.md | ||
qt.section.md | ||
r.section.md | ||
ruby.section.md | ||
rust.section.md | ||
swift.section.md | ||
texlive.section.md | ||
titanium.section.md | ||
vim.section.md |