From 392763aea636fa9a59889b2d0162d959b11de0da Mon Sep 17 00:00:00 2001 From: Chris Rendle-Short Date: Wed, 28 Aug 2019 10:08:28 +1000 Subject: 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 --- pkgs/applications/misc/qtpass/default.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 = [ -- cgit 1.4.1