about summary refs log tree commit diff stats
path: root/hm/soispha/conf/taskwarrior/hooks/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hm/soispha/conf/taskwarrior/hooks/default.nix7
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