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

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 = ''

View File

@ -6457,7 +6457,10 @@ in
samim-fonts = callPackage ../data/fonts/samim-fonts {};
saml2aws = callPackage ../tools/security/saml2aws {};
saml2aws = callPackage ../tools/security/saml2aws {
inherit (darwin) libobjc;
inherit (darwin.apple_sdk.frameworks) Foundation IOKit;
};
samplicator = callPackage ../tools/networking/samplicator { };