From a473ea53e4b99b8df7fb51cd9e6c90bd09f836c6 Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Sat, 30 Sep 2023 13:33:19 -0400 Subject: [PATCH] ffmpeg: set mainProgram Needed for e.g. `nix run nixpkgs#ffmpeg-full` otherwise tries to exec `ffmpeg-full`. --- pkgs/development/libraries/ffmpeg/generic.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/ffmpeg/generic.nix b/pkgs/development/libraries/ffmpeg/generic.nix index 31c93c52fb13..cd02c6bba15c 100644 --- a/pkgs/development/libraries/ffmpeg/generic.nix +++ b/pkgs/development/libraries/ffmpeg/generic.nix @@ -699,5 +699,6 @@ stdenv.mkDerivation (finalAttrs: { pkgConfigModules = [ "libavutil" ]; platforms = platforms.all; maintainers = with maintainers; [ atemu ]; + mainProgram = "ffmpeg"; }; })