Merge pull request #89367 from neilmayhew/fix/multipath-tools-gzip

multipath-tools: Fix build failure due to GZIP make var
This commit is contained in:
Maximilian Bosch 2020-06-02 18:36:16 +02:00 committed by GitHub
commit b846306950
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,8 +17,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
sed -i -e "s,GZIP,GZ," \
$(find * -name Makefile\*)
'';
nativeBuildInputs = [ gzip pkgconfig perl ];