gtk3: restore x11 support on darwin
This commit is contained in:
parent
2c62393329
commit
84f58338db
1 changed files with 6 additions and 0 deletions
|
@ -148,6 +148,8 @@ stdenv.mkDerivation rec {
|
|||
"-Dtests=false"
|
||||
"-Dtracker3=${lib.boolToString trackerSupport}"
|
||||
"-Dbroadway_backend=${lib.boolToString broadwaySupport}"
|
||||
"-Dx11_backend=${lib.boolToString x11Support}"
|
||||
"-Dquartz_backend=${lib.boolToString (stdenv.isDarwin && !x11Support)}"
|
||||
];
|
||||
|
||||
doCheck = false; # needs X11
|
||||
|
@ -159,6 +161,10 @@ stdenv.mkDerivation rec {
|
|||
NIX_CFLAGS_COMPILE = "-DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS";
|
||||
|
||||
postPatch = ''
|
||||
# See https://github.com/NixOS/nixpkgs/issues/132259
|
||||
substituteInPlace meson.build \
|
||||
--replace "x11_enabled = false" ""
|
||||
|
||||
files=(
|
||||
build-aux/meson/post-install.py
|
||||
demos/gtk-demo/geninclude.py
|
||||
|
|
Loading…
Reference in a new issue