mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
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:
parent
f1947cce93
commit
a61129c48c
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue