libepoxy: fix darwin build

Always remove EGL when building on darwin. (it's not supported)
This commit is contained in:
Stanisław Pitucha 2023-03-26 22:19:56 +11:00
parent 64b624ce76
commit b0879b8d71

View File

@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
];
mesonFlags = [
"-Degl=${if x11Support then "yes" else "no"}"
"-Degl=${if (x11Support && !stdenv.isDarwin) then "yes" else "no"}"
"-Dglx=${if x11Support then "yes" else "no"}"
"-Dtests=${lib.boolToString doCheck}"
"-Dx11=${lib.boolToString x11Support}"