racer: add Security framework on darwin
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper, substituteAll }:
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper, substituteAll, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "racer-${version}";
|
||||
@@ -13,7 +13,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "0njaa9vk2i9g1c6sq20b7ls97nl532rfv3is7d8dwz51nrwk6jxs";
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
buildInputs = [ makeWrapper ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin Security;
|
||||
|
||||
# a nightly compiler is required unless we use this cheat code.
|
||||
RUSTC_BOOTSTRAP=1;
|
||||
|
||||
Reference in New Issue
Block a user