chore: manual update until I find the time to fix CI/CD
All checks were successful
Update Nix Packages with nix-update / nix-update (push) Successful in 18m47s

This commit is contained in:
m3tm3re
2026-02-25 18:52:11 +01:00
parent 166ed9e825
commit e22774539a
3 changed files with 123 additions and 107 deletions

8
flake.lock generated
View File

@@ -39,16 +39,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1771551920, "lastModified": 1772031356,
"narHash": "sha256-MPr+bJ3GVuVf5P/wCHxg+fk3+4Aca4EaV5NVtshAhuk=", "narHash": "sha256-PA3/P5nUDlrKD6xjDXFoNNF8U2Wzz2JeeY4H+CzWWgY=",
"owner": "anomalyco", "owner": "anomalyco",
"repo": "opencode", "repo": "opencode",
"rev": "1eb6caa3c6703ca7269ef141ff559fd5d3167752", "rev": "de2bc25677b419d2af0da8b6a24a05d3f22b67a8",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "anomalyco", "owner": "anomalyco",
"ref": "v1.2.9", "ref": "v1.2.14",
"repo": "opencode", "repo": "opencode",
"type": "github" "type": "github"
} }

View File

@@ -7,7 +7,7 @@
# opencode needs newer bun from master # opencode needs newer bun from master
opencode = { opencode = {
url = "github:anomalyco/opencode/v1.2.9"; url = "github:anomalyco/opencode/v1.2.14";
inputs.nixpkgs.follows = "nixpkgs-master"; inputs.nixpkgs.follows = "nixpkgs-master";
}; };

View File

@@ -1,34 +1,52 @@
{ stdenv, lib, nixosTests, fetchFromGitHub, nodejs, pnpm_10, fetchPnpmDeps {
, pnpmConfigHook, python3, node-gyp, cctools, xcbuild, libkrb5, libmongocrypt stdenv,
, libpq, makeWrapper, }: lib,
let python = python3.withPackages (ps: with ps; [ websockets ]); nixosTests,
in stdenv.mkDerivation (finalAttrs: { fetchFromGitHub,
nodejs,
pnpm_10,
fetchPnpmDeps,
pnpmConfigHook,
python3,
node-gyp,
cctools,
xcbuild,
libkrb5,
libmongocrypt,
libpq,
makeWrapper,
}: let
python = python3.withPackages (ps: with ps; [websockets]);
in
stdenv.mkDerivation (finalAttrs: {
pname = "n8n"; pname = "n8n";
version = "2.8.3"; version = "2.9.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "n8n-io"; owner = "n8n-io";
repo = "n8n"; repo = "n8n";
tag = "n8n@${finalAttrs.version}"; tag = "n8n@${finalAttrs.version}";
hash = "sha256-xbJZD+L/8ZK7GPqFKO6H/Cg40Pk2cqN3MWC+mNFVxbI="; hash = "sha256-XXQPZHtY66gOQ+nYH+Q1IjbR+SRZ9g06sgBy2x8gGh4=";
}; };
pnpmDeps = fetchPnpmDeps { pnpmDeps = fetchPnpmDeps {
inherit (finalAttrs) pname version src; inherit (finalAttrs) pname version src;
pnpm = pnpm_10; pnpm = pnpm_10;
fetcherVersion = 3; fetcherVersion = 3;
hash = "sha256-gX4pYiztKIRFbJNZhtQviWpp80teOzX1JaYKylGe4TY="; hash = "sha256-TU7HIShYj20QtdcthP0nQdubYl0bdy+XM3CoX5Rvhzk=";
}; };
nativeBuildInputs = [ nativeBuildInputs =
[
pnpmConfigHook pnpmConfigHook
pnpm_10 pnpm_10
python3 # required to build sqlite3 bindings python3 # required to build sqlite3 bindings
node-gyp # required to build sqlite3 bindings node-gyp # required to build sqlite3 bindings
makeWrapper makeWrapper
] ++ lib.optional stdenv.hostPlatform.isDarwin [ cctools xcbuild ]; ]
++ lib.optional stdenv.hostPlatform.isDarwin [cctools xcbuild];
buildInputs = [ nodejs libkrb5 libmongocrypt libpq ]; buildInputs = [nodejs libkrb5 libmongocrypt libpq];
buildPhase = '' buildPhase = ''
runHook preBuild runHook preBuild
@@ -94,18 +112,16 @@ in stdenv.mkDerivation (finalAttrs: {
dontRewriteSymlinks = true; dontRewriteSymlinks = true;
meta = { meta = {
description = description = "Free and source-available fair-code licensed workflow automation tool";
"Free and source-available fair-code licensed workflow automation tool";
longDescription = '' longDescription = ''
Free and source-available fair-code licensed workflow automation tool. Free and source-available fair-code licensed workflow automation tool.
Easily automate tasks across different services. Easily automate tasks across different services.
''; '';
homepage = "https://n8n.io"; homepage = "https://n8n.io";
changelog = changelog = "https://github.com/n8n-io/n8n/releases/tag/n8n@${finalAttrs.version}";
"https://github.com/n8n-io/n8n/releases/tag/n8n@${finalAttrs.version}"; maintainers = with lib.maintainers; [gepbird AdrienLemaire sweenu];
maintainers = with lib.maintainers; [ gepbird AdrienLemaire sweenu ];
license = lib.licenses.sustainableUse; license = lib.licenses.sustainableUse;
mainProgram = "n8n"; mainProgram = "n8n";
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
}; };
}) })