mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00: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 New Issue
Block a user