We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aca1010 + f42e226 commit 978d992Copy full SHA for 978d992
1 file changed
pkgs/development/libraries/libepoxy/default.nix
@@ -56,10 +56,13 @@ stdenv.mkDerivation rec {
56
57
NIX_CFLAGS_COMPILE = lib.optionalString x11Support ''-DLIBGL_PATH="${getLib libGL}/lib"'';
58
59
- # cgl_epoxy_api fails in darwin sandbox and on Hydra (because it's headless?)
+ # cgl_core and cgl_epoxy_api fail in darwin sandbox and on Hydra (because it's headless?)
60
preCheck = lib.optionalString stdenv.isDarwin ''
61
substituteInPlace ../test/meson.build \
62
--replace "[ 'cgl_epoxy_api', [ 'cgl_epoxy_api.c' ] ]," ""
63
+ '' + lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
64
+ substituteInPlace ../test/meson.build \
65
+ --replace "[ 'cgl_core', [ 'cgl_core.c' ] ]," ""
66
'';
67
68
doCheck = true;
0 commit comments