git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #34069 from lukeadams/phantomjs-headless-fix

phantomjs2: set QT_QPA_PLATFORM to allow use in daemons

commit9858950687a83f325fbda07b8dce866cae1d253f authorJörg Thalheim <Mic92@users.noreply.github.com> dateSun 21 Jan 2018, 17:36 (9 years ago) parent59fb55c457bf6d
1 file changed+1
pkgs/development/tools/phantomjs2/default.nix+1
pkgs/development/tools/phantomjs2/default.nix+1
@@ -105,6 +105,7 @@ in stdenv.mkDerivation rec {
105105 $out/bin/phantomjs
106106 '' + ''
107107 wrapProgram $out/bin/phantomjs \
108+ --set QT_QPA_PLATFORM offscreen \
108109 --prefix PATH : ${stdenv.lib.makeBinPath [ qtbase ]}
109110 '';
110111