Merge pull request #21306 from joachifm/gzip-9n
Remove uses of gzip that might capture build time
This commit is contained in:
commit
edd5babb31
|
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
||||||
' libmultipath/defaults.h
|
' libmultipath/defaults.h
|
||||||
sed -i -e 's,\$(DESTDIR)/\(usr/\)\?,$(prefix)/,g' \
|
sed -i -e 's,\$(DESTDIR)/\(usr/\)\?,$(prefix)/,g' \
|
||||||
kpartx/Makefile libmpathpersist/Makefile
|
kpartx/Makefile libmpathpersist/Makefile
|
||||||
|
sed -i -e "s,GZIP = .*, GZIP = gzip -9n -c," \
|
||||||
|
Makefile.inc
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ gzip ];
|
nativeBuildInputs = [ gzip ];
|
||||||
|
|
|
@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
tar Jxvf ${srcManpages} debian/manpages
|
tar Jxvf ${srcManpages} debian/manpages
|
||||||
gzip -9 debian/manpages/stun.1
|
gzip -9n debian/manpages/stun.1
|
||||||
gzip -9 debian/manpages/stund.8
|
gzip -9n debian/manpages/stund.8
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
mkdir -p $man/share/man/man8
|
mkdir -p $man/share/man/man8
|
||||||
for cmd in zerotier-one.8 zerotier-cli.1 zerotier-idtool.1; do
|
for cmd in zerotier-one.8 zerotier-cli.1 zerotier-idtool.1; do
|
||||||
cat doc/$cmd | gzip -9 > $man/share/man/man8/$cmd.gz
|
cat doc/$cmd | gzip -9n > $man/share/man/man8/$cmd.gz
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue