gst-plugins-good: fix build on musl

This commit is contained in:
Conor
2026-09-06 00:43:41 +01:00
parent b85f329572
commit 46ff1d45c8

View File

@@ -258,9 +258,9 @@ stdenv.mkDerivation (finalAttrs: {
env = {
NIX_LDFLAGS =
# linking error on Darwin
# linking error on Darwin and musl systems
# https://github.com/NixOS/nixpkgs/pull/70690#issuecomment-553694896
lib.optionalString stdenv.hostPlatform.isDarwin "-lncurses";
lib.optionalString (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isMusl) "-lncurses";
};
# fails 1 tests with "Unexpected critical/warning: g_object_set_is_valid_property: object class 'GstRtpStorage' has no property named ''"