summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Kjeldaas <ak@formalprivacy.com>2014-04-13 22:15:04 +0200
committerVladimír Čunát <vcunat@gmail.com>2014-12-28 13:45:27 +0100
commitda1f8578b063b7fa84e1b4dabe89b16399785074 (patch)
tree0cc76f4f32dc7646125ad32c7ec8b12caf7ca503
parent40397be73769b1fe7b4a810eeaadd7f6efac54f1 (diff)
downloadnixpkgs-da1f8578b063b7fa84e1b4dabe89b16399785074.tar
nixpkgs-da1f8578b063b7fa84e1b4dabe89b16399785074.tar.gz
nixpkgs-da1f8578b063b7fa84e1b4dabe89b16399785074.tar.bz2
nixpkgs-da1f8578b063b7fa84e1b4dabe89b16399785074.tar.lz
nixpkgs-da1f8578b063b7fa84e1b4dabe89b16399785074.tar.xz
nixpkgs-da1f8578b063b7fa84e1b4dabe89b16399785074.tar.zst
nixpkgs-da1f8578b063b7fa84e1b4dabe89b16399785074.zip
Eradicate gzip -9 without -n
-rw-r--r--nixos/modules/system/boot/stage-1.nix2
-rw-r--r--pkgs/development/compilers/qcmm/builder.sh2
-rw-r--r--pkgs/os-specific/linux/multipath-tools/default.nix2
3 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix
index cd30ce1b7ce..f0d8b04d087 100644
--- a/nixos/modules/system/boot/stage-1.nix
+++ b/nixos/modules/system/boot/stage-1.nix
@@ -326,7 +326,7 @@ in
 
     boot.initrd.compressor = mkOption {
       internal = true;
-      default = "gzip -9";
+      default = "gzip -9n";
       type = types.str;
       description = "The compressor to use on the initrd image.";
       example = "xz";
diff --git a/pkgs/development/compilers/qcmm/builder.sh b/pkgs/development/compilers/qcmm/builder.sh
index c6aa18fea3c..acdfbaa08dc 100644
--- a/pkgs/development/compilers/qcmm/builder.sh
+++ b/pkgs/development/compilers/qcmm/builder.sh
@@ -16,7 +16,7 @@ installPhase() {
     mv $file ${file%.opt}
   done
 
-  find $out/man -type f -exec gzip -9 {} \;
+  find $out/man -type f -exec gzip -9n {} \;
 
   find $out -name \*.a -exec echo stripping {} \; \
             -exec strip -S {} \;
diff --git a/pkgs/os-specific/linux/multipath-tools/default.nix b/pkgs/os-specific/linux/multipath-tools/default.nix
index 90722d74ace..3da37a89923 100644
--- a/pkgs/os-specific/linux/multipath-tools/default.nix
+++ b/pkgs/os-specific/linux/multipath-tools/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
 
   preBuild =
     ''
-      makeFlagsArray=(GZIP="${gzip}/bin/gzip -9 -c" prefix=$out mandir=$out/share/man/man8 man5dir=$out/share/man/man5 LIB=lib)
+      makeFlagsArray=(GZIP="${gzip}/bin/gzip -9n -c" prefix=$out mandir=$out/share/man/man8 man5dir=$out/share/man/man5 LIB=lib)
       
       substituteInPlace multipath/Makefile --replace /etc $out/etc
       substituteInPlace kpartx/Makefile --replace /etc $out/etc