Nix build of UI package fails due to stale npmDepHash

Open Beginner friendly
#3,191 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Domain
build-system

Research direction

Start by locating the Nix expression for .#codebase-memory-mcp-ui and find where the UI package's npmDepHash is set. Run nix build .#codebase-memory-mcp-ui to reproduce the reported hash mismatch, then update the hash to match the dependency output. Done when the build exits successfully.

Written by the indexing model from the issue text.

Description

bug ux/behavior
Version

codebase-memory-mcp dev (on main @ 9467326e181537a6d5ded206638a391f4f088ca0)

Platform

Linux (x64)

Install channel

Built from source

Binary variant

ui

What happened, and what did you expect?

The nix build for codebase-memory-mcp.

Reproduction
  1. N/A
  2. nix build .#codebase-memory-mcp-ui
  3. Observed output:
error: hash mismatch in fixed-output derivation '/nix/store/b9rx4appz730zqasf51naqwz8xaxcrqf-codebase-memory-graph-ui-0.1.0-npm-deps.drv':
         specified: sha256-P1JVo+GFr+Gsq88dnn9OsedZqrTaj3DDGbej+nHbp4U=
            got:    sha256-xTTcRqodgxO3lB7NhxEkQTfHxNbvg5yBGuo7nPO3HlE=
error: Cannot build '/nix/store/20jfj8r35kfky3rr07bzsqkgp8a9732r-codebase-memory-graph-ui-0.1.0.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/wb10pgi0vpvxiify5zrd5m4djhp7d4w3-codebase-memory-graph-ui-0.1.0
error: Cannot build '/nix/store/j815gvrmymm9g7d90a8p7hfhb153x37y-codebase-memory-mcp-ui-0.12.1.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/dz1lv5xzb2dr8q9a35050f9d8f38zk4a-codebase-memory-mcp-ui-0.12.1

Expected no output, and command to exit with return code 0.

Logs

Diagnostics trajectory (memory / performance / leak issues)

Project scale (if relevant)

No response

Confirmations
  • I searched existing issues and this is not a duplicate.
  • My reproduction uses shareable code (a dummy snippet or a public OSS repository), not proprietary code.
Dominant language
C
Stars
45.8k
Forks
3.8k
Avg merge
2d 18h
Merged PRs (30d)
108

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DeusData/codebase-memory-mcp

All issues in DeusData/codebase-memory-mcp

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.