gitAndTools.lab: fix build on darwin
This commit is contained in:
parent
b24059bc2f
commit
b30c0c8d5f
@ -177,7 +177,9 @@ let
|
||||
inherit (darwin) Security;
|
||||
};
|
||||
|
||||
lab = callPackage ./lab { };
|
||||
lab = callPackage ./lab {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
lefthook = callPackage ./lefthook {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "lab";
|
||||
@ -15,6 +15,8 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "03fqa7s6729g0a6ffiyc61dkldpi7vg8pvvpqak4c0mqi1dycivd";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
||||
|
||||
postInstall = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user