diff options
author | Sirio Balmelli <sirio@b-ad.ch> | 2019-09-17 16:46:05 +0200 |
---|---|---|
committer | Sirio Balmelli <sirio@b-ad.ch> | 2019-09-18 10:10:28 +0200 |
commit | 7cb3992c6ca82dafea550d995226e208b4ec22c6 (patch) | |
tree | e43255fb19e233783a4eb81cc4628c96164afe5e /pkgs/development/tools/rust | |
parent | e598c4001fda0088506cdc12bf8053705c46676d (diff) |
cargo-inspect: fix build on Darwin
package fails to build with 'ld: framework not found Security' Solve by adding darwin.apple_sdk.frameworks.Security 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/cargo-inspect/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/tools/rust/cargo-inspect/default.nix b/pkgs/development/tools/rust/cargo-inspect/default.nix index ec2325fc62580..79b1214de659f 100644 --- a/pkgs/development/tools/rust/cargo-inspect/default.nix +++ b/pkgs/development/tools/rust/cargo-inspect/default.nix @@ -1,4 +1,4 @@ -{ lib, rustPlatform, fetchFromGitHub }: +{ stdenv, lib, rustPlatform, fetchFromGitHub, Security }: rustPlatform.buildRustPackage rec { pname = "cargo-inspect"; @@ -11,6 +11,8 @@ rustPlatform.buildRustPackage rec { sha256 = "0rjy8jlar939fkl7wi8a6zxsrl4axz2nrhv745ny8x38ii4sfbzr"; }; + buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ]; + cargoSha256 = "1pxvcf991w0jfxdissvwal5slrx7vpk3rqkzwk4hxfv0mjiqxsg5"; meta = with lib; { |