mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
nss-mdns: patch unconditionally
the musl patch guards its functionality appropriately, so we can apply it unconditionally
This commit is contained in:
parent
fe2a837b19
commit
a5a4b0c316
@ -21,14 +21,13 @@ stdenv.mkDerivation rec {
|
||||
"--localstatedir=/var"
|
||||
];
|
||||
|
||||
patches = lib.optional stdenv.hostPlatform.isMusl
|
||||
(
|
||||
fetchpatch
|
||||
{
|
||||
url = "https://raw.githubusercontent.com/openembedded/openembedded-core/94f780e889f194b67a48587ac68b3200288bee10/meta/recipes-connectivity/libnss-mdns/libnss-mdns/0001-check-for-nss.h.patch";
|
||||
sha256 = "1l1kjbdw8z31br4vib3l5b85jy7kxin760a2f24lww8v6lqdpgds";
|
||||
}
|
||||
);
|
||||
patches = [
|
||||
# Provide compat definition for libc lacking <nss.h> (e.g. musl)
|
||||
(fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/openembedded/openembedded-core/94f780e889f194b67a48587ac68b3200288bee10/meta/recipes-connectivity/libnss-mdns/libnss-mdns/0001-check-for-nss.h.patch";
|
||||
sha256 = "1l1kjbdw8z31br4vib3l5b85jy7kxin760a2f24lww8v6lqdpgds";
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user