about summary refs log tree commit diff
path: root/corepkgs/nar/unnar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'corepkgs/nar/unnar.sh')
-rw-r--r--corepkgs/nar/unnar.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/corepkgs/nar/unnar.sh b/corepkgs/nar/unnar.sh
index e6a3f3c1fe19..01b6a3ebe475 100644
--- a/corepkgs/nar/unnar.sh
+++ b/corepkgs/nar/unnar.sh
@@ -1,3 +1,3 @@
 #! /bin/sh
 
-/tmp/nix/bin/nix --restore "$out" < $nar || exit 1
+bunzip2 < $nar | /tmp/nix/bin/nix --restore "$out" || exit 1