diff options
author | Soispha <soispha@vhack.eu> | 2024-01-13 11:27:01 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-01-13 11:27:01 +0100 |
commit | 95c9314232bdebbff89f81ca3ab721e230290cec (patch) | |
tree | 7068a64c856ad5f655b4b12501c43b8a4711edcc /hm/soispha/conf/taskwarrior | |
parent | chore(version): v1.25.0 (diff) | |
download | nixos-config-95c9314232bdebbff89f81ca3ab721e230290cec.zip |
build(treewide): Update flake and shell library
Diffstat (limited to '')
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() { |