about summary refs log tree commit diff
path: root/corepkgs/nar/unnar.sh.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-18T07·42+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-18T07·42+0000
commitab350eafd2c1a98ea98090fdb3bd9b7ae4f7336b (patch)
tree14f812f4094a9bdcced05ea7cfbf5ad5c8dfe519 /corepkgs/nar/unnar.sh.in
parentb3fc38bf6a407f962b83089b2e13cbc90dd53042 (diff)
* Generate nar.sh, fetchurl.sh.
Diffstat (limited to 'corepkgs/nar/unnar.sh.in')
-rw-r--r--corepkgs/nar/unnar.sh.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/corepkgs/nar/unnar.sh.in b/corepkgs/nar/unnar.sh.in
new file mode 100644
index 000000000000..4b00cb9812ff
--- /dev/null
+++ b/corepkgs/nar/unnar.sh.in
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+echo "unpacking $nar to $out..."
+bunzip2 < $nar | @bindir@/nix --restore "$out" || exit 1