keepassxc: run test with offscreen qt plugin
Co-Authored-By: Quiark <me@rplasil.name>
commit77ce9098c0cadc85b7c3cc6ff90f823135c40aac
authorBob van der Linden <bobvanderlinden@gmail.com>
dateThu 11 Apr 2019, 15:36 (8 years ago)
parent96fec42
pkgs/applications/misc/keepassx/community.nix+2−1
@@ -69,7 +69,8 @@ stdenv.mkDerivation rec {
6969 doCheck = true;
7070 checkPhase = ''
7171 export LC_ALL="en_US.UTF-8"
72− export QT_PLUGIN_PATH="${qtbase.bin}/${qtbase.qtPluginPrefix}"
72+ export QT_PLUGIN_PATH="${qtbase.bin}/${qtbase.qtPluginPrefix}"
73+ export QT_QPA_PLATFORM=offscreen
7374 make test ARGS+="-E testgui --output-on-failure"
7475 '';
7576