libxkbcommon: fix build on darwin with upstream patch
This commit is contained in:
parent
3b24d6e187
commit
ecfb397e8a
@ -20,11 +20,13 @@ stdenv.mkDerivation rec {
|
|||||||
"-Dx-locale-root=${libX11.out}/share/X11/locale"
|
"-Dx-locale-root=${libX11.out}/share/X11/locale"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Remove example program which fail on Darwin
|
patches = stdenv.lib.optionals stdenv.isDarwin [
|
||||||
postPatch = if stdenv.isDarwin then ''
|
# Fix build on darwin
|
||||||
substituteInPlace meson.build \
|
(fetchpatch {
|
||||||
--replace "executable('rmlvo-to-keymap', 'test/rmlvo-to-keymap.c', dependencies: test_dep)" ""
|
url = "https://github.com/xkbcommon/libxkbcommon/commit/32d178b50fe0da05e51e4fe8903c84371d133331.patch";
|
||||||
'' else null;
|
sha256 = "1wqdjla8hmgdqr8xc2manw363sxrqqsn3s8bd397h3cd7fj3hh1v";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = false; # fails, needs unicode locale
|
doCheck = false; # fails, needs unicode locale
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user