Merge #65010: libxkbcommon: fix build on darwin

This commit is contained in:
Vladimír Čunát 2019-07-18 23:28:57 +02:00
commit 65a1b179f3
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

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; {