1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

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

View file

@ -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 ];