yarn: add passthru.updateScript

This commit is contained in:
Mario Rodas 2024-04-07 04:20:00 +00:00
parent 1a18819d4d
commit 8c29b8d726

View file

@ -4,6 +4,7 @@
, nodejs
, stdenvNoCC
, testers
, gitUpdater
, withNode ? true
}:
@ -38,6 +39,11 @@ stdenvNoCC.mkDerivation (finalAttrs: {
tests.version = lib.optionalAttrs withNode (testers.testVersion {
package = finalAttrs.finalPackage;
});
updateScript = gitUpdater {
url = "https://github.com/yarnpkg/yarn.git";
rev-prefix = "v";
};
};
meta = with lib; {