summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorhappysalada <raphael@megzari.com>2021-05-08 09:53:04 +0900
committerRaphael Megzari <raphael@megzari.com>2021-05-12 15:23:07 +0900
commita931f7082426fc727bb2169ed93b2dee1da762a5 (patch)
tree239eb69f14843bedf4278f439db912cc2801527e /pkgs/shells
parent4beb9ae8831de4cdb4a6f7e866955ee41d4e562b (diff)
nushell: fix darwin build
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/nushell/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/shells/nushell/default.nix b/pkgs/shells/nushell/default.nix
index 98a73e1acd388..24cb26324473e 100644
--- a/pkgs/shells/nushell/default.nix
+++ b/pkgs/shells/nushell/default.nix
@@ -10,6 +10,8 @@
 , libiconv
 , AppKit
 , Security
+, nghttp2
+, libgit2
 , withStableFeatures ? true
 }:
 
@@ -32,7 +34,7 @@ rustPlatform.buildRustPackage rec {
   buildInputs = [ openssl ]
     ++ lib.optionals stdenv.isDarwin [ zlib libiconv Security ]
     ++ lib.optionals (withStableFeatures && stdenv.isLinux) [ xorg.libX11 ]
-    ++ lib.optionals (withStableFeatures && stdenv.isDarwin) [ AppKit ];
+    ++ lib.optionals (withStableFeatures && stdenv.isDarwin) [ AppKit nghttp2 libgit2 ];
 
   cargoBuildFlags = lib.optional withStableFeatures "--features stable";