1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00

libxkbcommon: Remove --version-script on Darwin

Close #10094. Simplified by vcunat.
This commit is contained in:
Marcus Crestani 2015-09-27 17:40:52 +02:00 committed by Vladimír Čunát
parent 9008c9cd5f
commit c6de42d4d4

View file

@ -14,8 +14,13 @@ stdenv.mkDerivation rec {
--with-xkb-config-root=${xkeyboard_config}/etc/X11/xkb
'';
preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
sed -i 's/,--version-script=.*$//' Makefile
'';
meta = {
description = "A library to handle keyboard descriptions";
homepage = http://xkbcommon.org;
};
}