codebase-memory-mcp: add some new lines for clarity
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user