nixpkgs/pkgs/development/lisp-modules/import
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
..
database lisp-modules: use wrapLisp to wrap Lisps 2023-03-11 15:11:38 +01:00
repository
api.lisp
init.sql
main.lisp lisp-modules: make ql-import.lisp automatically pull the latest Quicklisp dist 2023-03-02 19:04:47 +01:00
nix.lisp lisp-modules: replace "_" in package names with "__" for reversibility 2023-03-10 20:10:39 +01:00
org.lispbuilds.nix.asd
util.lisp