From c6de42d4d4b4eb99dd785735647761696ff6eac0 Mon Sep 17 00:00:00 2001 From: Marcus Crestani Date: Sun, 27 Sep 2015 17:40:52 +0200 Subject: [PATCH] libxkbcommon: Remove `--version-script` on Darwin Close #10094. Simplified by vcunat. --- pkgs/development/libraries/libxkbcommon/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/libxkbcommon/default.nix b/pkgs/development/libraries/libxkbcommon/default.nix index 6c3314e09230..5543b05ce9d1 100644 --- a/pkgs/development/libraries/libxkbcommon/default.nix +++ b/pkgs/development/libraries/libxkbcommon/default.nix @@ -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; }; } +