diff options
author | Charles Duffy <charles@dyfis.net> | 2018-11-17 09:44:19 -0600 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-11-17 15:44:19 +0000 |
commit | 9eefb443f34abf986f238a5c5dce9d6bced9adc8 (patch) | |
tree | 5cb94dc58525c79565163d886adcb9e5d1dcb56a /pkgs/tools/filesystems/squashfs/default.nix | |
parent | c102306c1f4b75984bc9a78c8de77b4988991e42 (diff) | |
download | nixpkgs-9eefb443f34abf986f238a5c5dce9d6bced9adc8.tar nixpkgs-9eefb443f34abf986f238a5c5dce9d6bced9adc8.tar.gz nixpkgs-9eefb443f34abf986f238a5c5dce9d6bced9adc8.tar.bz2 nixpkgs-9eefb443f34abf986f238a5c5dce9d6bced9adc8.tar.lz nixpkgs-9eefb443f34abf986f238a5c5dce9d6bced9adc8.tar.xz nixpkgs-9eefb443f34abf986f238a5c5dce9d6bced9adc8.tar.zst nixpkgs-9eefb443f34abf986f238a5c5dce9d6bced9adc8.zip |
squashfsTools: incorporate 4k-alignment option patch (#49200)
Diffstat (limited to 'pkgs/tools/filesystems/squashfs/default.nix')
-rw-r--r-- | pkgs/tools/filesystems/squashfs/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/tools/filesystems/squashfs/default.nix b/pkgs/tools/filesystems/squashfs/default.nix index d5bcd912c95..389a614f54b 100644 --- a/pkgs/tools/filesystems/squashfs/default.nix +++ b/pkgs/tools/filesystems/squashfs/default.nix @@ -15,13 +15,17 @@ stdenv.mkDerivation rec { rev = "9c1db6d13a51a2e009f0027ef336ce03624eac0d"; }; - # These patches ensures that mksquashfs output is reproducible. - # See also https://reproducible-builds.org/docs/system-images/ - # and https://github.com/NixOS/nixpkgs/issues/40144. patches = [ + # These patches ensures that mksquashfs output is reproducible. + # See also https://reproducible-builds.org/docs/system-images/ + # and https://github.com/NixOS/nixpkgs/issues/40144. ./0001-If-SOURCE_DATE_EPOCH-is-set-override-timestamps-with.patch ./0002-If-SOURCE_DATE_EPOCH-is-set-also-clamp-content-times.patch ./0003-remove-frag-deflator-thread.patch + + # This patch adds an option to pad filesystems (increasing size) in + # exchange for better chunking / binary diff calculation. + ./squashfs-tools-4.3-4k-align.patch ] ++ stdenv.lib.optional stdenv.isDarwin ./darwin.patch; buildInputs = [ zlib xz ] |