Summary
When gogcli is enabled as a bundled plugin alongside the gateway, home-manager-path fails with a buildEnv conflict: both gogcli-0.9.0/bin/gog and openclaw-2.0.0-beta5/bin/gog provide the same bin/gog path.
Root cause
The openclaw-gateway package bundles gog in its own bin/ output. The gogcli plugin from nix-steipete-tools also installs a standalone bin/gog. When both are added to home.packages by the Home Manager module, pkgs.buildEnv detects the conflicting subpath.
Reproduction
programs.openclaw = {
enable = true;
instances.default = { };
bundledPlugins.gogcli.enable = true;
};
pkgs.buildEnv error: two given paths contain a conflicting subpath:
/nix/store/...-gogcli-0.9.0/bin/gog and
/nix/store/...-openclaw-2.0.0-beta5/bin/gog
Environment
nix-openclaw rev d9bf224
nix-steipete-tools rev 52ca15a
- nixpkgs unstable, Home Manager standalone
- x86_64-linux (GitHub Actions)
Workaround
Disable the gogcli plugin — the gateway already provides bin/gog:
bundledPlugins.gogcli.enable = false;
Summary
When
gogcliis enabled as a bundled plugin alongside the gateway,home-manager-pathfails with abuildEnvconflict: bothgogcli-0.9.0/bin/gogandopenclaw-2.0.0-beta5/bin/gogprovide the samebin/gogpath.Root cause
The
openclaw-gatewaypackage bundlesgogin its ownbin/output. Thegogcliplugin fromnix-steipete-toolsalso installs a standalonebin/gog. When both are added tohome.packagesby the Home Manager module,pkgs.buildEnvdetects the conflicting subpath.Reproduction
Environment
nix-openclawrevd9bf224nix-steipete-toolsrev52ca15aWorkaround
Disable the
gogcliplugin — the gateway already providesbin/gog: