Skip to content

peekaboo plugin enabled by default causes build failure on Linux #21

@jeanlucthumm

Description

@jeanlucthumm

Summary

Building on Linux fails because the peekaboo plugin is enabled by default (plugins.peekaboo.enable = true), but peekaboo is macOS-only. This causes nix to try building peekaboo-macos-universal.tar.gz which requires aarch64-darwin.

Error

error: Cannot build '/nix/store/...-peekaboo-macos-universal.tar.gz.drv'.
       Reason: required system or feature not available
       Required system: 'aarch64-darwin' with features {}
       Current system: 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}

Workaround

programs.clawdbot = {
  enable = true;
  firstParty.peekaboo.enable = false;
};

Suggested Fix

Either:

  1. Default firstParty.enable to false on Linux (default = pkgs.stdenv.isDarwin)
  2. Or default to false universally since it's a specialized tool

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions