add coreutils to the default PATH for this scripts, so we know for sure we have tools like rm, mkdir, and so on

This commit is contained in:
Armijn Hemel 2006-08-05 00:33:52 +00:00
parent f1947cce93
commit a61129c48c

View file

@ -6,6 +6,9 @@ expHash=$2
# to prevent doing more than 1 chroot # to prevent doing more than 1 chroot
unset NIX_ROOT unset NIX_ROOT
# needed to make it work on NixOS
export PATH=$PATH:@coreutils@
hashType=$NIX_HASH_ALGO hashType=$NIX_HASH_ALGO
if test -z "$hashType"; then if test -z "$hashType"; then
hashType=md5 hashType=md5