diff --git a/nixos/doc/manual/release-notes/rl-2505.section.md b/nixos/doc/manual/release-notes/rl-2505.section.md index fd04254871ede..9e6851b749190 100644 --- a/nixos/doc/manual/release-notes/rl-2505.section.md +++ b/nixos/doc/manual/release-notes/rl-2505.section.md @@ -62,6 +62,9 @@ - `fluxus` has been removed, as it depends on `racket_7_9` and had no updates in 9 years. +- `renovate` was updated to v39. See the [upstream release notes](https://docs.renovatebot.com/release-notes-for-major-versions/#version-39) for breaking changes. + Like upstream's docker images, renovate now runs on NodeJS 22. + - The behavior of the `networking.nat.externalIP` and `networking.nat.externalIPv6` options has been changed. `networking.nat.forwardPorts` now only forwards packets destined for the specified IP addresses. - `nodePackages.meshcommander` has been removed, as the package was deprecated by Intel. diff --git a/pkgs/by-name/re/renovate/package.nix b/pkgs/by-name/re/renovate/package.nix index 2d47c1e879491..c772d0460fad9 100644 --- a/pkgs/by-name/re/renovate/package.nix +++ b/pkgs/by-name/re/renovate/package.nix @@ -11,6 +11,7 @@ xcbuild, nixosTests, nix-update-script, + yq-go, }: let @@ -20,13 +21,13 @@ let in stdenv'.mkDerivation (finalAttrs: { pname = "renovate"; - version = "38.105.2"; + version = "39.42.4"; src = fetchFromGitHub { owner = "renovatebot"; repo = "renovate"; - rev = "refs/tags/${finalAttrs.version}"; - hash = "sha256-gF8bxzNF1AUJJDxFdNfa+sr/TP0S4uLCXyu3tjRuBjc="; + tag = finalAttrs.version; + hash = "sha256-M1QzvYMrs39ELc2tkazwDPbCPHqfqzde2hbMvg34m0A="; }; postPatch = '' @@ -39,11 +40,12 @@ stdenv'.mkDerivation (finalAttrs: { nodejs pnpm_9.configHook python3 + yq-go ] ++ lib.optional stdenv'.hostPlatform.isDarwin xcbuild; pnpmDeps = pnpm_9.fetchDeps { inherit (finalAttrs) pname version src; - hash = "sha256-AdNleEe1wVBfhhoM6xit06ql1xEz/TLhZ7qpofwQ874="; + hash = "sha256-14E1v2HLFdbkxFnSPQnuwb+zyPXaczAp1Ab0EC65luc="; }; env.COREPACK_ENABLE_STRICT = 0; @@ -52,6 +54,9 @@ stdenv'.mkDerivation (finalAttrs: { '' runHook preBuild + # relax nodejs version + yq '.engines.node = "${nodejs.version}"' -i package.json + pnpm build pnpm prune --prod --ignore-scripts '' diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 79cb0c847789a..643a1e65738ae 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10659,6 +10659,10 @@ with pkgs; librdf_redland = callPackage ../development/libraries/librdf/redland.nix { }; redland = librdf_redland; # added 2018-04-25 + renovate = callPackage ../by-name/re/renovate/package.nix { + nodejs = nodejs_22; + }; + qradiolink = callPackage ../applications/radio/qradiolink { protobuf = protobuf_21; };