chore: update n8n, vibetyper

This commit is contained in:
m3tm3re
2026-04-19 18:11:43 +02:00
parent 54fa93574b
commit edae9ba3c9
5 changed files with 21 additions and 11 deletions

View File

@@ -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

View File

@@ -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