From 12665e711d61a08f313b62f3fbaf6c13ce0de2a1 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 28 May 2023 18:32:17 +0200 Subject: Fix(treewide): Update to new shell library version --- home-manager/wms/river/default.nix | 4 ++-- home-manager/wms/river/init | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'home-manager/wms') diff --git a/home-manager/wms/river/default.nix b/home-manager/wms/river/default.nix index 752d4c79..77cb5eba 100644 --- a/home-manager/wms/river/default.nix +++ b/home-manager/wms/river/default.nix @@ -41,9 +41,9 @@ }; in { xdg.configFile."river/init".source = - sysLib.makeShellScriptWithLibraryAndKeepPath { + sysLib.writeShellScriptWithLibraryAndKeepPath { name = "river_init"; - script = init_scr; + src = init_scr; dependencies = builtins.attrValues { river_init_lesser = river_init_lesser.packages.${system}.default; inherit diff --git a/home-manager/wms/river/init b/home-manager/wms/river/init index c74a73fe..59afa68a 100755 --- a/home-manager/wms/river/init +++ b/home-manager/wms/river/init @@ -1,7 +1,7 @@ #!/usr/bin/env dash -# shellcheck disable=SC2086 + # shellcheck source=/dev/null -. %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH err_fail() { if ! "$@";then -- cgit 1.4.1