refactor: split n8n overlay override

This commit is contained in:
m3tam3re
2026-07-04 09:30:16 +02:00
parent 670c6e54d7
commit eedac010ca
6 changed files with 60 additions and 73 deletions
+24
View File
@@ -0,0 +1,24 @@
{prev}:
prev.n8n.overrideAttrs (finalAttrs: previousAttrs: {
version = "2.29.4";
src = prev.fetchFromGitHub {
owner = "n8n-io";
repo = "n8n";
tag = "n8n@${finalAttrs.version}";
hash = "sha256-Vc10fXKn21PSlv6Sk+5zyi2efkKup1Vi+9+vyJd2I1k=";
};
pnpmDeps = prev.fetchPnpmDeps {
inherit (finalAttrs) pname version src;
pnpm = prev.pnpm_10;
fetcherVersion = 3;
hash = "sha256-2UFKP5bo06afaMPD+dIYQ7O0NiyZai4i8vkidi7HfxE=";
};
meta =
previousAttrs.meta
// {
changelog = "https://github.com/n8n-io/n8n/releases/tag/n8n@${finalAttrs.version}";
};
})