nix: automatic lockfile fixing to keep main building with nix

This commit is contained in:
Ari Lotter 2026-04-20 13:53:05 -04:00
parent ab37132e59
commit 6f079933cb
7 changed files with 396 additions and 73 deletions

View file

@ -8,10 +8,14 @@
inherit (inputs) uv2nix pyproject-nix pyproject-build-systems;
};
hermesTui = pkgs.callPackage ./tui.nix {
hermesNpmLib = pkgs.callPackage ./lib.nix {
npm-lockfile-fix = inputs'.npm-lockfile-fix.packages.default;
};
hermesTui = pkgs.callPackage ./tui.nix {
inherit hermesNpmLib;
};
# Import bundled skills, excluding runtime caches
bundledSkills = pkgs.lib.cleanSourceWith {
src = ../skills;
@ -19,7 +23,7 @@
};
hermesWeb = pkgs.callPackage ./web.nix {
npm-lockfile-fix = inputs'.npm-lockfile-fix.packages.default;
inherit hermesNpmLib;
};
runtimeDeps = with pkgs; [
@ -111,6 +115,10 @@
tui = hermesTui;
web = hermesWeb;
fix-lockfiles = hermesNpmLib.mkFixLockfiles {
packages = [ hermesTui hermesWeb ];
};
};
};
}