Skip to content

Commit f319442

Browse files
committedJun 25, 2017
keepassxc: fix 4.9 compatibility
1 parent 0ae147c commit f319442

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed
 

‎pkgs/applications/misc/keepassx/community.nix

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ stdenv, fetchFromGitHub,
1+
{ stdenv, fetchFromGitHub, fetchpatch,
22
cmake, libgcrypt, zlib, libmicrohttpd, libXtst, qtbase, qttools, libgpgerror
33
, withKeePassHTTP ? true
44
}:
@@ -16,6 +16,13 @@ stdenv.mkDerivation rec {
1616
sha256 = "1znnw2xpv58x0rbpmm4y662377mbmcilhf8mhhjsz8vhahms33a8";
1717
};
1818

19+
patches = [
20+
(fetchpatch { # qt 4.9
21+
url = "https://github.com/keepassxreboot/keepassxc/commit/2b6059dee3a95591d787e8b8c931cd68c059d43f.patch";
22+
sha256 = "1v140z358rk75f7wsqawpai3x8v8qcqalnv9r0l1d4p1gxm1j766";
23+
})
24+
];
25+
1926
cmakeFlags = optional (withKeePassHTTP) [ "-DWITH_XC_HTTP=ON" ];
2027

2128
buildInputs = [ cmake libgcrypt zlib qtbase qttools libXtst libmicrohttpd libgpgerror ];

0 commit comments

Comments
 (0)
Please sign in to comment.