saml2aws: fix build on Darwin (#130029)

This commit is contained in:
Jeffery Utter
2021-07-12 20:53:14 +03:00
committed by GitHub
parent caafc22e57
commit 4d8858a949
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib, stdenv, buildGoModule, fetchFromGitHub, AppKit }:
buildGoModule rec {
pname = "saml2aws";
@@ -14,6 +14,8 @@ buildGoModule rec {
runVend = true;
vendorSha256 = "sha256-TieQVPSWtIteU0wTqX7si6GrPdYd4WD2eK4ZlLz0VJ8=";
buildInputs = lib.optionals stdenv.isDarwin [ AppKit ];
doCheck = false;
subPackages = [ "." "cmd/saml2aws" ];
+3 -1
View File
@@ -8597,7 +8597,9 @@ in
samim-fonts = callPackage ../data/fonts/samim-fonts {};
saml2aws = callPackage ../tools/security/saml2aws {};
saml2aws = callPackage ../tools/security/saml2aws {
inherit (darwin.apple_sdk.frameworks) AppKit;
};
sammler = callPackage ../tools/security/sammler {};