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.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/corepkgs/nar/unnar.sh b/corepkgs/nar/unnar.sh
new file mode 100644
index 000000000000..e6a3f3c1fe19
--- /dev/null
+++ b/corepkgs/nar/unnar.sh
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+/tmp/nix/bin/nix --restore "$out" < $nar || exit 1