mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
phantomjs2: set QT_QPA_PLATFORM to allow use in daemons
resolves issues with Grafana email attachments Suggested in https://github.com/ariya/phantomjs/issues/15217#issuecomment-354713760
This commit is contained in:
parent
df925d6b7b
commit
457bf6da58
|
@ -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 ]}
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue