summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2020-01-16 10:02:56 -0600
committerGitHub <noreply@github.com>2020-01-16 10:02:56 -0600
commit32907db36c52b2ca8328d73b4c94a035a5675c49 (patch)
treea7de0d26f38802d543c72e11e2c39c6e314d8e45 /pkgs/applications/graphics
parentc6bed9f7dd295d18a2cc7dd2e857688f6b927adb (diff)
parent7d14a45b51574f1d679f6d81f3bf04064756d62e (diff)
downloadnixpkgs-32907db36c52b2ca8328d73b4c94a035a5675c49.tar
nixpkgs-32907db36c52b2ca8328d73b4c94a035a5675c49.tar.gz
nixpkgs-32907db36c52b2ca8328d73b4c94a035a5675c49.tar.bz2
nixpkgs-32907db36c52b2ca8328d73b4c94a035a5675c49.tar.lz
nixpkgs-32907db36c52b2ca8328d73b4c94a035a5675c49.tar.xz
nixpkgs-32907db36c52b2ca8328d73b4c94a035a5675c49.tar.zst
nixpkgs-32907db36c52b2ca8328d73b4c94a035a5675c49.zip
Merge pull request #77356 from moretea/krop-wrapQtAppsHook
krop: Add wrapQtAppsHook.
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/krop/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/krop/default.nix b/pkgs/applications/graphics/krop/default.nix
index c4c889cdba5..401e5f6fc57 100644
--- a/pkgs/applications/graphics/krop/default.nix
+++ b/pkgs/applications/graphics/krop/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, python3Packages, libsForQt5, ghostscript }:
+{ stdenv, fetchFromGitHub, python3Packages, libsForQt5, ghostscript, qt5}:
 
 python3Packages.buildPythonApplication rec {
   pname = "krop";
@@ -19,6 +19,11 @@ python3Packages.buildPythonApplication rec {
     ghostscript
   ];
 
+  nativeBuildInputs = [ qt5.wrapQtAppsHook ];
+  makeWrapperArgs = [
+   "\${qtWrapperArgs[@]}"
+  ];
+
   # Disable checks because of interference with older Qt versions // xcb
   doCheck = false;