about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMarek Mahut <marek.mahut@gmail.com>2019-08-14 08:49:36 +0200
committerMarek Mahut <marek.mahut@gmail.com>2019-08-14 12:21:29 +0200
commit95c6b4c8b49642fcec0916dc8d838a62b845f9cf (patch)
treee7aca340669a4529428c69823027ecff6a4a68cf /pkgs
parent3b1116ad5928d9af87899239fbae4674580cb7da (diff)
downloadnixlib-95c6b4c8b49642fcec0916dc8d838a62b845f9cf.tar
nixlib-95c6b4c8b49642fcec0916dc8d838a62b845f9cf.tar.gz
nixlib-95c6b4c8b49642fcec0916dc8d838a62b845f9cf.tar.bz2
nixlib-95c6b4c8b49642fcec0916dc8d838a62b845f9cf.tar.lz
nixlib-95c6b4c8b49642fcec0916dc8d838a62b845f9cf.tar.xz
nixlib-95c6b4c8b49642fcec0916dc8d838a62b845f9cf.tar.zst
nixlib-95c6b4c8b49642fcec0916dc8d838a62b845f9cf.zip
jormungandr: Adding darwin.apple_sdk.frameworks.Security
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/altcoins/jormungandr/default.nix4
1 files changed, 3 insertions, 1 deletions
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";