nix: fix todoist command replacement in default.nix (#86)

Target the command list specifically ["todoist"] instead of a global
replace to avoid breaking the configuration key structure.
This commit is contained in:
Nick
2026-02-10 21:02:18 +10:00
committed by GitHub
parent 6a91c7b990
commit 170405fbb0
+1 -1
View File
@@ -68,7 +68,7 @@ python3.pkgs.buildPythonApplication {
# Use config bin instead of discord + fix todoist + fix app2unit
substituteInPlace src/caelestia/subcommands/toggle.py \
--replace-fail 'discord' ${discordBin} \
--replace-fail 'todoist' 'todoist.desktop'\
--replace-fail '["todoist"]' '["todoist.desktop"]'\
--replace-fail 'app2unit' ${app2unit}/bin/app2unit
# Use config style instead of darkly