1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

* Hack to get around the libtool wrapper script around nix-store not

working when PATH is unset.
This commit is contained in:
Eelco Dolstra 2005-07-25 07:25:18 +00:00
parent 3fae65d4cc
commit 33efb52e02
2 changed files with 5 additions and 1 deletions

View file

@ -56,6 +56,11 @@ for i in \
chmod +x $i
done
# Another ugly hack.
sed "s|^$|PATH=$PATH|" < $NIX_DATA_DIR/nix/corepkgs/nar/nar.sh > tmp
chmod +x tmp
mv tmp $NIX_DATA_DIR/nix/corepkgs/nar/nar.sh
# Initialise the database.
$TOP/src/nix-store/nix-store --init