gitAndTools.git-bug: fix build on darwin
This commit is contained in:
parent
3e92406ab0
commit
02d54a88b6
@ -65,7 +65,9 @@ let
|
||||
|
||||
git-appraise = callPackage ./git-appraise {};
|
||||
|
||||
git-bug = callPackage ./git-bug { };
|
||||
git-bug = callPackage ./git-bug {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
# support for bugzilla
|
||||
git-bz = callPackage ./git-bz { };
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "git-bug";
|
||||
@ -15,6 +15,8 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "1cfn49cijiarzzczrpd28x1k7ib98xyzlvn3zghwk2ngfgiah3ld";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
buildFlagsArray = ''
|
||||
-ldflags=
|
||||
-X ${goPackagePath}/commands.GitCommit=${rev}
|
||||
|
Loading…
Reference in New Issue
Block a user