diff options
author | Soispha <soispha@vhack.eu> | 2023-10-01 20:17:53 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-10-01 20:34:15 +0200 |
commit | 7f4c7f9bda73851ec556ffef313588f6c773b218 (patch) | |
tree | 68bbc9396519b13a0521cf4b0b78dfffab5ff8c2 /hm/soispha/conf/taskwarrior/hooks/default.nix | |
parent | chore(revert): "fix(hm/conf/taskwarrior): Add 'total_active_time' to next rep... (diff) | |
download | nixos-config-7f4c7f9bda73851ec556ffef313588f6c773b218.zip |
fix(hm/conf/taskwarrior/hooks): Check in every hook the started tasks
Diffstat (limited to 'hm/soispha/conf/taskwarrior/hooks/default.nix')
-rw-r--r-- | hm/soispha/conf/taskwarrior/hooks/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/hm/soispha/conf/taskwarrior/hooks/default.nix b/hm/soispha/conf/taskwarrior/hooks/default.nix index 8fc6d9ff..66af5b3b 100644 --- a/hm/soispha/conf/taskwarrior/hooks/default.nix +++ b/hm/soispha/conf/taskwarrior/hooks/default.nix @@ -20,7 +20,11 @@ name = "track_timewarrior.taskwarrior-hook"; propagatedBuildInputs = [ pkgs.timewarrior - pkgs.python3 + pkgs.taskwarrior + (pkgs.python3.withPackages (pythonPackages: + with pythonPackages; [ + taskw + ])) ]; dontUnpack = true; installPhase = "install -Dm755 ${./scripts/on-modify_track-timewarrior.py} $out/bin/bin"; @@ -28,6 +32,7 @@ track_total_active_time = pkgs.stdenv.mkDerivation { name = "track_total_active_time.taskwarrior-hook"; propagatedBuildInputs = [ + pkgs.taskwarrior (pkgs.python3.withPackages (pythonPackages: with pythonPackages; [ taskw |