summaryrefslogtreecommitdiffstats
path: root/nixos/lib/make-system-tarball.sh
diff options
context:
space:
mode:
authorJaka Hudoklin <jakahudoklin@gmail.com>2014-12-11 22:54:46 +0100
committerJaka Hudoklin <jakahudoklin@gmail.com>2014-12-11 23:17:27 +0100
commita782b890d53b5c8a336677bb7c5394f9afb4c39b (patch)
tree76076370a6669a1ec991af3df03e0e3fcbc30d34 /nixos/lib/make-system-tarball.sh
parent747488ae66f9fd5d11c09f29e24b8dde636ba084 (diff)
nixos/make-system-tarball: extra commands to be executed before archive
Diffstat (limited to 'nixos/lib/make-system-tarball.sh')
-rw-r--r--nixos/lib/make-system-tarball.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/lib/make-system-tarball.sh b/nixos/lib/make-system-tarball.sh
index 2eb668115a6f..e04455e889b0 100644
--- a/nixos/lib/make-system-tarball.sh
+++ b/nixos/lib/make-system-tarball.sh
@@ -33,7 +33,7 @@ for i in $storePaths; do
done
-# TODO tar ruxo
+# TODO tar ruxo
# Also include a manifest of the closures in a format suitable for
# nix-store --load-db.
printRegistration=1 perl $pathsFromGraph closure-* > nix-path-registration
@@ -48,6 +48,8 @@ for ((n = 0; n < ${#objects[*]}; n++)); do
fi
done
+$extraCommands
+
mkdir -p $out/tarball
tar cvJf $out/tarball/$fileName.tar.xz * $extraArgs