summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorAtemu <atemu.main@gmail.com>2023-11-15 17:42:11 +0100
committerAtemu <atemu.main@gmail.com>2023-11-15 17:42:11 +0100
commitd326246c9ab5525843e911307b250cd87ca1c027 (patch)
treece61b587ba1cd2094947eb4e5073b7e280e59b17 /pkgs/development/libraries
parentc46eae0f3572fbe7af42e5d40648b7b4a1d1317b (diff)
downloadnixpkgs-d326246c9ab5525843e911307b250cd87ca1c027.tar
nixpkgs-d326246c9ab5525843e911307b250cd87ca1c027.tar.gz
nixpkgs-d326246c9ab5525843e911307b250cd87ca1c027.tar.bz2
nixpkgs-d326246c9ab5525843e911307b250cd87ca1c027.tar.lz
nixpkgs-d326246c9ab5525843e911307b250cd87ca1c027.tar.xz
nixpkgs-d326246c9ab5525843e911307b250cd87ca1c027.tar.zst
nixpkgs-d326246c9ab5525843e911307b250cd87ca1c027.zip
ffmpeg_4-full: disable glslang
abd83e2924047706a54beb65692cb6832e0e3740 broke glslang support in ffmpeg_4. It's
only enabled in ffmepg-full and v4 is only kept for compat reasons, so let's
simply disable this feature.
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/ffmpeg/generic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/ffmpeg/generic.nix b/pkgs/development/libraries/ffmpeg/generic.nix
index cd02c6bba15..57235b24308 100644
--- a/pkgs/development/libraries/ffmpeg/generic.nix
+++ b/pkgs/development/libraries/ffmpeg/generic.nix
@@ -43,7 +43,7 @@
 , withFreetype ? withHeadlessDeps # Needed for drawtext filter
 , withFrei0r ? withFullDeps # frei0r video filtering
 , withFribidi ? withFullDeps # Needed for drawtext filter
-, withGlslang ? withFullDeps && !stdenv.isDarwin
+, withGlslang ? withFullDeps && !stdenv.isDarwin && lib.versionAtLeast version "5.0"
 , withGme ? withFullDeps # Game Music Emulator
 , withGnutls ? withHeadlessDeps
 , withGsm ? withFullDeps # GSM de/encoder