about summary refs log tree commit diff stats
path: root/hm/soispha/conf/taskwarrior/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hm/soispha/conf/taskwarrior/hooks')
-rw-r--r--hm/soispha/conf/taskwarrior/hooks/default.nix4
-rwxr-xr-xhm/soispha/conf/taskwarrior/hooks/scripts/on-add_enforce-policies.sh2
-rwxr-xr-xhm/soispha/conf/taskwarrior/hooks/scripts/on-add_sync-git-repo.sh2
-rwxr-xr-xhm/soispha/conf/taskwarrior/hooks/scripts/on-modify_sync-git-repo.sh2
4 files changed, 5 insertions, 5 deletions
diff --git a/hm/soispha/conf/taskwarrior/hooks/default.nix b/hm/soispha/conf/taskwarrior/hooks/default.nix
index a01b1c17..4bac0ca7 100644
--- a/hm/soispha/conf/taskwarrior/hooks/default.nix
+++ b/hm/soispha/conf/taskwarrior/hooks/default.nix
@@ -31,7 +31,7 @@
   projects_comma = builtins.concatStringsSep ", " projects;
   projects_pipe = builtins.concatStringsSep "|" projects;
 
-  enforce_policies = sysLib.writeShellScriptWithLibrary {
+  enforce_policies = sysLib.writeShellScript {
     name = "bin";
     src = ./scripts/on-add_enforce-policies.sh;
     dependencies = with pkgs; [dash jq taskwarrior gnused gnugrep];
@@ -83,7 +83,7 @@
   mkSyncGitRepo = type: {
     name = "${hookPath}/${type}_sync-git-repo";
     value = {
-      source = "${sysLib.writeShellScriptWithLibrary {
+      source = "${sysLib.writeShellScript {
         name = "bin";
         src = ./scripts + "/${type}_sync-git-repo.sh";
         dependencies = with pkgs; [dash taskwarrior git];
diff --git a/hm/soispha/conf/taskwarrior/hooks/scripts/on-add_enforce-policies.sh b/hm/soispha/conf/taskwarrior/hooks/scripts/on-add_enforce-policies.sh
index d1057509..446b4635 100755
--- a/hm/soispha/conf/taskwarrior/hooks/scripts/on-add_enforce-policies.sh
+++ b/hm/soispha/conf/taskwarrior/hooks/scripts/on-add_enforce-policies.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="1.10.2" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.9" . %SHELL_LIBRARY_PATH
 
 # override shell lib output to stdout
 eprint() {
diff --git a/hm/soispha/conf/taskwarrior/hooks/scripts/on-add_sync-git-repo.sh b/hm/soispha/conf/taskwarrior/hooks/scripts/on-add_sync-git-repo.sh
index 816e797d..a2e1ffbe 100755
--- a/hm/soispha/conf/taskwarrior/hooks/scripts/on-add_sync-git-repo.sh
+++ b/hm/soispha/conf/taskwarrior/hooks/scripts/on-add_sync-git-repo.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="1.10.2" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.9" . %SHELL_LIBRARY_PATH
 
 # override shell lib output to stdout
 eprint() {
diff --git a/hm/soispha/conf/taskwarrior/hooks/scripts/on-modify_sync-git-repo.sh b/hm/soispha/conf/taskwarrior/hooks/scripts/on-modify_sync-git-repo.sh
index ccbe39f9..019146d4 100755
--- a/hm/soispha/conf/taskwarrior/hooks/scripts/on-modify_sync-git-repo.sh
+++ b/hm/soispha/conf/taskwarrior/hooks/scripts/on-modify_sync-git-repo.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="1.10.2" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.9" . %SHELL_LIBRARY_PATH
 
 # override shell lib output to stdout
 eprint() {