mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
Merge pull request #34069 from lukeadams/phantomjs-headless-fix
phantomjs2: set QT_QPA_PLATFORM to allow use in daemons
This commit is contained in:
@@ -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 ]}
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user