mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
cairo: enable tee unconditionally
The pycairo test suite fails on darwin because cairo's tee backend is not enabled: https://github.com/pygobject/pycairo/issues/238 Since cairo builds on darwin fine with tee, there seems to be no reason not to enable it.
This commit is contained in:
parent
f5b9a25cdd
commit
6102c4a326
@ -64,14 +64,15 @@ in stdenv.mkDerivation rec {
|
||||
++ optional glSupport libGL
|
||||
; # TODO: maybe liblzo but what would it be for here?
|
||||
|
||||
configureFlags = (if stdenv.isDarwin then [
|
||||
configureFlags = [
|
||||
"--enable-tee"
|
||||
] ++ (if stdenv.isDarwin then [
|
||||
"--disable-dependency-tracking"
|
||||
"--enable-quartz"
|
||||
"--enable-quartz-font"
|
||||
"--enable-quartz-image"
|
||||
"--enable-ft"
|
||||
] else ([ "--enable-tee" ]
|
||||
++ optional xcbSupport "--enable-xcb"
|
||||
] else (optional xcbSupport "--enable-xcb"
|
||||
++ optional glSupport "--enable-gl"
|
||||
++ optional pdfSupport "--enable-pdf"
|
||||
)) ++ optional (!x11Support) "--disable-xlib";
|
||||
|
Loading…
Reference in New Issue
Block a user