gstreamer: gate elfutils on package availability rather than isLinux

This commit is contained in:
Philip Taron 2024-04-01 09:00:22 -07:00 committed by Alyssa Ross
parent bb8c13160e
commit 5996ad015b

View file

@ -67,6 +67,7 @@ stdenv.mkDerivation (finalAttrs: {
] ++ lib.optionals stdenv.isLinux [
libcap
libunwind
] ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform elfutils) [
elfutils
] ++ lib.optionals stdenv.isDarwin [
Cocoa