saml2aws: fix build on darwin

This commit is contained in:
Mario Rodas
2020-03-21 06:06:00 -05:00
parent dc68986142
commit 4340337ea5
2 changed files with 7 additions and 2 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, libobjc, Foundation, IOKit }:
buildGoModule rec {
pname = "saml2aws";
@@ -13,6 +13,8 @@ buildGoModule rec {
modSha256 = "0qxf2i06spjig3ynixh3xmbxpghh222jhfqcg71i4i79x4ycp5wx";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libobjc Foundation IOKit ];
subPackages = [ "." "cmd/saml2aws" ];
buildFlagsArray = ''