diff options
author | Soispha <soispha@vhack.eu> | 2023-12-31 12:52:49 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-12-31 12:54:11 +0100 |
commit | 3cc639da822aaabef1942bb6ba65ded4f6c5d27f (patch) | |
tree | 8034f2dd804c81e9fc471d169e894214e017cdf3 | |
parent | fix(hm/conf/task/hooks/): Correctly wrap python hooks to add timewarrior (diff) | |
download | nixos-config-3cc639da822aaabef1942bb6ba65ded4f6c5d27f.tar.gz nixos-config-3cc639da822aaabef1942bb6ba65ded4f6c5d27f.zip |
fix(hm/conf/task/hooks/): Correctly wrap python hooks to add timewarrior
Diffstat (limited to '')
-rw-r--r-- | hm/soispha/conf/taskwarrior/hooks/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hm/soispha/conf/taskwarrior/hooks/default.nix b/hm/soispha/conf/taskwarrior/hooks/default.nix index 429db108..a01b1c17 100644 --- a/hm/soispha/conf/taskwarrior/hooks/default.nix +++ b/hm/soispha/conf/taskwarrior/hooks/default.nix @@ -54,8 +54,8 @@ ])) ]; dontUnpack = true; - installPhase = "install -Dm755 ${./scripts/on-modify_track-timewarrior.py} $out/bin/bin"; - postInstall = '' + installPhase = '' + install -Dm755 ${./scripts/on-modify_track-timewarrior.py} $out/bin/bin wrapProgram $out/bin/bin \ --prefix PATH : ${lib.makeBinPath [pkgs.taskwarrior pkgs.timewarrior]} ''; @@ -73,8 +73,8 @@ ])) ]; dontUnpack = true; - installPhase = "install -Dm755 ${./scripts/on-modify_track-total-active-time.py} $out/bin/bin"; - postInstall = '' + installPhase = '' + install -Dm755 ${./scripts/on-modify_track-total-active-time.py} $out/bin/bin wrapProgram $out/bin/bin \ --prefix PATH : ${lib.makeBinPath [pkgs.taskwarrior]} ''; |