diff options
| author | Kasper Gałkowski <k@galkowski.xyz> | 2023-03-10 23:13:53 +0100 |
|---|---|---|
| committer | Kasper Gałkowski <k@galkowski.xyz> | 2023-03-11 15:11:38 +0100 |
| commit | 84eea85ad99ac2dd4c30d22dc32004888ea73b03 (patch) | |
| tree | 0f77951c06b0cb94ef8a7e7d6d0dc1a5fecd2592 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 653ba458347e33ce31fce1c7402678bcdb5bed87 (diff) | |
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.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
