diff options
author | Yureka <yuka@yuka.dev> | 2022-11-27 19:23:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-27 19:23:57 +0100 |
commit | 2e55337c2671af35e035339248cbee92f00a0a92 (patch) | |
tree | a19aadb8ab790eacc03d41f7df65780245cc83fc | |
parent | d9ec37c1a7e035dbb634817ff58d43f521752465 (diff) | |
download | nixpkgs-2e55337c2671af35e035339248cbee92f00a0a92.tar nixpkgs-2e55337c2671af35e035339248cbee92f00a0a92.tar.gz nixpkgs-2e55337c2671af35e035339248cbee92f00a0a92.tar.bz2 nixpkgs-2e55337c2671af35e035339248cbee92f00a0a92.tar.lz nixpkgs-2e55337c2671af35e035339248cbee92f00a0a92.tar.xz nixpkgs-2e55337c2671af35e035339248cbee92f00a0a92.tar.zst nixpkgs-2e55337c2671af35e035339248cbee92f00a0a92.zip |
pkgsMusl.libcdio: fix build (#203252)
-rw-r--r-- | pkgs/development/libraries/libcdio/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libcdio/default.nix b/pkgs/development/libraries/libcdio/default.nix index 546573c6230..324f0669af3 100644 --- a/pkgs/development/libraries/libcdio/default.nix +++ b/pkgs/development/libraries/libcdio/default.nix @@ -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 = '' |