forked from mirrors/nixpkgs
libxkbcommon: Remove --version-script
on Darwin
Close #10094. Simplified by vcunat.
This commit is contained in:
parent
9008c9cd5f
commit
c6de42d4d4
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue