From 09d25a1899e8574f5891a0f1b94f940aa20e3cee Mon Sep 17 00:00:00 2001 From: DannyDannyDanny Date: Mon, 25 May 2026 19:17:05 +0200 Subject: [PATCH] sunken-ship: add mutagen to mulbo-server env MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The /enrich/revert endpoint shipped in 20_mulbo commit 5d4e9466 calls enrich.write_tags, which imports mutagen. The main mulbo-server's pythonEnv only had fastapi/uvicorn/python-multipart — first revert attempt 500'd with "ModuleNotFoundError: No module named 'mutagen'". (The enrich oneshot has its own env with mutagen; that's why batch enrichment worked.) Co-Authored-By: Claude Opus 4.7 (1M context) --- nixos/hosts/sunken-ship.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/hosts/sunken-ship.nix b/nixos/hosts/sunken-ship.nix index ad78f70..768a0df 100644 --- a/nixos/hosts/sunken-ship.nix +++ b/nixos/hosts/sunken-ship.nix @@ -321,6 +321,8 @@ fastapi uvicorn python-multipart + mutagen # tag writeback (enrich.write_tags); needed by the + # /enrich/revert endpoint which reuses enrich.py. ]); in { description = "Mulbo companion service (uploads, dedup, folders)";