Skip to content

BUG: Nix build broken #1211

@endoze

Description

@endoze

Describe the bug

Building this project with Nix currently fails for three reasons:

  1. The dependency hash in flake.nix is out of sync with the project's Go dependencies, causing the build to fail due to a hash mismatch.
  2. The scard dependency now requires CGO, which is disabled in flake.nix.
  3. The scard dependency has system-level dependencies that are not included in the Nix build inputs.

To reproduce

  • Clone the project
  • Have nix installed/available locally
  • nix build

Expected behavior

The project should output a result symlink into the nix store containing the resulting matcha binary.

Screenshots

No response

Matcha version

No response

Go version

No response

OS

macOS 26

Terminal

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingciCI / build pipeline

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions