First party summarize and oracle plugins conflict #22

Open
opened 2026-02-15 17:04:35 -05:00 by yindo · 1 comment
Owner

Originally created by @Sammyalhashe on GitHub (Feb 1, 2026).

error: Cannot build '/nix/store/xgx0sn5f649xcyyxb183y1m1fpjiacl8-home-manager-path.drv'.
Reason: builder failed with exit code 25.
Output paths:
/nix/store/jd3lqjwc61lm826i8wj5yfykya4h6x2j-home-manager-path
Last 5 log lines:
> pkgs.buildEnv error: two given paths contain a conflicting subpath:
> /nix/store/ay7njh3qzf34bkggzqvc5qzvflqq0dmj-summarize-0.10.0/libexec/node_modules/osc-progress/dist/types/index.d.ts' and > /nix/store/p7g3limxh6rg5nfapq8l6lsdbh7zjcq6-oracle-0.8.5/libexec/node_modules/osc-progress/dist/types/index.d.ts'
> hint: this may be caused by two different versions of the same package in buildEnv's paths parameter

> hint: pkgs.nix-diff can be used to compare derivations
For full logs, run:
nix log /nix/store/xgx0sn5f649xcyyxb183y1m1fpjiacl8-home-manager-path.drv
error: Cannot build '/nix/store/hrw32pirjqzpgsv7fxjn0lxkrf0vdbly-home-manager-generation.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/a0s48vq1x391pvdbxhnxlx25ypxw4nyk-home-manager-generation
error: Cannot build '/nix/store/y8q79x5baqr2jw3h79rpfj2vx6vwp636-user-environment.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/937ry26g0qmhhxp54q3p081x2nzk32fm-user-environment
error: Cannot build '/nix/store/3yrb3spjky1dca9m0shspnixzamxj6sw-etc.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/f9g7b8gfyzksrx098jnbwg3f4pw9kybi-etc
error: Cannot build '/nix/store/5x978vszaralqwacprdh91xwk8sw831s-nixos-system-filestore-26.05.20260108.3497aa5.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/s700zzj7hbhhbd90fasc6705km8y53dv-nixos-system-filestore-26.05.20260108.3497aa5

You can see in the above that when adding both:

{
    firstParty = {
        oracle = true;
        summarize = true;
    };
}

Then there is a conflict for them both installing `osc-progress I think.

Also, for plugins declared with source, it seems that the only way to incorporate them is to do an impure build. Am I right about this?

Originally created by @Sammyalhashe on GitHub (Feb 1, 2026). error: Cannot build '/nix/store/xgx0sn5f649xcyyxb183y1m1fpjiacl8-home-manager-path.drv'. Reason: builder failed with exit code 25. Output paths: /nix/store/jd3lqjwc61lm826i8wj5yfykya4h6x2j-home-manager-path **Last 5 log lines: > pkgs.buildEnv error: two given paths contain a conflicting subpath: > `/nix/store/ay7njh3qzf34bkggzqvc5qzvflqq0dmj-summarize-0.10.0/libexec/node_modules/osc-progress/dist/types/index.d.ts' and > `/nix/store/p7g3limxh6rg5nfapq8l6lsdbh7zjcq6-oracle-0.8.5/libexec/node_modules/osc-progress/dist/types/index.d.ts' > hint: this may be caused by two different versions of the same package in buildEnv's `paths` parameter** > hint: `pkgs.nix-diff` can be used to compare derivations For full logs, run: nix log /nix/store/xgx0sn5f649xcyyxb183y1m1fpjiacl8-home-manager-path.drv error: Cannot build '/nix/store/hrw32pirjqzpgsv7fxjn0lxkrf0vdbly-home-manager-generation.drv'. Reason: 1 dependency failed. Output paths: /nix/store/a0s48vq1x391pvdbxhnxlx25ypxw4nyk-home-manager-generation error: Cannot build '/nix/store/y8q79x5baqr2jw3h79rpfj2vx6vwp636-user-environment.drv'. Reason: 1 dependency failed. Output paths: /nix/store/937ry26g0qmhhxp54q3p081x2nzk32fm-user-environment error: Cannot build '/nix/store/3yrb3spjky1dca9m0shspnixzamxj6sw-etc.drv'. Reason: 1 dependency failed. Output paths: /nix/store/f9g7b8gfyzksrx098jnbwg3f4pw9kybi-etc error: Cannot build '/nix/store/5x978vszaralqwacprdh91xwk8sw831s-nixos-system-filestore-26.05.20260108.3497aa5.drv'. Reason: 1 dependency failed. Output paths: /nix/store/s700zzj7hbhhbd90fasc6705km8y53dv-nixos-system-filestore-26.05.20260108.3497aa5 You can see in the above that when adding both: ```nix { firstParty = { oracle = true; summarize = true; }; } ``` Then there is a conflict for them both installing `osc-progress I think. Also, for plugins declared with `source`, it seems that the only way to incorporate them is to do an impure build. Am I right about this?
Author
Owner

@tsln1998 commented on GitHub (Feb 6, 2026):

> pkgs.buildEnv error: two given paths contain a conflicting subpath:
 >   `/nix/store/ay7njh3qzf34bkggzqvc5qzvflqq0dmj-summarize-0.10.0/libexec/node_modules/.pnpm-workspace-state-v1.json' and
 >   `/nix/store/p7g3limxh6rg5nfapq8l6lsdbh7zjcq6-oracle-0.8.5/libexec/node_modules/.pnpm-workspace-state-v1.json'
 > hint: this may be caused by two different versions of the same package in buildEnv's `paths` parameter
 > hint: `pkgs.nix-diff` can be used to compare derivations
 For full logs, run:

same problem

@tsln1998 commented on GitHub (Feb 6, 2026): ``` > pkgs.buildEnv error: two given paths contain a conflicting subpath: > `/nix/store/ay7njh3qzf34bkggzqvc5qzvflqq0dmj-summarize-0.10.0/libexec/node_modules/.pnpm-workspace-state-v1.json' and > `/nix/store/p7g3limxh6rg5nfapq8l6lsdbh7zjcq6-oracle-0.8.5/libexec/node_modules/.pnpm-workspace-state-v1.json' > hint: this may be caused by two different versions of the same package in buildEnv's `paths` parameter > hint: `pkgs.nix-diff` can be used to compare derivations For full logs, run: ``` same problem
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/nix-openclaw#22