about summary refs log tree commit diff stats
path: root/home-manager/wms
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-05-28 18:32:17 +0200
committerSoispha <soispha@vhack.eu>2023-05-28 22:02:47 +0200
commit12665e711d61a08f313b62f3fbaf6c13ce0de2a1 (patch)
tree490060609b76244a97c9abc9a9b316a7b2fb4a17 /home-manager/wms
parentFeat(hm/pkgs/scrs/update-sys): Add a way to specify to mode (diff)
downloadnixos-config-12665e711d61a08f313b62f3fbaf6c13ce0de2a1.tar.gz
nixos-config-12665e711d61a08f313b62f3fbaf6c13ce0de2a1.zip
Fix(treewide): Update to new shell library version
Diffstat (limited to '')
-rw-r--r--home-manager/wms/river/default.nix4
-rwxr-xr-xhome-manager/wms/river/init4
2 files changed, 4 insertions, 4 deletions
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