Skip to content

ha-mcp: fix fastmcp usage - #578535

Merged
dotlambda merged 1 commit into
NixOS:masterfrom
SuperSandro2000:fix-ha-mcp
Oct 24, 2026
Merged

dotlambda merged 1 commit into
NixOS:masterfrom
SuperSandro2000:fix-ha-mcp

Conversation

@SuperSandro2000

Copy link
Copy Markdown
Member

Things done

@nixpkgs-ci
nixpkgs-ci Bot requested a review from JamieMagee October 24, 2026 22:11
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Oct 24, 2026
@dotlambda

Copy link
Copy Markdown
Member

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 578535
Commit: 4c86e4922b193c31245f40d0293c99a11cc56c20


x86_64-linux

✅ 1 package built:
  • ha-mcp

@dotlambda dotlambda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved automatically following the successful run of nixpkgs-review.

@dotlambda
dotlambda added this pull request to the merge queue Oct 24, 2026
Merged via the queue into NixOS:master with commit 77d3a67 Oct 24, 2026
28 checks passed
@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Oct 24, 2026
OscarMarshall added a commit to OscarMarshall/dotfiles that referenced this pull request Oct 25, 2026
Bumps nixpkgs (e513db7 -> 674a202) so nixpkgs' Immich (3.3.5) matches the
base of Noodle Gallery's latest stable release, v5.9.0; the version guard
now pins 3.3.5. The fork fixed its pet-recognition tests, so the skip is
gone.

The bump also brings mcp 2.x, under which fastmcp-slim is marked broken,
breaking mcp-nixos; build it against mcp_1, as nixpkgs did for ha-mcp
(NixOS/nixpkgs#578535).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@attilaolah attilaolah mentioned this pull request Oct 25, 2026
6 of 13 tasks
iedame added a commit to iedame/nixos-configs that referenced this pull request Oct 27, 2026
nixpkgs moved python3Packages.mcp to 2.x, and marked fastmcp-slim
broken because fastmcp doesn't support it yet, so mcp-nixos no longer
evaluates and the hosts with Claude Code (Kawagoe, Aurora, Akihabara)
fail. Override its Python scope with mcp_1, as nixpkgs did for ha-mcp
(NixOS/nixpkgs#578535), until mcp-nixos evaluates again.

Assisted-by: Claude Code (Claude Opus 5.5)
iedame added a commit to iedame/nixos-configs that referenced this pull request Oct 27, 2026
* chore: flake update - 2026-10-27

* claude-code: build mcp-nixos against mcp 1.x, for now

nixpkgs moved python3Packages.mcp to 2.x, and marked fastmcp-slim
broken because fastmcp doesn't support it yet, so mcp-nixos no longer
evaluates and the hosts with Claude Code (Kawagoe, Aurora, Akihabara)
fail. Override its Python scope with mcp_1, as nixpkgs did for ha-mcp
(NixOS/nixpkgs#578535), until mcp-nixos evaluates again.

Assisted-by: Claude Code (Claude Opus 5.5)

* aurora: drop the NVIDIA patchelf override

nixpkgs now calls patchelf twice in the NVIDIA builder, setting the
rpath before the interpreter (NixOS/nixpkgs#576397), which fixes the
nvidia-smi crash of NixOS/nixpkgs#576412. The override's
--replace-fail pattern no longer matches, so it has to go with this
update.

Assisted-by: Claude Code (Claude Opus 5.5)

---------

Co-authored-by: nixos-configs-bot[bot] <340610392+nixos-configs-bot[bot]@users.noreply.github.com>
Co-authored-by: Rafael Ieda <[email protected]>
OscarMarshall added a commit to OscarMarshall/dotfiles that referenced this pull request Nov 7, 2026
* feat(immich): switch to Noodle Gallery

Noodle Gallery is a soft fork of Immich that is DB/media/config compatible, so keep
NixOS's services.immich and only swap the package source to open-noodle/gallery
v5.7.1 (based on Immich v3.2.4, matching nixpkgs). Machine learning follows via
cfg.package.machine-learning. Hostname and OIDC client id stay `immich` so mobile
apps and Authentik keep working; only the display label changes.

src/pnpmDeps hashes are still lib.fakeHash and need filling before deploy.

Closes #872

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(immich): fill Noodle Gallery hashes and fix its ML build

Real src/pnpmDeps hashes for open-noodle/gallery v5.7.1. The fork's ML adds a
prometheus-client dependency that nixpkgs' wrapper doesn't put on PYTHONPATH, so
add it to both; and skip four pet-recognition tests that are broken upstream
(they mock one embedding per box, but the code now drops tiny crops).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(immich): use CI's Noodle Gallery pnpmDeps hash

The local fetch (which hit npm registry timeouts during pnpm 11's
supply-chain policy check) produced a hash CI doesn't reproduce.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(immich): guard Noodle Gallery override on nixpkgs Immich version

Matches seerr.nix/oscar.nix: a nixpkgs Immich bump now fails evaluation
with a "bump the fork" message instead of building mismatched pins.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(immich): bump Noodle Gallery to v5.9.0 on nixpkgs Immich 3.3.5

Bumps nixpkgs (e513db7 -> 674a202) so nixpkgs' Immich (3.3.5) matches the
base of Noodle Gallery's latest stable release, v5.9.0; the version guard
now pins 3.3.5. The fork fixed its pet-recognition tests, so the skip is
gone.

The bump also brings mcp 2.x, under which fastmcp-slim is marked broken,
breaking mcp-nixos; build it against mcp_1, as nixpkgs did for ha-mcp
(NixOS/nixpkgs#578535).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(preservation): adapt to nixpkgs removing scripted initrd

The nixpkgs bump removes `boot.initrd.systemd.enable` (it now throws on
any read). Drop our own `enable = true`, and pin preservation to the head
of nix-community/preservation#36, which removes upstream's assertion on
that option, until it merges.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants