about summary refs log tree commit diff
path: root/corepkgs/nar
diff options
context:
space:
mode:
Diffstat (limited to 'corepkgs/nar')
-rw-r--r--corepkgs/nar/unnar.sh.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/corepkgs/nar/unnar.sh.in b/corepkgs/nar/unnar.sh.in
index 4b00cb9812ff..8a4532af369e 100644
--- a/corepkgs/nar/unnar.sh.in
+++ b/corepkgs/nar/unnar.sh.in
@@ -1,4 +1,6 @@
 #! /bin/sh
 
+export PATH=/bin:/usr/bin
+
 echo "unpacking $nar to $out..."
 bunzip2 < $nar | @bindir@/nix --restore "$out" || exit 1