elvish: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 04:54:00 -05:00
parent a5a687734a
commit ee41c79c9a
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "elvish";
@ -20,6 +20,8 @@ buildGoModule rec {
modSha256 = "13x4wbfj8049ygm3zbgzyr2bm4sq4x6xddrxx6shr8fydlcf1g8v";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "A friendly and expressive command shell";
longDescription = ''

View File

@ -917,7 +917,9 @@ in
sedutil = callPackage ../tools/security/sedutil { };
elvish = callPackage ../shells/elvish { };
elvish = callPackage ../shells/elvish {
inherit (darwin.apple_sdk.frameworks) Security;
};
emplace = callPackage ../tools/package-management/emplace { };