mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-17 14:18:53 +00:00
graphviz: support building Quartz plugin on Darwin
Analogous to 023d279213, but disabled by
default so we can have it on master.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
libxrender,
|
||||
python3,
|
||||
withXorg ? true,
|
||||
withQuartz ? false,
|
||||
|
||||
# for passthru.tests
|
||||
exiv2,
|
||||
@@ -75,7 +76,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"--with-ltdl-lib=${libtool.lib}/lib"
|
||||
"--with-ltdl-include=${libtool}/include"
|
||||
(lib.withFeature withXorg "x")
|
||||
];
|
||||
]
|
||||
++ optional withQuartz "--with-quartz";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
strictDeps = true;
|
||||
|
||||
Reference in New Issue
Block a user