GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — nix: hash mismatch for aarch64-darwin after CI simplification · Issue #11491 · anomalyco/opencode

nix: hash mismatch for aarch64-darwin after CI simplification #11491

New issue
Copy link
New issue
Copy link
Closed
#11495
Closed
nix: hash mismatch for aarch64-darwin after CI simplification#11491
#11495
Copy link
Assignees
thdxr
Labels
nix

Description

@jerome-benoit
jerome-benoit
opened on Jan 31, 2026
Issue body actions

Description

Building the nix package on aarch64-darwin fails with a hash mismatch for node_modules:

error: hash mismatch in fixed-output derivation '/nix/store/...-opencode-node_modules-1.1.48-597ae57.drv':
         specified: sha256-pWfXomWTDvG8WpWmUCwNXdbSHw6hPlqoT0Q/XuNceMc=
            got:    sha256-jGr2udrVeseioMWpIzpjYFfS1CN8GvNFwo6o92Aa5Oc=

Root cause

Commit 2fc4ab9 ("ci: simplify nix hash updates") replaced native runners with cross-compilation from a single Linux runner.

Before: Each platform had its native runner:

matrix:
  include:
    - system: aarch64-darwin
      host: macos-latest

After: All hashes computed from Linux using bun install --cpu=arm64 --os=darwin:

runs-on: blacksmith-4vcpu-ubuntu-2404
UPDATER_ATTR=".#packages.x86_64-linux.${SYSTEM}_node_modules"

The problem is that bun install with --cpu and --os flags on Linux does not produce the same output as a native bun install on macOS, resulting in different hashes.

OpenCode version

v1.1.48

Operating System

macOS (aarch64-darwin)

Activity

  1. github-actions
    assigned
    thdxr
    on Jan 31, 2026
  2. github-actions
    added
    nix
    on Jan 31, 2026
  3. github-actions commented on Jan 31, 2026

    @github-actions
    github-actionsBot
    on Jan 31, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • Nix darwin hashes unreliable from Linux runner #11408: Nix darwin hashes unreliable from Linux runner - describes the same hash mismatch problem for Darwin after switching to cross-compilation from Linux runner

    Feel free to ignore if none of these address your specific case.

  4. rekram1-node
    closed this as completedin #11495on Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @thdxr
    thdxr

Labels

nix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.