diff --git a/pkgs/development/libraries/gstreamer/base/default.nix b/pkgs/development/libraries/gstreamer/base/default.nix index 16c3155a95c3..87bbef227de8 100644 --- a/pkgs/development/libraries/gstreamer/base/default.nix +++ b/pkgs/development/libraries/gstreamer/base/default.nix @@ -75,7 +75,8 @@ stdenv.mkDerivation rec { ++ lib.optional (!enableCdparanoia) "-Dcdparanoia=disabled" ; - buildInputs = [ orc libtheora libintl libopus isocodes libjpeg libvisual tremor ] + buildInputs = [ orc libtheora libintl libopus isocodes libjpeg tremor ] + ++ lib.optional (!stdenv.isDarwin) libvisual ++ lib.optional enableAlsa alsaLib ++ lib.optionals enableX11 [ libXv pango ] ++ lib.optional enableWayland wayland diff --git a/pkgs/development/libraries/libvisual/default.nix b/pkgs/development/libraries/libvisual/default.nix index 2a53a1d0e7c4..6e8e2d95b6b0 100644 --- a/pkgs/development/libraries/libvisual/default.nix +++ b/pkgs/development/libraries/libvisual/default.nix @@ -17,6 +17,6 @@ stdenv.mkDerivation rec { description = "An abstraction library for audio visualisations"; homepage = https://sourceforge.net/projects/libvisual/; license = stdenv.lib.licenses.lgpl21Plus; - platforms = stdenv.lib.platforms.unix; + platforms = stdenv.lib.platforms.linux; }; }