diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2020-11-01 17:53:43 +0100 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2020-11-01 23:38:03 +0100 |
commit | 016bfce7d266ac9c8e44c776c86e8394474281a8 (patch) | |
tree | 486522b2dafb7b19fdcf9b6abdf8da891d053c29 /pkgs/applications/kde | |
parent | 7698197323bca022727730b1e25c141237db6901 (diff) |
kdenlive: avoid double wrapping
Diffstat (limited to 'pkgs/applications/kde')
-rw-r--r-- | pkgs/applications/kde/kdenlive.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/applications/kde/kdenlive.nix b/pkgs/applications/kde/kdenlive.nix index 795ba87ad5b5..8be6ef88e64a 100644 --- a/pkgs/applications/kde/kdenlive.nix +++ b/pkgs/applications/kde/kdenlive.nix @@ -84,12 +84,20 @@ mkDerivation { sed -i CMakeLists.txt -e '/find_package(Qt5 REQUIRED/ s|)| Concurrent)|' substituteAllInPlace src/kdenlivesettings.kcfg ''; + + dontWrapGApps = true; + # Frei0r path needs to be set too or Kdenlive will complain. See: # https://github.com/NixOS/nixpkgs/issues/83885 # https://github.com/NixOS/nixpkgs/issues/29614#issuecomment-488849325 qtWrapperArgs = [ "--set FREI0R_PATH ${frei0r}/lib/frei0r-1" ]; + + preFixup = '' + qtWrapperArgs+=("''${gappsWrapperArgs[@]}") + ''; + meta = { license = with lib.licenses; [ gpl2Plus ]; }; |