[web] Domi UI: @domi/ui as workspace:* (no Gitea fetch), allowJs instead of the type shim, web.nix sources the vendored package

This commit is contained in:
2026-11-23 00:06:05 +01:00
parent 06438aa386
commit b40e2d3b8e
6 changed files with 28 additions and 37 deletions
+4 -1
View File
@@ -18,6 +18,8 @@ stdenv.mkDerivation (finalAttrs: {
../../pnpm-lock.yaml
../../apps/web
../../packages/ui
# @domi/ui, vendored from domi-design at a tag (docs/domi-ui.md): nothing is fetched from Gitea.
../../packages/domi-ui
];
};
@@ -27,7 +29,8 @@ stdenv.mkDerivation (finalAttrs: {
inherit (finalAttrs) pname version src;
pnpm = pnpm_11;
fetcherVersion = 4;
hash = "sha256-Hq6LE6Bwb1AeMSMDF0RUbCSX+mMAl8uLt9rPwV6tKBs=";
# lib.fakeHash until a machine with Nix reports the hash for this lockfile (docs/domi-ui.md).
hash = lib.fakeHash;
};
buildPhase = ''