diff options
author | happysalada <raphael@megzari.com> | 2021-05-08 09:53:04 +0900 |
---|---|---|
committer | Raphael Megzari <raphael@megzari.com> | 2021-05-12 15:23:07 +0900 |
commit | a931f7082426fc727bb2169ed93b2dee1da762a5 (patch) | |
tree | 239eb69f14843bedf4278f439db912cc2801527e /pkgs/shells | |
parent | 4beb9ae8831de4cdb4a6f7e866955ee41d4e562b (diff) |
nushell: fix darwin build
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/nushell/default.nix | 4 |
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"; |