multipath-tools: ensure gzip does not capture timestamp

gzip is originally called as 'gzip -9 -c'

This is a port of
a8e7ddd1df

Note that it does not seem to make a difference to `nix-build --check`.
This commit is contained in:
Joachim Fasting 2016-12-19 14:31:06 +01:00
parent 3e92b56be3
commit 6758d157d2
No known key found for this signature in database
GPG key ID: 7544761007FE4E08

View file

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
' libmultipath/defaults.h
sed -i -e 's,\$(DESTDIR)/\(usr/\)\?,$(prefix)/,g' \
kpartx/Makefile libmpathpersist/Makefile
sed -i -e "s,GZIP = .*, GZIP = gzip -9n -c," \
Makefile.inc
'';
nativeBuildInputs = [ gzip ];