azure-storage-azcopy: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 04:39:00 -05:00
parent f2dd2b8634
commit e50e48e9df
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildGoModule }:
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
buildGoModule rec {
pname = "azure-storage-azcopy";
@ -11,6 +11,8 @@ buildGoModule rec {
sha256 = "16pdvcgy1d5dfqk3as23j45rkwfrv232n384cj5wfz9qwijkcy5g";
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
subPackages = [ "." ];
modSha256 = "07cy2zi7m2pkbfdcy659x4k5j2w60cmjy8kxv1dcii3dc6ls4bvb";

View file

@ -761,7 +761,9 @@ in
azure-cli = callPackage ../tools/admin/azure-cli { python = python3; };
azure-storage-azcopy = callPackage ../development/tools/azcopy { };
azure-storage-azcopy = callPackage ../development/tools/azcopy {
inherit (darwin.apple_sdk.frameworks) Security;
};
azure-vhd-utils = callPackage ../tools/misc/azure-vhd-utils { };