qtkeychain: Fixes Qt4 build. (#46085)

This commit is contained in:
Samuel Dionne-Riel
2018-09-05 09:28:50 +02:00
committed by xeji
parent 91cc864c3c
commit c59d9d371e
2 changed files with 27 additions and 0 deletions
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
sha256 = "0h4wgngn2yl35hapbjs24amkjfbzsvnna4ixfhn87snjnq5lmjbc"; # v0.9.1
};
patches = if withQt5 then null else [ ./0001-Fixes-build-with-Qt4.patch ];
cmakeFlags = [ "-DQT_TRANSLATIONS_DIR=share/qt/translations" ]
++ stdenv.lib.optional stdenv.isDarwin [
# correctly detect the compiler