aboutsummaryrefslogtreecommitdiff
path: root/corepkgs/nar/unnar.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'corepkgs/nar/unnar.sh.in')
-rw-r--r--corepkgs/nar/unnar.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/corepkgs/nar/unnar.sh.in b/corepkgs/nar/unnar.sh.in
index 8a4532af3..308135649 100644
--- a/corepkgs/nar/unnar.sh.in
+++ b/corepkgs/nar/unnar.sh.in
@@ -3,4 +3,4 @@
export PATH=/bin:/usr/bin
echo "unpacking $nar to $out..."
-bunzip2 < $nar | @bindir@/nix --restore "$out" || exit 1
+bunzip2 < $nar | @bindir@/nix-store --restore "$out" || exit 1