about summary refs log tree commit diff
path: root/pkgs/applications/graphics/drawio/headless.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/drawio/headless.nix')
-rw-r--r--pkgs/applications/graphics/drawio/headless.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/drawio/headless.nix b/pkgs/applications/graphics/drawio/headless.nix
index c70511fa6528c..34959da67b46e 100644
--- a/pkgs/applications/graphics/drawio/headless.nix
+++ b/pkgs/applications/graphics/drawio/headless.nix
@@ -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; {