nushell: use versionCheckHook instead of testers.testVersion

This commit is contained in:
Gaetan Lepage
2026-02-02 14:48:30 +00:00
parent d56f3107ea
commit 2b7b8f66a8
+2 -5
View File
@@ -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 { };
};