From 6cb74a26b10088c8c2d9c72076d3d25f72a163f7 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 4 Apr 2025 18:14:29 +0200 Subject: fix(treewide): Migrate to taskwarrior version 3 --- modules/by-name/ti/timewarrior/module.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/by-name/ti/timewarrior/module.nix') diff --git a/modules/by-name/ti/timewarrior/module.nix b/modules/by-name/ti/timewarrior/module.nix index d6b4dc32..d262fbe6 100644 --- a/modules/by-name/ti/timewarrior/module.nix +++ b/modules/by-name/ti/timewarrior/module.nix @@ -13,7 +13,7 @@ ]; buildInputs = [ pkgs.timewarrior - pkgs.taskwarrior + pkgs.taskwarrior3 # TODO: Use a `taskw` package, that actually supports newer python variants <2024-07-13> (pkgs.python311.withPackages (pythonPackages: with pythonPackages; [ @@ -24,7 +24,7 @@ installPhase = '' install -Dm755 ${./taskwarirror_hooks/on-modify_track-timewarrior.py} $out/bin/bin wrapProgram $out/bin/bin \ - --prefix PATH : ${lib.makeBinPath [pkgs.taskwarrior pkgs.timewarrior]} + --prefix PATH : ${lib.makeBinPath [pkgs.taskwarrior3 pkgs.timewarrior]} ''; meta.mainProgram = "bin"; @@ -35,7 +35,7 @@ pkgs.makeWrapper ]; buildInputs = [ - pkgs.taskwarrior + pkgs.taskwarrior3 # TODO: Use a `taskw` package, that actually supports newer python variants <2024-07-13> (pkgs.python311.withPackages (pythonPackages: with pythonPackages; [ @@ -46,7 +46,7 @@ installPhase = '' install -Dm755 ${./taskwarirror_hooks/on-modify_track-total-active-time.py} $out/bin/bin wrapProgram $out/bin/bin \ - --prefix PATH : ${lib.makeBinPath [pkgs.taskwarrior]} + --prefix PATH : ${lib.makeBinPath [pkgs.taskwarrior3]} ''; meta.mainProgram = "bin"; -- cgit 1.4.1