diff --git a/pkgs/applications/kde/kdenlive/default.nix b/pkgs/applications/kde/kdenlive/default.nix index caf0f1c6f55d..b6dbe3d99d8d 100644 --- a/pkgs/applications/kde/kdenlive/default.nix +++ b/pkgs/applications/kde/kdenlive/default.nix @@ -35,7 +35,6 @@ , kdeclarative , wrapGAppsHook3 , glaxnimate -, enableGlaxnimate ? true }: let @@ -82,11 +81,12 @@ mkDerivation { kpurpose kdeclarative wrapGAppsHook3 - ] ++ lib.optional enableGlaxnimate glaxnimate; + glaxnimate + ]; # Both MLT and FFMpeg paths must be set or Kdenlive will complain that it # doesn't find them. See: # https://github.com/NixOS/nixpkgs/issues/83885 - patches = [ ./dependency-paths.patch ] ++ lib.optional enableGlaxnimate ./dependency-paths-glaxnimate.patch; + patches = [ ./dependency-paths.patch ./dependency-paths-glaxnimate.patch ]; # Needed to replace @glaxnimate@ by its path env = {