Commit 1ea3c1d9 authored by Olivér Falvai's avatar Olivér Falvai
Browse files

nushell: re-enable tests on darwin

parent b4b9c47c
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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 {