diff options
author | Marek Mahut <marek.mahut@gmail.com> | 2019-08-14 08:49:36 +0200 |
---|---|---|
committer | Marek Mahut <marek.mahut@gmail.com> | 2019-08-14 12:21:29 +0200 |
commit | 95c6b4c8b49642fcec0916dc8d838a62b845f9cf (patch) | |
tree | e7aca340669a4529428c69823027ecff6a4a68cf /pkgs/applications/altcoins | |
parent | 3b1116ad5928d9af87899239fbae4674580cb7da (diff) |
jormungandr: Adding darwin.apple_sdk.frameworks.Security
Diffstat (limited to 'pkgs/applications/altcoins')
-rw-r--r-- | pkgs/applications/altcoins/jormungandr/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/altcoins/jormungandr/default.nix b/pkgs/applications/altcoins/jormungandr/default.nix index 9b53628ee90f9..b0ceda6c333fc 100644 --- a/pkgs/applications/altcoins/jormungandr/default.nix +++ b/pkgs/applications/altcoins/jormungandr/default.nix @@ -1,10 +1,12 @@ { stdenv +, lib , fetchgit , rustPlatform , openssl , pkgconfig , protobuf , rustup +, darwin }: rustPlatform.buildRustPackage rec { @@ -21,7 +23,7 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "13zcbhhdf4xakp37r920xzcb0prdk58jlph9f3hwlp8npmcws52p"; nativeBuildInputs = [ pkgconfig protobuf rustup ]; - buildInputs = [ openssl ]; + buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]; PROTOC = "${protobuf}/bin/protoc"; |