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
1 changed files with 3 additions and 0 deletions

View File

@ -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