diff options
author | Armijn Hemel <armijn@gpl-violations.org> | 2006-08-05 00:33:52 +0000 |
---|---|---|
committer | Armijn Hemel <armijn@gpl-violations.org> | 2006-08-05 00:33:52 +0000 |
commit | a61129c48cfc11f1b836f42e178aaf231c1fed82 (patch) | |
tree | 24ee09ff8ab050a1f1766b3380b6aa5092286771 | |
parent | f1947cce9375745b63f7f0512fd1bd4a0f5c1639 (diff) | |
download | guix-a61129c48cfc11f1b836f42e178aaf231c1fed82.tar.gz |
add coreutils to the default PATH for this scripts, so we know for sure we have tools like rm, mkdir, and so on
-rw-r--r-- | scripts/nix-prefetch-url.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/nix-prefetch-url.in b/scripts/nix-prefetch-url.in index 7d0a171631..e5338d72d7 100644 --- a/scripts/nix-prefetch-url.in +++ b/scripts/nix-prefetch-url.in @@ -6,6 +6,9 @@ expHash=$2 # to prevent doing more than 1 chroot unset NIX_ROOT +# needed to make it work on NixOS +export PATH=$PATH:@coreutils@ + hashType=$NIX_HASH_ALGO if test -z "$hashType"; then hashType=md5 |