keepassxc: run test with offscreen qt plugin

Co-Authored-By: Quiark <me@rplasil.name>
This commit is contained in:
Bob van der Linden 2019-04-11 15:36:21 +08:00 committed by GitHub
parent 96fec4214d
commit 77ce9098c0
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@ stdenv.mkDerivation rec {
doCheck = true; doCheck = true;
checkPhase = '' checkPhase = ''
export LC_ALL="en_US.UTF-8" export LC_ALL="en_US.UTF-8"
export QT_PLUGIN_PATH="${qtbase.bin}/${qtbase.qtPluginPrefix}" export QT_PLUGIN_PATH="${qtbase.bin}/${qtbase.qtPluginPrefix}"
export QT_QPA_PLATFORM=offscreen
make test ARGS+="-E testgui --output-on-failure" make test ARGS+="-E testgui --output-on-failure"
''; '';