aboutsummaryrefslogtreecommitdiff
path: root/corepkgs/nar/nar.sh.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-18 07:42:57 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-18 07:42:57 +0000
commitab350eafd2c1a98ea98090fdb3bd9b7ae4f7336b (patch)
tree14f812f4094a9bdcced05ea7cfbf5ad5c8dfe519 /corepkgs/nar/nar.sh.in
parentb3fc38bf6a407f962b83089b2e13cbc90dd53042 (diff)
* Generate nar.sh, fetchurl.sh.
Diffstat (limited to 'corepkgs/nar/nar.sh.in')
-rw-r--r--corepkgs/nar/nar.sh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/corepkgs/nar/nar.sh.in b/corepkgs/nar/nar.sh.in
new file mode 100644
index 000000000..bffbbaf5e
--- /dev/null
+++ b/corepkgs/nar/nar.sh.in
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+echo "packing $path into $out..."
+@bindir@/nix --dump --file "$path" | bzip2 > $out || exit 1
+