Add hermes

This commit is contained in:
muon 2026-06-01 14:15:44 +00:00
parent 28bb03187d
commit 609b3384c0
9 changed files with 526 additions and 6 deletions

View file

@ -8,7 +8,7 @@
buildNpmPackage {
pname = "auth2api";
version = sources.auth2api.version;
version = "${sources.auth2api.version}-thinking3";
src = sources.auth2api.src;
nodejs = nodejs_20;
@ -17,7 +17,10 @@ buildNpmPackage {
# Patch to allow running with an empty api-keys list (unauthenticated).
# Safe because the service binds to 127.0.0.1 by default.
patches = [ ./no-auth.patch ];
patches = [
./no-auth.patch
./thinking.patch
];
# auth2api's build script is `tsc` (TypeScript compile → dist/)
# devDeps (typescript, tsx) are needed for the build; buildNpmPackage