aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/graphics/krop/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/graphics/krop/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/graphics/krop/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/applications/graphics/krop/default.nix b/nixpkgs/pkgs/applications/graphics/krop/default.nix
index c4c889cdba5..401e5f6fc57 100644
--- a/nixpkgs/pkgs/applications/graphics/krop/default.nix
+++ b/nixpkgs/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;