diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 06:19:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 06:19:00 -0500 |
commit | c70cc016d7d4c52be1f401bad876cc773a0d6470 (patch) | |
tree | 24afdef574d1ae8594d91d5c4a922a587de34a2f /pkgs/tools | |
parent | 7c096126c7228232f31b4333720a5e10f74c0e05 (diff) | |
download | nixlib-c70cc016d7d4c52be1f401bad876cc773a0d6470.tar nixlib-c70cc016d7d4c52be1f401bad876cc773a0d6470.tar.gz nixlib-c70cc016d7d4c52be1f401bad876cc773a0d6470.tar.bz2 nixlib-c70cc016d7d4c52be1f401bad876cc773a0d6470.tar.lz nixlib-c70cc016d7d4c52be1f401bad876cc773a0d6470.tar.xz nixlib-c70cc016d7d4c52be1f401bad876cc773a0d6470.tar.zst nixlib-c70cc016d7d4c52be1f401bad876cc773a0d6470.zip |
mynewt-newt: fix build on darwin
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/package-management/mynewt-newt/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/package-management/mynewt-newt/default.nix b/pkgs/tools/package-management/mynewt-newt/default.nix index b40257d42f4b..6afba001e08d 100644 --- a/pkgs/tools/package-management/mynewt-newt/default.nix +++ b/pkgs/tools/package-management/mynewt-newt/default.nix @@ -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."; |