mod: fix build on darwin
This commit is contained in:
parent
e0757cf88a
commit
ee2bda2119
|
@ -1,4 +1,4 @@
|
||||||
{ buildGoModule, fetchFromGitHub, lib }:
|
{ buildGoModule, fetchFromGitHub, stdenv, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "mod";
|
pname = "mod";
|
||||||
|
@ -13,9 +13,11 @@ buildGoModule rec {
|
||||||
|
|
||||||
modSha256 = "0x7bdhvam9l23cbdqpna8kwg0v6yhgmw0hlbm48bbhjl27lg7svc";
|
modSha256 = "0x7bdhvam9l23cbdqpna8kwg0v6yhgmw0hlbm48bbhjl27lg7svc";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
subPackages = [ "cmd/mod" ];
|
subPackages = [ "cmd/mod" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Automated Semantic Import Versioning Upgrades for Go";
|
description = "Automated Semantic Import Versioning Upgrades for Go";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Command line tool to upgrade/downgrade Semantic Import Versioning in Go
|
Command line tool to upgrade/downgrade Semantic Import Versioning in Go
|
||||||
|
|
|
@ -301,7 +301,9 @@ in
|
||||||
|
|
||||||
run = callPackage ../development/tools/run { };
|
run = callPackage ../development/tools/run { };
|
||||||
|
|
||||||
mod = callPackage ../development/tools/mod { };
|
mod = callPackage ../development/tools/mod {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
broadlink-cli = callPackage ../tools/misc/broadlink-cli {};
|
broadlink-cli = callPackage ../tools/misc/broadlink-cli {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue