Merge pull request #218714 from newAM/drawio-headless-auto-display

drawio-headless: add --auto-display to prevent races
This commit is contained in:
Jacek Galowicz
2023-02-28 07:46:41 +01:00
committed by GitHub
@@ -21,7 +21,7 @@ writeTextFile {
# Drawio needs to run in a virtual X session, because Electron
# refuses to work and dies with an unhelpful error message otherwise:
# "The futex facility returned an unexpected error code."
XDG_CONFIG_HOME="$tmpdir" ${xvfb-run}/bin/xvfb-run ${drawio}/bin/drawio $@
XDG_CONFIG_HOME="$tmpdir" ${xvfb-run}/bin/xvfb-run --auto-display ${drawio}/bin/drawio $@
'';
meta = with lib; {