nushell: re-enable tests on darwin (#400302)

This commit is contained in:
Pol Dellaiera
2025-04-26 11:44:13 +00:00
committed by GitHub

View File

@@ -19,6 +19,7 @@
testers, testers,
nushell, nushell,
nix-update-script, nix-update-script,
curlMinimal,
}: }:
let let
@@ -64,8 +65,6 @@ rustPlatform.buildRustPackage {
buildNoDefaultFeatures = !withDefaultFeatures; buildNoDefaultFeatures = !withDefaultFeatures;
buildFeatures = additionalFeatures [ ]; buildFeatures = additionalFeatures [ ];
doCheck = !stdenv.hostPlatform.isDarwin; # Skip checks on darwin. Failing tests since 0.96.0
checkPhase = '' checkPhase = ''
runHook preCheck runHook preCheck
( (
@@ -82,6 +81,10 @@ rustPlatform.buildRustPackage {
runHook postCheck runHook postCheck
''; '';
checkInputs = lib.optionals stdenv.hostPlatform.isDarwin [
curlMinimal
];
passthru = { passthru = {
shellPath = "/bin/nu"; shellPath = "/bin/nu";
tests.version = testers.testVersion { tests.version = testers.testVersion {