nixpkgs/pkgs/development/lisp-modules
Kasper Gałkowski 84eea85ad9 lisp-modules: use wrapLisp to wrap Lisps
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.
2023-03-11 15:11:38 +01:00
..
asdf asdf_3_3: init at 3.3.6 2023-03-02 19:04:47 +01:00
import lisp-modules: use wrapLisp to wrap Lisps 2023-03-11 15:11:38 +01:00
patches sbclPackages.math: fix build 2023-03-10 20:13:54 +01:00
builder.lisp lisp-modules: init 2023-03-02 19:04:47 +01:00
imported.nix sbclPackages.math: fix build 2023-03-10 20:13:54 +01:00
nix-cl.nix lisp-modules: use wrapLisp to wrap Lisps 2023-03-11 15:11:38 +01:00
packages.nix sbclPackages.cl-gtk4: update to tip of trunk 2023-03-02 21:12:47 +01:00
ql-import.lisp lisp-modules: init 2023-03-02 19:04:47 +01:00
ql.nix sbclPackages.math: fix build 2023-03-10 20:13:54 +01:00
setup-hook.sh lisp-modules: init 2023-03-02 19:04:47 +01:00
shell.nix lisp-modules: init 2023-03-02 19:04:47 +01:00