Merge pull request #260480 from wegank/gash-utils-wrap

gash-utils: use generic wrapping
This commit is contained in:
Weijia Wang 2023-10-11 21:24:37 +02:00 committed by GitHub
commit 6d35a5e6c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
'';