mod: fix build on darwin
This commit is contained in:
parent
e0757cf88a
commit
ee2bda2119
2 changed files with 7 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
{ buildGoModule, fetchFromGitHub, stdenv, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mod";
|
||||
|
@ -13,9 +13,11 @@ buildGoModule rec {
|
|||
|
||||
modSha256 = "0x7bdhvam9l23cbdqpna8kwg0v6yhgmw0hlbm48bbhjl27lg7svc";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
subPackages = [ "cmd/mod" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Automated Semantic Import Versioning Upgrades for Go";
|
||||
longDescription = ''
|
||||
Command line tool to upgrade/downgrade Semantic Import Versioning in Go
|
||||
|
|
|
@ -301,7 +301,9 @@ in
|
|||
|
||||
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 {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue