mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
libxkbcommon: fix build on darwin
This commit is contained in:
parent
9aff2ef415
commit
95fadbc06d
1 changed files with 6 additions and 0 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue