Skip to content

Cannot build on macOS when using nativeMessagingHost #273

@shinishiho

Description

@shinishiho
  • I've updated the flake input to the latest version
  • I tried using nixpkgs-unstable to ensure compatibility with the latest Firefox version
  • I already searched the zen-browser's github issues

Describe the bug

Building on macOS yields an error if programs.zen-browser.nativeMessagingHosts has something:

error: output '/nix/store/b0qyxdx77pbqiiqa0p50bpjwixm1ms3r-zen-twilight-1.20t' is not allowed to refer to the following paths:
         /nix/store/vl936sd1vj8s008akm3gibkgyqk30qhz-clang-wrapper-21.1.8

I'm not sure if it's specific to passff-host, but I don't use any other messaging host to test.
Standalone Home Manager and NixOS are normal.

To Reproduce

programs.zen-browser.nativeMessagingHosts = with pkgs; [
    passff-host
];

System Information

nixpkgs branch/version: unstable

Operating system:

  • NixOS
  • macOS
  • Other Linux distro → specify:

Zen browser

  • Version: 1.20t

  • Variant:

    • beta
    • twilight
    • twilight official
  • NixOS config: (link or snippet)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions