forked from mirrors/nixpkgs
elvish: fix build on darwin
This commit is contained in:
parent
a5a687734a
commit
ee41c79c9a
|
@ -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 = ''
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue