pkgsMusl.libcdio: fix build (#203252)

This commit is contained in:
Yureka 2022-11-27 19:23:57 +01:00 committed by GitHub
parent d9ec37c1a7
commit 2e55337c26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,13 @@ stdenv.mkDerivation rec {
url = "https://savannah.gnu.org/patch/download.php?file_id=52179";
sha256 = "1v15gxhpi4bgcr12pb3d9c3hiwj0drvc832vic7sham34lhjmcbb";
})
] ++ lib.optionals stdenv.hostPlatform.isMusl [
(fetchpatch {
name = "musl-realpath-test.patch";
url = "https://git.alpinelinux.org/aports/plain/community/libcdio/disable-broken-test.patch?id=058a8695c12ae13b40c981ee98809352490b6155";
includes = [ "test/driver/realpath.c" ];
sha256 = "sha256-6j2bjMed2l+TFZ5emjCcozzF/kkGA8FVifJB8U7QceU=";
})
];
postPatch = ''