mynewt-newt: fix build on darwin
This commit is contained in:
parent
7c096126c7
commit
c70cc016d7
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildGoModule, fetchFromGitHub, fetchpatch }:
|
{ stdenv, buildGoModule, fetchFromGitHub, fetchpatch, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "mynewt-newt";
|
pname = "mynewt-newt";
|
||||||
@ -24,6 +24,8 @@ buildGoModule rec {
|
|||||||
|
|
||||||
modSha256 = "068r8wa2pgd68jv50x0l1w8n96f97b3mgv7z6f85280ahgywaasq";
|
modSha256 = "068r8wa2pgd68jv50x0l1w8n96f97b3mgv7z6f85280ahgywaasq";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://mynewt.apache.org/;
|
homepage = https://mynewt.apache.org/;
|
||||||
description = "Build and package management tool for embedded development.";
|
description = "Build and package management tool for embedded development.";
|
||||||
|
@ -25460,7 +25460,9 @@ in
|
|||||||
|
|
||||||
musly = callPackage ../applications/audio/musly { };
|
musly = callPackage ../applications/audio/musly { };
|
||||||
|
|
||||||
mynewt-newt = callPackage ../tools/package-management/mynewt-newt { };
|
mynewt-newt = callPackage ../tools/package-management/mynewt-newt {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
inherit (callPackage ../tools/package-management/nix {
|
inherit (callPackage ../tools/package-management/nix {
|
||||||
storeDir = config.nix.storeDir or "/nix/store";
|
storeDir = config.nix.storeDir or "/nix/store";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user