From 1ea3c1d9676c9214492e82464174094c2130e002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliv=C3=A9r=20Falvai?= Date: Sun, 20 Apr 2025 10:42:24 +0200 Subject: [PATCH] nushell: re-enable tests on darwin --- pkgs/shells/nushell/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/shells/nushell/default.nix b/pkgs/shells/nushell/default.nix index b4a39b23c1ff..60f1fefe8221 100644 --- a/pkgs/shells/nushell/default.nix +++ b/pkgs/shells/nushell/default.nix @@ -19,6 +19,7 @@ testers, nushell, nix-update-script, + curlMinimal, }: let @@ -64,8 +65,6 @@ rustPlatform.buildRustPackage { buildNoDefaultFeatures = !withDefaultFeatures; buildFeatures = additionalFeatures [ ]; - doCheck = !stdenv.hostPlatform.isDarwin; # Skip checks on darwin. Failing tests since 0.96.0 - checkPhase = '' runHook preCheck ( @@ -82,6 +81,10 @@ rustPlatform.buildRustPackage { runHook postCheck ''; + checkInputs = lib.optionals stdenv.hostPlatform.isDarwin [ + curlMinimal + ]; + passthru = { shellPath = "/bin/nu"; tests.version = testers.testVersion {