n8n: 2.20.6 -> 2.22.5 (#523609)

This commit is contained in:
nixpkgs-ci[bot]
2026-06-01 11:28:42 +00:00
committed by GitHub
2 changed files with 6 additions and 8 deletions
+3 -3
View File
@@ -26,20 +26,20 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "n8n";
version = "2.20.6";
version = "2.22.5";
src = fetchFromGitHub {
owner = "n8n-io";
repo = "n8n";
tag = "n8n@${finalAttrs.version}";
hash = "sha256-c0O6tC+QDhHN3nmzXqNwhAM4+NoFYVO1mtO3V348hDs=";
hash = "sha256-YF6VJLA+y8pcAE3RwTub1XjPVfeh8cR+3TQqb3VvV5U=";
};
pnpmDeps = fetchPnpmDeps {
inherit (finalAttrs) pname version src;
pnpm = pnpm_10;
fetcherVersion = 3;
hash = "sha256-ft7n3J7L+u2hwEiR32Jw2k0ZsHCfI5yIB+IfmtB8xMY=";
hash = "sha256-lAe3GuZRdzEwOXWmpBtF7YfGvA4XJumLf80uDYS6j30=";
};
nativeBuildInputs = [
+3 -5
View File
@@ -2,9 +2,7 @@
#!nix-shell --pure -i bash -p bash curl jq nix-update cacert git
set -euo pipefail
new_version="$(curl -s 'https://api.github.com/repos/n8n-io/n8n/releases?per_page=30' | \
jq -r '
map(select(.prerelease | not) | .tag_name | select(startswith("n8n@")) | sub("^n8n@"; ""))
| sort_by(split(".") | map(tonumber)) | last
')"
new_version="$(curl -s ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} \
'https://api.github.com/repos/n8n-io/n8n/releases/latest' |
jq -r '.tag_name | sub("^n8n@"; "")')"
nix-update n8n --version "$new_version"