saml2aws: fix build on Darwin (#130029)

This commit is contained in:
Jeffery Utter 2021-07-12 12:53:14 -05:00 committed by GitHub
parent caafc22e57
commit 4d8858a949
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

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" ];

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 {};