mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-06 04:27:27 +03:00
multipath-tools: backport build fix for musl libc 1.2.5
This commit is contained in:
parent
ccbea646d9
commit
92bd0804a9
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, coreutils
|
||||
|
||||
, perl
|
||||
@ -30,6 +31,15 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-4cby19BjgnmWf7klK1sBgtZnyvo7q3L1uyVPlVoS+uk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Backport build fix for musl libc 1.2.5
|
||||
(fetchpatch {
|
||||
url = "https://github.com/openSUSE/multipath-tools/commit/e5004de8296cd596aeeac0a61b901e98cf7a69d2.patch";
|
||||
hash = "sha256-ZvNFVphB9f+S/XMxktR6P/YYSTLeJXEsj4XrAnw6GUI=";
|
||||
excludes = ["tests/util.c"];
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace create-config.mk \
|
||||
--replace /bin/echo ${coreutils}/bin/echo
|
||||
|
Loading…
Reference in New Issue
Block a user