mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
lisp-modules: don't override source registry
Previously, using withPackages for a lisp would totally ignore any of the default source registry entries, such as $XDG_DATA_HOME/common-lisp/source. To keep those around, an empty string must be added to CL_SOURCE_REGISTRY, as documented here: https://asdf.common-lisp.dev/asdf.html#Shell_002dfriendly-syntax-for-configuration
This commit is contained in:
parent
1a5ccd2054
commit
11f94542fb
@ -307,7 +307,7 @@ let
|
||||
$out/bin/${o.program} \
|
||||
--add-flags "${toString o.flags}" \
|
||||
--set ASDF "${o.asdfFasl}/asdf.${o.faslExt}" \
|
||||
--prefix CL_SOURCE_REGISTRY : "$CL_SOURCE_REGISTRY" \
|
||||
--prefix CL_SOURCE_REGISTRY : "$CL_SOURCE_REGISTRY''${CL_SOURCE_REGISTRY:+:}" \
|
||||
--prefix ASDF_OUTPUT_TRANSLATIONS : "$(echo $CL_SOURCE_REGISTRY | sed s,//:,::,g):" \
|
||||
--prefix LD_LIBRARY_PATH : "$LD_LIBRARY_PATH" \
|
||||
--prefix DYLD_LIBRARY_PATH : "$DYLD_LIBRARY_PATH" \
|
||||
|
Loading…
Reference in New Issue
Block a user