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 {