summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2018-01-21 17:36:26 +0000
committerGitHub <noreply@github.com>2018-01-21 17:36:26 +0000
commit9858950687a83f325fbda07b8dce866cae1d253f (patch)
tree20efa2c49e1ff032dfd14ed23730bd5833a5d066
parent59fb55c089537a90de6c50266ca0d0354cd5cd00 (diff)
parent457bf6da585eb7cb0291a33c00dc4736c8e49e8d (diff)
downloadnixlib-9858950687a83f325fbda07b8dce866cae1d253f.tar
nixlib-9858950687a83f325fbda07b8dce866cae1d253f.tar.gz
nixlib-9858950687a83f325fbda07b8dce866cae1d253f.tar.bz2
nixlib-9858950687a83f325fbda07b8dce866cae1d253f.tar.lz
nixlib-9858950687a83f325fbda07b8dce866cae1d253f.tar.xz
nixlib-9858950687a83f325fbda07b8dce866cae1d253f.tar.zst
nixlib-9858950687a83f325fbda07b8dce866cae1d253f.zip
Merge pull request #34069 from lukeadams/phantomjs-headless-fix
phantomjs2: set QT_QPA_PLATFORM to allow use in daemons
-rw-r--r--pkgs/development/tools/phantomjs2/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/tools/phantomjs2/default.nix b/pkgs/development/tools/phantomjs2/default.nix
index f7d22395a03e..3c062dbe1ab4 100644
--- a/pkgs/development/tools/phantomjs2/default.nix
+++ b/pkgs/development/tools/phantomjs2/default.nix
@@ -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 ]}
   '';