From a61129c48cfc11f1b836f42e178aaf231c1fed82 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Sat, 5 Aug 2006 00:33:52 +0000 Subject: add coreutils to the default PATH for this scripts, so we know for sure we have tools like rm, mkdir, and so on --- scripts/nix-prefetch-url.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/nix-prefetch-url.in') diff --git a/scripts/nix-prefetch-url.in b/scripts/nix-prefetch-url.in index 7d0a17163161..e5338d72d75c 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 -- cgit 1.4.1