···37 # TODO: Remove the musl patches when
38 # https://github.com/linux-audit/audit-userspace/pull/25
39 # is available with the next release.
40- patches = [ ./patches/weak-symbols.patch ]
000000041 ++ lib.optional stdenv.hostPlatform.isMusl [
42 (
43 let patch = fetchpatch {
···37 # TODO: Remove the musl patches when
38 # https://github.com/linux-audit/audit-userspace/pull/25
39 # is available with the next release.
40+ patches = [
41+ ./patches/weak-symbols.patch
42+ (fetchpatch {
43+ # upstream build fix against -fno-common compilers like >=gcc-10
44+ url = "https://github.com/linux-audit/audit-userspace/commit/017e6c6ab95df55f34e339d2139def83e5dada1f.patch";
45+ sha256 = "100xa1rzkv0mvhjbfgpfm72f7c4p68syflvgc3xm6pxgrqqmfq8h";
46+ })
47+ ]
48 ++ lib.optional stdenv.hostPlatform.isMusl [
49 (
50 let patch = fetchpatch {