summary refs log tree commit diff
path: root/pkgs/development/libraries/gstreamer
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2020-11-11 00:31:55 +0100
committerJan Tojnar <jtojnar@gmail.com>2020-11-11 17:29:28 +0100
commite66ba6bd4619068541dd0446e2c69f2a7cba08a2 (patch)
tree05e1504a1657930f3d03e05887c39a8e2cb4680f /pkgs/development/libraries/gstreamer
parentdfa97742d1c8ea4d832582407acf11cd5abb0a19 (diff)
downloadnixpkgs-e66ba6bd4619068541dd0446e2c69f2a7cba08a2.tar
nixpkgs-e66ba6bd4619068541dd0446e2c69f2a7cba08a2.tar.gz
nixpkgs-e66ba6bd4619068541dd0446e2c69f2a7cba08a2.tar.bz2
nixpkgs-e66ba6bd4619068541dd0446e2c69f2a7cba08a2.tar.lz
nixpkgs-e66ba6bd4619068541dd0446e2c69f2a7cba08a2.tar.xz
nixpkgs-e66ba6bd4619068541dd0446e2c69f2a7cba08a2.tar.zst
nixpkgs-e66ba6bd4619068541dd0446e2c69f2a7cba08a2.zip
gst_all_1.gst-plugins-bad: fix build on Darwin
It fails with “Argument list too long” on Darwin,
let’s work around it using strictDeps.

Fixes: https://github.com/NixOS/nixpkgs/issues/103274
Diffstat (limited to 'pkgs/development/libraries/gstreamer')
-rw-r--r--pkgs/development/libraries/gstreamer/bad/default.nix8
1 files changed, 7 insertions, 1 deletions
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