Merge pull request #141702 from r-burns/nss-mdns

This commit is contained in:
Sandro 2021-11-11 18:29:09 +01:00 committed by GitHub
commit 612a27679f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,14 +21,13 @@ stdenv.mkDerivation rec {
"--localstatedir=/var"
];
patches = lib.optional stdenv.hostPlatform.isMusl
(
fetchpatch
{
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 = {