From e66ba6bd4619068541dd0446e2c69f2a7cba08a2 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 11 Nov 2020 00:31:55 +0100 Subject: [PATCH] gst_all_1.gst-plugins-bad: fix build on Darwin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It fails with “Argument list too long” on Darwin, let’s work around it using strictDeps. Fixes: https://github.com/NixOS/nixpkgs/issues/103274 --- pkgs/development/libraries/gstreamer/bad/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/gstreamer/bad/default.nix b/pkgs/development/libraries/gstreamer/bad/default.nix index 88c9f9a385a..a29fad8a4c9 100644 --- a/pkgs/development/libraries/gstreamer/bad/default.nix +++ b/pkgs/development/libraries/gstreamer/bad/default.nix @@ -116,16 +116,18 @@ in stdenv.mkDerivation rec { meson ninja pkgconfig + orc # for orcc python3 gettext gobject-introspection ] ++ optionals stdenv.isLinux [ - wayland-protocols + wayland # for wayland-scanner ]; buildInputs = [ gst-plugins-base orc + gobject-introspection faad2 libass libkate @@ -179,6 +181,7 @@ in stdenv.mkDerivation rec { ] ++ optionals stdenv.isLinux [ bluez wayland + wayland-protocols ] ++ optionals (!stdenv.isDarwin) [ # wildmidi requires apple's OpenAL # TODO: package apple's OpenAL, fix wildmidi, include on Darwin @@ -282,6 +285,9 @@ in stdenv.mkDerivation rec { "-Dapplemedia=disabled" ]; + # Argument list too long + strictDeps = true; + postPatch = '' patchShebangs \ scripts/extract-release-date-from-doap-file.py