From 95c6b4c8b49642fcec0916dc8d838a62b845f9cf Mon Sep 17 00:00:00 2001 From: Marek Mahut Date: Wed, 14 Aug 2019 08:49:36 +0200 Subject: [PATCH] jormungandr: Adding darwin.apple_sdk.frameworks.Security --- pkgs/applications/altcoins/jormungandr/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/altcoins/jormungandr/default.nix b/pkgs/applications/altcoins/jormungandr/default.nix index 9b53628ee90f..b0ceda6c333f 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";