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 {
|
buildGoModule rec {
|
||||||
pname = "elvish";
|
pname = "elvish";
|
||||||
|
@ -20,6 +20,8 @@ buildGoModule rec {
|
||||||
|
|
||||||
modSha256 = "13x4wbfj8049ygm3zbgzyr2bm4sq4x6xddrxx6shr8fydlcf1g8v";
|
modSha256 = "13x4wbfj8049ygm3zbgzyr2bm4sq4x6xddrxx6shr8fydlcf1g8v";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A friendly and expressive command shell";
|
description = "A friendly and expressive command shell";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
|
@ -917,7 +917,9 @@ in
|
||||||
|
|
||||||
sedutil = callPackage ../tools/security/sedutil { };
|
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 { };
|
emplace = callPackage ../tools/package-management/emplace { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user