diff options
author | Chris Rendle-Short <chris@killred.net> | 2019-08-28 10:08:28 +1000 |
---|---|---|
committer | Chris Rendle-Short <chris@killred.net> | 2019-08-29 12:38:36 +1000 |
commit | 392763aea636fa9a59889b2d0162d959b11de0da (patch) | |
tree | 9961a299433e99c9dde51c56467de3c66e92d8e2 /pkgs/applications/misc/qtpass | |
parent | 33b67761be99c21b151b9a3b8c5c8bd6398671a9 (diff) |
qtpass: fix missing app icon and name when running under Wayland
Patch has been upstreamed and should be safe to remove in versions >
1.3.0
Diffstat (limited to 'pkgs/applications/misc/qtpass')
-rw-r--r-- | pkgs/applications/misc/qtpass/default.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/applications/misc/qtpass/default.nix b/pkgs/applications/misc/qtpass/default.nix index 462114ed2721..cbe24f7183a5 100644 --- a/pkgs/applications/misc/qtpass/default.nix +++ b/pkgs/applications/misc/qtpass/default.nix @@ -1,4 +1,6 @@ -{ stdenv, mkDerivation, fetchFromGitHub, git, gnupg, pass, qtbase, qtsvg, qttools, qmake, makeWrapper }: +{ stdenv, mkDerivation, fetchFromGitHub, fetchpatch +, git, gnupg, pass, qtbase, qtsvg, qttools, qmake, makeWrapper +}: mkDerivation rec { pname = "qtpass"; @@ -15,6 +17,15 @@ mkDerivation rec { nativeBuildInputs = [ makeWrapper qmake ]; + # Fix missing app icon on Wayland. Has been upstreamed and should be safe to + # remove in versions > 1.3.0 + patches = [ + (fetchpatch { + url = "https://github.com/IJHack/QtPass/commit/aba8c4180f0ab3d66c44f88b21f137b19d17bde8.patch"; + sha256 = "009bcq0d75khmaligzd7736xdzy6a8s1m9dgqybn70h801h92fcr"; + }) + ]; + enableParallelBuilding = true; qtWrapperArgs = [ |