chore: flake update, pgbouncer SSL fix

This commit is contained in:
2026-08-20 12:36:16 +02:00
parent f06c9164e8
commit 7595e7c9c8
5 changed files with 156 additions and 58 deletions
+12 -1
View File
@@ -36,6 +36,17 @@
};
};
# Flatten llm-agents packages into top-level pkgs namespace.
# Keep plain derivations only. llm-agents exports `buildNpmPackage` as an
# emptyDirectory derivation ("buildNpmPackage-guard") carrying a __functor
# that forwards to its OWN nixpkgs pin's builder. Flattening it would shadow
# nixpkgs' pkgs.buildNpmPackage and break unrelated packages — e.g.
# vaultwarden-webvault (npmDepsFetcherVersion = 3) failed with
# "fetchNpmDeps: fetcher version must be one of: 1, 2." because llm-agents'
# pinned fetchNpmDeps only allows 1 and 2. Real packages never have a
# __functor, so this filter drops such traps generically.
mkLlmAgentsOverlay = system: _final: _prev:
inputs.llm-agents.packages.${system} or {};
inputs.nixpkgs.lib.filterAttrs (
_: v: inputs.nixpkgs.lib.isDerivation v && !v ? __functor
)
(inputs.llm-agents.packages.${system} or {});
}