nss-mdns: patch unconditionally

the musl patch guards its functionality appropriately, so we can apply it unconditionally
This commit is contained in:
Ryan Burns 2021-10-14 20:55:10 -07:00
parent fe2a837b19
commit a5a4b0c316

View File

@ -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 = {