diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2017-09-14 22:01:53 +0200 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2017-09-14 22:02:11 +0200 |
commit | 3c70ed9577ae99a1b99293c49ac63c9743c8220f (patch) | |
tree | a7016e474c321673e096e7c1795ff210a315ba86 /pkgs/development/tools/rtags | |
parent | 9366d013f07cc15389ae9b6bb340c06c37aabfc5 (diff) |
rtags: fix darwin build
Diffstat (limited to 'pkgs/development/tools/rtags')
-rw-r--r-- | pkgs/development/tools/rtags/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/tools/rtags/default.nix b/pkgs/development/tools/rtags/default.nix index 84f048194c8f1..32be2a503bfc0 100644 --- a/pkgs/development/tools/rtags/default.nix +++ b/pkgs/development/tools/rtags/default.nix @@ -5,7 +5,8 @@ stdenv.mkDerivation rec { version = "2.12"; nativeBuildInputs = [ cmake pkgconfig ]; - buildInputs = [ llvmPackages.clang-unwrapped llvmPackages.llvm openssl emacs ] + buildInputs = [ llvmPackages.llvm openssl emacs ] + ++ lib.optionals stdenv.cc.isGNU [ llvmPackages.clang-unwrapped ] ++ lib.optionals stdenv.isDarwin [ apple_sdk.libs.xpc apple_sdk.frameworks.CoreServices ]; |