Skip to content

Commit

Permalink
Merge pull request NixOS#280784 from Atemu/fix/jellyfin-ffmpeg
Browse files Browse the repository at this point in the history
ffmpeg: use drv version for aribcaption configureFlags logic
  • Loading branch information
Atemu authored Jan 14, 2024
2 parents 46cf5e9 + 66afe6c commit 836a47d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/libraries/ffmpeg/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ stdenv.mkDerivation (finalAttrs: {
*/
(enableFeature withAlsa "alsa")
# FIXME: see if jellyfin-ffmpeg is already on a version >= 6.1 to use enableFeature
(optionalString withAribcaption "--enable-libaribcaption")
(optionalString (withAribcaption && lib.versionAtLeast finalAttrs.version "6.1") "--enable-libaribcaption")
(enableFeature withBzlib "bzlib")
(enableFeature withCelt "libcelt")
(enableFeature withCuda "cuda")
Expand Down

0 comments on commit 836a47d

Please sign in to comment.