mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
gtk{2,3}-x11: build against cairo with X11 support enabled
On Darwin cairo does not have X11 support enabled by default, but gtk{2,3}-x11 requires it. Force gtk{2,3}-x11 to be built against cairo with X11 support enabled. Fixes #61891.
This commit is contained in:
parent
6e714be048
commit
f3ced69e8e
@ -10732,6 +10732,7 @@ in
|
||||
};
|
||||
|
||||
gtk2-x11 = gtk2.override {
|
||||
cairo = cairo.override { x11Support = true; };
|
||||
gdktarget = "x11";
|
||||
};
|
||||
|
||||
@ -10741,6 +10742,7 @@ in
|
||||
|
||||
# On darwin gtk uses cocoa by default instead of x11.
|
||||
gtk3-x11 = gtk3.override {
|
||||
cairo = cairo.override { x11Support = true; };
|
||||
x11Support = true;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user