codebase-memory-mcp: add some new lines for clarity

This commit is contained in:
Sandro Jäckel
2026-06-28 18:01:29 +02:00
parent cb868ce399
commit 24eb722bb3
@@ -14,10 +14,14 @@ stdenv.mkDerivation (finalAttrs: {
rev = "v${finalAttrs.version}";
hash = "sha256-H0l8H2JhPT1Rs0p+CJC1a1qYtnZNgLGe6n7PmM+WvE4=";
};
nativeBuildInputs = [ gnumake ];
buildInputs = [ zlib ];
strictDeps = true;
__structuredAttrs = true;
# scripts/build.sh verifies CC via `file`, which fails on Nix's compiler wrapper.
# Call make directly — mirrors upstream flake.nix.
buildPhase = ''
@@ -25,11 +29,13 @@ stdenv.mkDerivation (finalAttrs: {
make -j$NIX_BUILD_CORES -f Makefile.cbm cbm CFLAGS_EXTRA='-DCBM_VERSION=\"${finalAttrs.version}\"'
runHook postBuild
'';
installPhase = ''
runHook preInstall
install -Dm755 build/c/codebase-memory-mcp $out/bin/codebase-memory-mcp
runHook postInstall
'';
meta = {
homepage = "https://github.com/DeusData/codebase-memory-mcp";
description = "High-performance C11 MCP server that indexes codebases into a persistent knowledge graph";