From edae9ba3c9701a17d2c48efc98f35e1c8167d9c7 Mon Sep 17 00:00:00 2001 From: m3tm3re Date: Sun, 19 Apr 2026 18:11:43 +0200 Subject: [PATCH] chore: update n8n, vibetyper --- .pi-lens/cache/session-start-guidance.json | 4 +--- .../cache/session-start-guidance.meta.json | 2 +- .pi-lens/cache/todo-baseline.meta.json | 2 +- pkgs/n8n/default.nix | 20 +++++++++++++++---- pkgs/vibetyper/default.nix | 4 ++-- 5 files changed, 21 insertions(+), 11 deletions(-) diff --git a/.pi-lens/cache/session-start-guidance.json b/.pi-lens/cache/session-start-guidance.json index f2c1cb4..ec747fa 100644 --- a/.pi-lens/cache/session-start-guidance.json +++ b/.pi-lens/cache/session-start-guidance.json @@ -1,3 +1 @@ -{ - "content": "📌 pi-lens active — as you work on this project, fix any errors you encounter (including pre-existing). Prefer: lsp_navigation for definitions/references, ast_grep_search for code patterns, grep for text/TODO search." -} \ No newline at end of file +null \ No newline at end of file diff --git a/.pi-lens/cache/session-start-guidance.meta.json b/.pi-lens/cache/session-start-guidance.meta.json index e321daf..1f1b98c 100644 --- a/.pi-lens/cache/session-start-guidance.meta.json +++ b/.pi-lens/cache/session-start-guidance.meta.json @@ -1,3 +1,3 @@ { - "timestamp": "2026-04-11T04:21:36.939Z" + "timestamp": "2026-04-19T15:52:39.989Z" } \ No newline at end of file diff --git a/.pi-lens/cache/todo-baseline.meta.json b/.pi-lens/cache/todo-baseline.meta.json index 449e16d..8515b90 100644 --- a/.pi-lens/cache/todo-baseline.meta.json +++ b/.pi-lens/cache/todo-baseline.meta.json @@ -1,3 +1,3 @@ { - "timestamp": "2026-04-11T04:21:36.940Z" + "timestamp": "2026-04-19T15:42:10.963Z" } \ No newline at end of file diff --git a/pkgs/n8n/default.nix b/pkgs/n8n/default.nix index b010392..2751d53 100644 --- a/pkgs/n8n/default.nix +++ b/pkgs/n8n/default.nix @@ -11,6 +11,7 @@ node-gyp, cctools, xcbuild, + dart-sass, libkrb5, libmongocrypt, libpq, @@ -25,20 +26,20 @@ in stdenv.mkDerivation (finalAttrs: { pname = "n8n"; - version = "stable"; + version = "2.16.1"; src = fetchFromGitHub { owner = "n8n-io"; repo = "n8n"; - tag = "${finalAttrs.version}"; - hash = "sha256-/atba0ymCqhh5Rt61UxwC2xf8SGrRsEKtlsDCIkg37Y="; + tag = "n8n@${finalAttrs.version}"; + hash = "sha256-5y00RY8WWVgpxC3TNPFS9XxshgZKTlShpw+HiJVQvmM="; }; pnpmDeps = fetchPnpmDeps { inherit (finalAttrs) pname version src; pnpm = pnpm_10; fetcherVersion = 3; - hash = "sha256-YGplNNvIOIY1BthWmejAzucXujq8AkgPJus774GmWCA="; + hash = "sha256-qyD+zlsBiJLwrazEclVkDmUp+wAxvdH3P6oWpmiX5rc="; }; nativeBuildInputs = @@ -61,6 +62,17 @@ in libpq ]; + preBuild = '' + # Force sass-embedded to use our dart-sass instead of bundled binaries. + # The bundled Dart binary can't run in the Nix sandbox (no /lib64/ld-linux-x86-64.so.2). + for dep in node_modules/.pnpm/sass-embedded@*; do + substituteInPlace "$dep/node_modules/sass-embedded/dist/lib/src/compiler-path.js" \ + --replace-fail \ + 'compilerCommand = (() => {' \ + 'compilerCommand = (() => { return ["${lib.getExe dart-sass}"];' + done + ''; + buildPhase = '' runHook preBuild diff --git a/pkgs/vibetyper/default.nix b/pkgs/vibetyper/default.nix index c9702a5..4e6b00e 100644 --- a/pkgs/vibetyper/default.nix +++ b/pkgs/vibetyper/default.nix @@ -4,10 +4,10 @@ lib, }: let pname = "vibetyper"; - version = "1.2.2"; + version = "1.2.3"; src = fetchurl { url = "https://cdn.vibetyper.com/releases/linux/VibeTyper.AppImage"; - sha256 = "sha256-AUjrSVxyaI8Ok4pnoqaW4fGAd4GtSc0mEjDhkqdifY0="; + sha256 = "sha256-6uGXw2nxb0sGkcMDTWBlL3PuwBfVodhgqfgZT1Ncs40="; }; appimageContents = appimageTools.extractType2 {inherit pname version src;}; in