From 06225303202afa0d41b8a588510afc7a77f942e5 Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 30 Mar 2026 18:29:41 +0000 Subject: [PATCH] graphviz: configure with `--without-x` if `withXorg = false` --- pkgs/tools/graphics/graphviz/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/graphics/graphviz/default.nix b/pkgs/tools/graphics/graphviz/default.nix index 643de951e009..1172173dd326 100644 --- a/pkgs/tools/graphics/graphviz/default.nix +++ b/pkgs/tools/graphics/graphviz/default.nix @@ -74,9 +74,8 @@ stdenv.mkDerivation (finalAttrs: { configureFlags = [ "--with-ltdl-lib=${libtool.lib}/lib" "--with-ltdl-include=${libtool}/include" - ] - # TODO: this should probably be !withXorg instead of false, however it causes 17k rebuilds - ++ optional false "--without-x"; + (lib.withFeature withXorg "x") + ]; enableParallelBuilding = true; strictDeps = true;