mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
iamy: fix build on darwin
This commit is contained in:
parent
b139887056
commit
4f8836ee99
@ -1,11 +1,9 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "iamy";
|
||||
version = "2.3.2";
|
||||
|
||||
goPackagePath = "github.com/99designs/iamy";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "99designs";
|
||||
repo = "iamy";
|
||||
@ -15,6 +13,8 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "0akak573zvz3xg5d7vf0ch2mrmj1jkzcdc29v3kn43f7944c2wcl";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
buildFlagsArray = [''-ldflags=
|
||||
-X main.Version=v${version} -s -w
|
||||
''];
|
||||
|
@ -757,7 +757,9 @@ in
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
iamy = callPackage ../tools/admin/iamy { };
|
||||
iamy = callPackage ../tools/admin/iamy {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
azure-cli = callPackage ../tools/admin/azure-cli { python = python3; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user