forked from Shinonome/caelestia-cli
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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user