Add chicken to PATH of wrapped chicken binaries.

This commit is contained in:
Moritz Ulrich 2014-10-09 22:14:38 +02:00
parent 6157cc0c29
commit 9ab1666ff0

View File

@ -42,7 +42,7 @@ stdenv.mkDerivation ({
--set CHICKEN_REPOSITORY $CHICKEN_REPOSITORY \
--prefix CHICKEN_REPOSITORY_EXTRA : "$out/lib/chicken/${toString chicken.binaryVersion}/:$CHICKEN_REPOSITORY_EXTRA" \
--prefix CHICKEN_INCLUDE_PATH \; \"$CHICKEN_INCLUDE_PATH\;$out/share/\" \
--prefix PATH : "$out/bin:$CHICKEN_REPOSITORY_EXTRA:$CHICKEN_REPOSITORY"
--prefix PATH : "$out/bin:${chicken}/bin:$CHICKEN_REPOSITORY_EXTRA:$CHICKEN_REPOSITORY"
done
'';
} // (builtins.removeAttrs args ["name" "buildInputs"]) // override)