1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Tune mksquashfs for smaller isos.

Bigger block size, more suitable for xz.
This commit is contained in:
Lluís Batlle i Rossell 2016-12-28 16:05:01 +01:00
parent 35e3ea0966
commit 897b10998b

View file

@ -25,6 +25,6 @@ stdenv.mkDerivation {
# Generate the squashfs image.
mksquashfs nix-path-registration $storePaths $out \
-keep-as-directory -all-root -comp xz
-keep-as-directory -all-root -b 1048576 -comp xz -Xdict-size 100%
'';
}