libxkbcommon: fix build on darwin

This commit is contained in:
Mario Rodas
2019-07-17 16:20:00 -05:00
parent 9aff2ef415
commit 95fadbc06d

View File

@@ -20,6 +20,12 @@ stdenv.mkDerivation rec {
"-Dx-locale-root=${libX11.out}/share/X11/locale"
];
# Remove example program which fail on Darwin
postPatch = if stdenv.isDarwin then ''
substituteInPlace meson.build \
--replace "executable('rmlvo-to-keymap', 'test/rmlvo-to-keymap.c', dependencies: test_dep)" ""
'' else null;
doCheck = false; # fails, needs unicode locale
meta = with stdenv.lib; {