forked from mirrors/nixpkgs
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>
This commit is contained in:
parent
9eec0a3b1e
commit
a3757e6409
|
@ -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;
|
||||
|
||||
|
|
|
@ -8359,7 +8359,9 @@ in
|
|||
rustracer = callPackage ../development/tools/rust/racer {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
rustracerd = callPackage ../development/tools/rust/racerd { };
|
||||
rustracerd = callPackage ../development/tools/rust/racerd {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
rust-bindgen = callPackage ../development/tools/rust/bindgen { };
|
||||
rust-cbindgen = callPackage ../development/tools/rust/cbindgen {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
|
|
Loading…
Reference in a new issue