make-bootstrap-tools.nix: fix for wrapped gzip
This commit is contained in:
parent
1399da54e0
commit
d29b1ecb89
3 changed files with 3 additions and 2 deletions
|
@ -71,7 +71,7 @@ in rec {
|
|||
cp ${gawk}/bin/gawk $out/bin
|
||||
cp -d ${gawk}/bin/awk $out/bin
|
||||
cp ${gnutar}/bin/tar $out/bin
|
||||
cp ${gzip}/bin/gzip $out/bin
|
||||
cp ${gzip}/bin/.gzip-wrapped $out/bin/gzip
|
||||
cp ${bzip2_.bin}/bin/bzip2 $out/bin
|
||||
cp -d ${gnumake}/bin/* $out/bin
|
||||
cp -d ${patch}/bin/* $out/bin
|
||||
|
|
|
@ -115,7 +115,7 @@ in with pkgs; rec {
|
|||
cp ${gawk.out}/bin/gawk $out/bin
|
||||
cp -d ${gawk.out}/bin/awk $out/bin
|
||||
cp ${tarMinimal.out}/bin/tar $out/bin
|
||||
cp ${gzip.out}/bin/gzip $out/bin
|
||||
cp ${gzip.out}/bin/.gzip-wrapped $out/bin/gzip
|
||||
cp ${bzip2.bin}/bin/bzip2 $out/bin
|
||||
cp -d ${gnumake.out}/bin/* $out/bin
|
||||
cp -d ${patch}/bin/* $out/bin
|
||||
|
|
|
@ -43,6 +43,7 @@ stdenv.mkDerivation rec {
|
|||
''
|
||||
# run gzip with "-n" when $GZIP_NO_TIMESTAMPS (set by stdenv's setup.sh) is set to stop gzip from adding timestamps
|
||||
# to archive headers: https://github.com/NixOS/nixpkgs/issues/86348
|
||||
# if changing so that there's no longer a .gzip-wrapped then update copy in make-bootstrap-tools.nix
|
||||
+ ''
|
||||
wrapProgram $out/bin/gzip \
|
||||
--add-flags "\''${GZIP_NO_TIMESTAMPS:+-n}"
|
||||
|
|
Loading…
Reference in a new issue