From 95c9314232bdebbff89f81ca3ab721e230290cec Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 13 Jan 2024 11:27:01 +0100 Subject: build(treewide): Update flake and shell library --- hm/soispha/conf/taskwarrior/hooks/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hm/soispha/conf/taskwarrior/hooks/default.nix') 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]; -- cgit 1.4.1