drawio-headless: add --auto-display to prevent races
This commit is contained in:
parent
e558141817
commit
d654c44d2f
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ writeTextFile {
|
||||||
# Drawio needs to run in a virtual X session, because Electron
|
# Drawio needs to run in a virtual X session, because Electron
|
||||||
# refuses to work and dies with an unhelpful error message otherwise:
|
# refuses to work and dies with an unhelpful error message otherwise:
|
||||||
# "The futex facility returned an unexpected error code."
|
# "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; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue