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"
|
"--localstatedir=/var"
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = lib.optional stdenv.hostPlatform.isMusl
|
patches = [
|
||||||
(
|
# Provide compat definition for libc lacking <nss.h> (e.g. musl)
|
||||||
fetchpatch
|
(fetchpatch {
|
||||||
{
|
url = "https://raw.githubusercontent.com/openembedded/openembedded-core/94f780e889f194b67a48587ac68b3200288bee10/meta/recipes-connectivity/libnss-mdns/libnss-mdns/0001-check-for-nss.h.patch";
|
||||||
url = "https://raw.githubusercontent.com/openembedded/openembedded-core/94f780e889f194b67a48587ac68b3200288bee10/meta/recipes-connectivity/libnss-mdns/libnss-mdns/0001-check-for-nss.h.patch";
|
sha256 = "1l1kjbdw8z31br4vib3l5b85jy7kxin760a2f24lww8v6lqdpgds";
|
||||||
sha256 = "1l1kjbdw8z31br4vib3l5b85jy7kxin760a2f24lww8v6lqdpgds";
|
})
|
||||||
}
|
];
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue