fix(haivemind): clear blank Textual Select
Some checks failed
CI / check (push) Has been cancelled

Textual 8 treats Select.BLANK as False, causing ConfigScreen to crash.
This commit is contained in:
2026-08-20 14:37:26 +03:00
parent b8cb8908e7
commit e827a10680
2 changed files with 10 additions and 1 deletions

View File

@@ -24,7 +24,15 @@ python3Packages.buildPythonApplication rec {
textual
];
patches = [ ./fix-chat-log-race.patch ];
patches = [
./fix-chat-log-race.patch
];
postPatch = ''
substituteInPlace haivemind_tui.py \
--replace-fail "sel.value = Select.BLANK" "sel.clear()" \
--replace-fail "v is Select.BLANK" "v is Select.NULL"
'';
doCheck = false;
pythonImportsCheck = [