Merge pull request #34069 from lukeadams/phantomjs-headless-fix

phantomjs2: set QT_QPA_PLATFORM to allow use in daemons
This commit is contained in:
Jörg Thalheim 2018-01-21 17:36:26 +00:00 committed by GitHub
commit 9858950687
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,6 +105,7 @@ in stdenv.mkDerivation rec {
$out/bin/phantomjs
'' + ''
wrapProgram $out/bin/phantomjs \
--set QT_QPA_PLATFORM offscreen \
--prefix PATH : ${stdenv.lib.makeBinPath [ qtbase ]}
'';