act: fix build on darwin
This commit is contained in:
parent
7449323baf
commit
7e03d4416b
@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, buildGoModule }:
|
||||
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "act";
|
||||
@ -11,11 +11,13 @@ buildGoModule rec {
|
||||
sha256 = "0l7id483006mnii4rlcff4p0ricd8a2n24sf74a9b387x0akpbsn";
|
||||
};
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
modSha256 = "04s4p9j6j7gw1s4v271zwzvdny7dvjaazd2pihmyjfik95xmwx9r";
|
||||
|
||||
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Run your GitHub Actions locally";
|
||||
homepage = "https://github.com/nektos/act";
|
||||
license = licenses.mit;
|
||||
|
@ -528,7 +528,9 @@ in
|
||||
|
||||
acpica-tools = callPackage ../tools/system/acpica-tools { };
|
||||
|
||||
act = callPackage ../development/tools/misc/act {};
|
||||
act = callPackage ../development/tools/misc/act {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
actdiag = with python3.pkgs; toPythonApplication actdiag;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user