nixos/make-system-tarball: extra commands to be executed before archive

This commit is contained in:
Jaka Hudoklin
2014-12-11 22:54:46 +01:00
parent 747488ae66
commit a782b890d5
2 changed files with 7 additions and 2 deletions

View File

@@ -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