From 602cc8b180442d4ee4daf47a6f8ba5d0202f878b Mon Sep 17 00:00:00 2001 From: materus Date: Fri, 19 May 2023 02:41:58 +0200 Subject: [PATCH] ffmpeg-amf: update name --- pkgs/apps/ffmpeg/generic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/apps/ffmpeg/generic.nix b/pkgs/apps/ffmpeg/generic.nix index 883db59..62571de 100644 --- a/pkgs/apps/ffmpeg/generic.nix +++ b/pkgs/apps/ffmpeg/generic.nix @@ -336,7 +336,7 @@ assert buildPostproc -> buildAvutil; assert buildSwscale -> buildAvutil; stdenv.mkDerivation (finalAttrs: { - pname = "ffmpeg" + (if ffmpegVariant == "small" then "" else "-${ffmpegVariant}"); + pname = "ffmpeg" + (if ffmpegVariant == "small" then "" else "-${ffmpegVariant}") + (if withAmf then "-amf" else ""); inherit version; src = fetchgit {