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
This commit is contained in:
Jan Tojnar 2020-11-11 00:31:55 +01:00
parent dfa97742d1
commit e66ba6bd46

@ -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