Merge pull request 'fix: unset PYTHONPATH to prevent Python 3.12 ABI contamination' (#3) from hermes-agent/mcp-servers:main into main
Some checks failed
CI / Flake Check (push) Successful in 42s
CI / Build Individual Packages (academic-search-mcp-server) (push) Successful in 56s
CI / Build Individual Packages (duckduckgo-mcp-server) (push) Successful in 50s
CI / Build Individual Packages (kindly-web-search-mcp-server) (push) Successful in 1m30s
CI / Build Individual Packages (manim-mcp-server) (push) Successful in 1m2s
CI / Build Individual Packages (rust-research-mcp) (push) Failing after 48s
CI / Build Individual Packages (pdf-reader-mcp) (push) Successful in 1m3s
CI / Build Individual Packages (zotero-mcp) (push) Successful in 1m36s

Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
2026-05-28 09:34:02 +02:00

View File

@@ -178,6 +178,12 @@ python3Packages.buildPythonApplication rec {
--replace-quiet '">=2.4.5"' '""'
'';
# PYTHONPATH from the host environment (e.g., mautrix bridge injecting
# Python 3.12 site-packages) causes C extension ABI mismatches on NixOS.
# The wrapper's own sys.path has the correct closure packages, so we
# unset the external PYTHONPATH to prevent contamination.
makeWrapperArgs = [ "--unset" "PYTHONPATH" ];
dontCheckRuntimeDeps = true;
catchConflicts = false;