typespec: update fetcherVersion in pnpm.fetchDeps (#457046)

This commit is contained in:
Pol Dellaiera
2025-10-31 10:30:50 +00:00
committed by GitHub
+8 -6
View File
@@ -6,7 +6,7 @@
nix-update-script,
nodejs,
pnpm,
testers,
versionCheckHook,
}:
let
@@ -38,8 +38,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
pnpmWorkspaces
postPatch
;
fetcherVersion = 1;
hash = "sha256-/Y7KhdNeyUV2CQQWjhYBDDT24oE6UdBO6HTweUUaNqc=";
fetcherVersion = 2;
hash = "sha256-ztig1B10cQQy+4XKZjwwlCxGenwcU+C28TfTWHqZ59Y=";
};
postPatch = ''
@@ -91,9 +91,11 @@ stdenvNoCC.mkDerivation (finalAttrs: {
runHook postInstall
'';
passthru.tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
};
nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script {
extraArgs = [ ''--version-regex=typespec-stable@(\d+\.\d+\.\d+)'' ];