mynewt-newt: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 06:19:00 -05:00
parent 7c096126c7
commit c70cc016d7
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, fetchpatch }:
{ stdenv, buildGoModule, fetchFromGitHub, fetchpatch, Security }:
buildGoModule rec {
pname = "mynewt-newt";
@ -24,6 +24,8 @@ buildGoModule rec {
modSha256 = "068r8wa2pgd68jv50x0l1w8n96f97b3mgv7z6f85280ahgywaasq";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
homepage = https://mynewt.apache.org/;
description = "Build and package management tool for embedded development.";

View file

@ -25460,7 +25460,9 @@ in
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 {
storeDir = config.nix.storeDir or "/nix/store";