summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-03-21 04:54:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-03-21 04:54:00 -0500
commitee41c79c9a1d1341b0ae07ee82d70d0ef2bda60b (patch)
tree285715581de017f86fb231bd205cafa36f934ef6 /pkgs/shells
parenta5a687734a963dc48ffbe2ed036809ae9e7bcb91 (diff)
downloadnixpkgs-ee41c79c9a1d1341b0ae07ee82d70d0ef2bda60b.tar
nixpkgs-ee41c79c9a1d1341b0ae07ee82d70d0ef2bda60b.tar.gz
nixpkgs-ee41c79c9a1d1341b0ae07ee82d70d0ef2bda60b.tar.bz2
nixpkgs-ee41c79c9a1d1341b0ae07ee82d70d0ef2bda60b.tar.lz
nixpkgs-ee41c79c9a1d1341b0ae07ee82d70d0ef2bda60b.tar.xz
nixpkgs-ee41c79c9a1d1341b0ae07ee82d70d0ef2bda60b.tar.zst
nixpkgs-ee41c79c9a1d1341b0ae07ee82d70d0ef2bda60b.zip
elvish: fix build on darwin
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/elvish/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/shells/elvish/default.nix b/pkgs/shells/elvish/default.nix
index ad2e845f9bc..228692efe85 100644
--- a/pkgs/shells/elvish/default.nix
+++ b/pkgs/shells/elvish/default.nix
@@ -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 = ''