From 8b8d4861b56f6e3c49cbd9253b255b92b19c3f68 Mon Sep 17 00:00:00 2001 From: materus Date: Sat, 23 Mar 2024 10:29:09 +0100 Subject: [PATCH] ffmpeg-amf: fix build on unstable --- pkgs/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/default.nix b/pkgs/default.nix index 6aee65d..68ef157 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -9,7 +9,7 @@ rec { }; - ffmpeg6-amf-full = (if pkgs.ffmpeg-full.version != "6.1" then pkgs.callPackage ./apps/ffmpeg { + ffmpeg6-amf-full = (if pkgs.lib.versionOlder pkgs.ffmpeg-full.version "6.1" then pkgs.callPackage ./apps/ffmpeg { inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa CoreServices CoreAudio CoreMedia AVFoundation MediaToolbox VideoDecodeAcceleration VideoToolbox;