Skip to content

gogcli plugin conflicts with gateway bin/gog in buildEnv #88

Description

@jerome-benoit

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;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions