Commit 11f94542 authored by Gavin Downard's avatar Gavin Downard
Browse files

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
parent 1a5ccd20
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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" \