summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rw-r--r--configs/hermes.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/configs/hermes.nix b/configs/hermes.nix
index a4e5b4e..0f3a79c 100644
--- a/configs/hermes.nix
+++ b/configs/hermes.nix
@@ -31,7 +31,13 @@ let
_type = "flake";
outPath = pkgs.path;
inherit (pkgs) lib;
- legacyPackages.${pkgs.stdenv.hostPlatform.system} = pkgs;
+ legacyPackages.${pkgs.stdenv.hostPlatform.system} = pkgs.extend (_: prev: {
+ # For nixos-26.05: its fetchPnpmDeps overrides nodejs-slim in a pnpm
+ # >= 11, but hermes-agent's pnpm 12 is a plain attrset with that.
+ fetchPnpmDeps = args: prev.fetchPnpmDeps (args // {
+ pnpm = args.pnpm // { override = attrs: args.pnpm // attrs; };
+ });
+ });
};
pyproject-nix = callFlake (input "pyproject-nix") { inherit nixpkgs; };
uv2nix = callFlake (input "uv2nix") { inherit nixpkgs pyproject-nix; };