graphviz: configure with --without-x if withXorg = false

This commit is contained in:
Colin
2026-03-30 18:32:24 +00:00
parent d06b4bd89b
commit 0622530320
+2 -3
View File
@@ -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;