1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

gash-utils: use generic wrapping

This commit is contained in:
Weijia Wang 2023-10-11 18:30:32 +02:00
parent f7edf57b88
commit 6a26b0035b

View file

@ -32,7 +32,8 @@ stdenv.mkDerivation (finalAttrs: {
postInstall = ''
for f in $out/bin/*; do
wrapProgram $f \
--prefix GUILE_LOAD_PATH : "${gash}/${guile.siteDir}"
--prefix GUILE_LOAD_PATH : "$out/${guile.siteDir}:$GUILE_LOAD_PATH" \
--prefix GUILE_LOAD_COMPILED_PATH : "$out/${guile.siteCcacheDir}:$GUILE_LOAD_COMPILED_PATH"
done
'';