about summary refs log tree commit diff
path: root/pkgs/development/tools/rust
diff options
context:
space:
mode:
authorSirio Balmelli <sirio@b-ad.ch>2019-09-16 04:25:59 +0200
committerMario Rodas <marsam@users.noreply.github.com>2019-09-15 21:25:59 -0500
commita3757e6409113d511abd7100f60a242d01a450c7 (patch)
tree777da9e1b7eb124d337366b5426b72cf582c6ba1 /pkgs/development/tools/rust
parent9eec0a3b1ee5ee89b13ead3acfa6844c1d952d31 (diff)
downloadnixlib-a3757e6409113d511abd7100f60a242d01a450c7.tar
nixlib-a3757e6409113d511abd7100f60a242d01a450c7.tar.gz
nixlib-a3757e6409113d511abd7100f60a242d01a450c7.tar.bz2
nixlib-a3757e6409113d511abd7100f60a242d01a450c7.tar.lz
nixlib-a3757e6409113d511abd7100f60a242d01a450c7.tar.xz
nixlib-a3757e6409113d511abd7100f60a242d01a450c7.tar.zst
nixlib-a3757e6409113d511abd7100f60a242d01a450c7.zip
racerd: fix broken build on Darwin (#68861)
* racerd: fix broken build on Darwin

Build on Darwin failing with 'ld: framework not found Security'

Add buildInput darwin.apple_sdk.frameworks.Security
when building on Darwin.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
Diffstat (limited to 'pkgs/development/tools/rust')
-rw-r--r--pkgs/development/tools/rust/racerd/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/tools/rust/racerd/default.nix b/pkgs/development/tools/rust/racerd/default.nix
index bfc30193eeda..fab0dc05c450 100644
--- a/pkgs/development/tools/rust/racerd/default.nix
+++ b/pkgs/development/tools/rust/racerd/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper }:
+{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper , Security }:
 
 with rustPlatform;
 
@@ -19,7 +19,8 @@ buildRustPackage rec {
 
   cargoSha256 = "15894qr0kpp5kivx0p71zmmfhfh8in0ydkvfirxh2r12x0r2jhdd";
 
-  buildInputs = [ makeWrapper ];
+  buildInputs = [ makeWrapper ]
+                ++ stdenv.lib.optional stdenv.isDarwin Security;
 
   RUST_SRC_PATH = rustPlatform.rustcSrc;