diff --git a/pkgs/shells/nushell/default.nix b/pkgs/shells/nushell/default.nix index 8c3d3ef2b748..26f78f391d96 100644 --- a/pkgs/shells/nushell/default.nix +++ b/pkgs/shells/nushell/default.nix @@ -20,9 +20,8 @@ }: let - version = "0.104.1"; + version = "0.105.1"; in - rustPlatform.buildRustPackage { pname = "nushell"; inherit version; @@ -31,11 +30,11 @@ rustPlatform.buildRustPackage { owner = "nushell"; repo = "nushell"; tag = version; - hash = "sha256-ibQBwcoWzxl7t5q0KpiCiEmAasJJjBg2LMGf28y3sCk="; + hash = "sha256-UcIcCzfe2C7qFJKLo3WxwXyGI1rBBrhQHtrglKNp6ck="; }; useFetchCargoVendor = true; - cargoHash = "sha256-8HxLX94i86F9vsnlZFgvVdTCkponlEA51WXCT3zlc2w="; + cargoHash = "sha256-v3BtcEd1eMtHlDLsu0Y4i6CWA47G0CMOyVlMchj7EJo="; nativeBuildInputs = [ pkg-config ] @@ -43,13 +42,8 @@ rustPlatform.buildRustPackage { ++ lib.optionals stdenv.hostPlatform.isDarwin [ rustPlatform.bindgenHook ]; buildInputs = - [ - openssl - zstd - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ - zlib - ] + [ zstd ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ zlib ] ++ lib.optionals (withDefaultFeatures && stdenv.hostPlatform.isLinux) [ xorg.libX11 ] ++ lib.optionals (withDefaultFeatures && stdenv.hostPlatform.isDarwin) [ nghttp2 @@ -75,9 +69,9 @@ rustPlatform.buildRustPackage { runHook postCheck ''; - checkInputs = lib.optionals stdenv.hostPlatform.isDarwin [ - curlMinimal - ]; + checkInputs = + lib.optionals stdenv.hostPlatform.isDarwin [ curlMinimal ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ openssl ]; passthru = { shellPath = "/bin/nu";