-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
When enabling multiple steipete-tools plugins together (e.g. oracle and summarize) in a home-manager environment, the build fails with a pkgs.buildEnv conflict:
pkgs.buildEnv error: two given paths contain a conflicting subpath:
`/nix/store/...-summarize-0.10.0/libexec/node_modules/.pnpm-workspace-state-v1.json' and
`/nix/store/...-oracle-0.8.5/libexec/node_modules/.pnpm-workspace-state-v1.json'
Each tool's derivation outputs $out/libexec/node_modules/.pnpm-workspace-state-v1.json, which is a pnpm build artifact not needed at runtime. When nix-openclaw adds multiple tools to the home-manager path, buildEnv can't merge them.
Possible fixes:
-
Remove .pnpm-workspace-state-v1.json from $out in the build (e.g.
rm -f $out/libexec/node_modules/.pnpm-workspace state-v1.jsonin postInstall) -
Or namespace each tool's output under
$out/libexec/<tool-name>/to avoid collisions
Metadata
Metadata
Assignees
Labels
No labels