diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-04 22:34:48 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-04 22:34:48 +0200 |
commit | 9e4c1d3206f59568a757915c87ad5f3f23d2e02b (patch) | |
tree | f8bc28beec8c35f22a077bdbc6c2e4801f2af5a2 /modules/by-name | |
parent | fix(modules/taskwarrior): Correctly detect if hook debug is set (diff) | |
download | nixos-config-9e4c1d3206f59568a757915c87ad5f3f23d2e02b.zip |
fix(modules/timewarrior): Fix type in `hooks` directory
Diffstat (limited to '')
-rw-r--r-- | modules/by-name/ti/timewarrior/module.nix | 4 | ||||
-rwxr-xr-x | modules/by-name/ti/timewarrior/taskwarrior_hooks/on-modify.track-timewarrior.py (renamed from modules/by-name/ti/timewarrior/taskwarirror_hooks/on-modify.track-timewarrior.py) | 0 | ||||
-rwxr-xr-x | modules/by-name/ti/timewarrior/taskwarrior_hooks/on-modify.track-total-active-time.py (renamed from modules/by-name/ti/timewarrior/taskwarirror_hooks/on-modify.track-total-active-time.py) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/modules/by-name/ti/timewarrior/module.nix b/modules/by-name/ti/timewarrior/module.nix index bb4d8e26..f33d02be 100644 --- a/modules/by-name/ti/timewarrior/module.nix +++ b/modules/by-name/ti/timewarrior/module.nix @@ -18,7 +18,7 @@ ]; dontUnpack = true; installPhase = '' - install -Dm755 ${./taskwarirror_hooks/on-modify.track-timewarrior.py} $out/bin/track-timewarrior + install -Dm755 ${./taskwarrior_hooks/on-modify.track-timewarrior.py} $out/bin/track-timewarrior wrapProgram $out/bin/track-timewarrior \ --set PATH ${lib.makeBinPath [pkgs.taskwarrior3 pkgs.timewarrior]} ''; @@ -36,7 +36,7 @@ ]; dontUnpack = true; installPhase = '' - install -Dm755 ${./taskwarirror_hooks/on-modify.track-total-active-time.py} $out/bin/track-total-active-time + install -Dm755 ${./taskwarrior_hooks/on-modify.track-total-active-time.py} $out/bin/track-total-active-time wrapProgram $out/bin/track-total-active-time \ --set PATH ${lib.makeBinPath [pkgs.taskwarrior3]} ''; diff --git a/modules/by-name/ti/timewarrior/taskwarirror_hooks/on-modify.track-timewarrior.py b/modules/by-name/ti/timewarrior/taskwarrior_hooks/on-modify.track-timewarrior.py index 0bef8bc2..0bef8bc2 100755 --- a/modules/by-name/ti/timewarrior/taskwarirror_hooks/on-modify.track-timewarrior.py +++ b/modules/by-name/ti/timewarrior/taskwarrior_hooks/on-modify.track-timewarrior.py diff --git a/modules/by-name/ti/timewarrior/taskwarirror_hooks/on-modify.track-total-active-time.py b/modules/by-name/ti/timewarrior/taskwarrior_hooks/on-modify.track-total-active-time.py index b98e02fc..b98e02fc 100755 --- a/modules/by-name/ti/timewarrior/taskwarirror_hooks/on-modify.track-total-active-time.py +++ b/modules/by-name/ti/timewarrior/taskwarrior_hooks/on-modify.track-total-active-time.py |