This commit is contained in:
Aaron Bieber 2023-11-14 07:09:59 -07:00
parent 51b1b49903
commit 4abd45cc23
No known key found for this signature in database
2 changed files with 8 additions and 9 deletions

View File

@ -19,7 +19,7 @@ let
hash = "sha256-bqxWFP3/aw7kRoD6ictbFcjzijktHvh4AgWAXBIODW8=";
};
});
harec' = stdenv.mkDerivation (finalAttrs: {
harec' = stdenv.mkDerivation (_: {
pname = "harec";
version = "unstable-2023-10-22";
@ -63,7 +63,7 @@ let
};
});
hare' = stdenv.mkDerivation (finalAttrs: {
hare' = stdenv.mkDerivation (_: {
pname = "hare";
version = "unstable-2023-10-23";

View File

@ -1,10 +1,9 @@
addHarepath () {
for haredir in third-party stdlib; do
if [[ -d "$1/src/hare/$haredir" ]]; then
addToSearchPath HAREPATH "$1/src/hare/$haredir"
fi
done
addHarepath() {
for haredir in third-party stdlib; do
if [[ -d "$1/src/hare/$haredir" ]]; then
addToSearchPath HAREPATH "$1/src/hare/$haredir"
fi
done
}
addEnvHooks "$hostOffset" addHarepath