fix: mcp version mismatch python
This commit is contained in:
@@ -18,6 +18,18 @@
|
||||
vivaldi = prev.vivaldi.override {
|
||||
commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
|
||||
};
|
||||
# m3ta-home's microsoft-graph-mcp-server.nix is written against
|
||||
# nixos-unstable, where python3Packages.mcp is 2.x and the 1.x line lives
|
||||
# on as `mcp_1`. nixos-26.05 has no `mcp_1` because its `mcp` still IS
|
||||
# 1.x, so alias it. Self-disables once nixpkgs ships a real `mcp_1`.
|
||||
pythonPackagesExtensions =
|
||||
prev.pythonPackagesExtensions
|
||||
++ [
|
||||
(_pyFinal: pyPrev:
|
||||
if pyPrev ? mcp_1
|
||||
then {}
|
||||
else {mcp_1 = pyPrev.mcp;})
|
||||
];
|
||||
# example = prev.example.overrideAttrs (oldAttrs: rec {
|
||||
# ...
|
||||
# });
|
||||
|
||||
Reference in New Issue
Block a user