mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
gitAndTools.ghq: fix build on darwin
This commit is contained in:
parent
02d54a88b6
commit
b149f2ee80
|
@ -34,7 +34,9 @@ let
|
|||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
ghq = callPackage ./ghq { };
|
||||
ghq = callPackage ./ghq {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
git = appendToName "minimal" gitBase;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ghq";
|
||||
|
@ -13,6 +13,8 @@ buildGoModule rec {
|
|||
|
||||
modSha256 = "0hlbhky3c6zva9khn73n6xgq57k5p8anskxy3g2m0wzhr72cyc41";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
buildFlagsArray = ''
|
||||
-ldflags=
|
||||
-X=main.Version=${version}
|
||||
|
|
Loading…
Reference in a new issue