Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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

+1
+1
pkgs/development/tools/phantomjs2/default.nix
··· 105 $out/bin/phantomjs 106 '' + '' 107 wrapProgram $out/bin/phantomjs \ 108 --prefix PATH : ${stdenv.lib.makeBinPath [ qtbase ]} 109 ''; 110
··· 105 $out/bin/phantomjs 106 '' + '' 107 wrapProgram $out/bin/phantomjs \ 108 + --set QT_QPA_PLATFORM offscreen \ 109 --prefix PATH : ${stdenv.lib.makeBinPath [ qtbase ]} 110 ''; 111