fix(nix): legacy-peer-deps for react-ui flake build - #11870
Open
leilei3167 wants to merge 1 commit into
Open
Conversation
importNpmLock turns the same-version hono override into a file: tarball that conflicts with the direct dependency (EOVERRIDE). Pass --legacy-peer-deps so the flake build can proceed without touching package.json (open mudler#11633). Fixes mudler#11804 Signed-off-by: lei_lei <96427312+leilei3167@users.noreply.github.com>
leilei3167
force-pushed
the
fix/flake-hono-legacy-peer-deps-11804
branch
from
September 4, 2026 01:40
8ed368c to
7be1041
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Building LocalAI from the flake currently fails in the react-ui package with EOVERRIDE on hono.
Root cause is the same-version hono direct dep plus overrides entry; the nix lock importer turns the override into a store path that conflicts.
This PR only touches flake.nix: set npmFlags to legacy-peer-deps on the react-ui buildNpmPackage (same workaround the failing drv log suggests). Left package.json and bun.lock alone so we do not collide with open #11633.
Fixes #11804
cc @mudler — small flake-only path if this looks right.
Test plan