diff --git a/pkgs/by-name/nu/nushell/package.nix b/pkgs/by-name/nu/nushell/package.nix index 044715171857..64cca8384587 100644 --- a/pkgs/by-name/nu/nushell/package.nix +++ b/pkgs/by-name/nu/nushell/package.nix @@ -13,10 +13,9 @@ libgit2, withDefaultFeatures ? true, additionalFeatures ? (p: p), - testers, - nushell, nix-update-script, curlMinimal, + versionCheckHook, writableTmpDirAsHomeHook, }: @@ -91,6 +90,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ''; nativeCheckInputs = [ + versionCheckHook writableTmpDirAsHomeHook ]; checkInputs = @@ -99,9 +99,6 @@ rustPlatform.buildRustPackage (finalAttrs: { passthru = { shellPath = "/bin/nu"; - tests.version = testers.testVersion { - package = nushell; - }; updateScript = nix-update-script { }; };