diff --git a/pkgs/by-name/ty/ty/package.nix b/pkgs/by-name/ty/ty/package.nix index 10d948a18d29..9d24a6668db6 100644 --- a/pkgs/by-name/ty/ty/package.nix +++ b/pkgs/by-name/ty/ty/package.nix @@ -14,14 +14,14 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "ty"; - version = "0.0.1-alpha.31"; + version = "0.0.1-alpha.32"; src = fetchFromGitHub { owner = "astral-sh"; repo = "ty"; tag = finalAttrs.version; fetchSubmodules = true; - hash = "sha256-aGsDeDlmd7ro3kI5YnpuMCByBQaOMsBWIbfgtRfkS4k="; + hash = "sha256-Kc5jxDpQv7bm4J7EdejkrUv/lz7hRc01riUIEdv+wmY="; }; # For Darwin platforms, remove the integration test for file notifications, @@ -35,7 +35,7 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoBuildFlags = [ "--package=ty" ]; - cargoHash = "sha256-qVcK/4VjOM6vIBh+BBG7iK+x9RmoSlg8EurUKz+5xqs="; + cargoHash = "sha256-GEf/gU2DXz+u7kPHAB1NRqkmn0f7NV3M5U9u17adtkI="; nativeBuildInputs = [ installShellFiles ]; @@ -56,6 +56,14 @@ rustPlatform.buildRustPackage (finalAttrs: { "--package=ty_test" # test framework tests ]; + checkFlags = [ + # Flaky: + # called `Result::unwrap()` on an `Err` value: Os { code: 26, kind: ExecutableFileBusy, message: "Text file busy" } + "--skip=python_environment::ty_environment_and_active_environment" + "--skip=python_environment::ty_environment_is_only_environment" + "--skip=python_environment::ty_environment_is_system_not_virtual" + ]; + nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; doInstallCheck = true;