about summary refs log tree commit diff stats
path: root/bootstrap/setup
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 /bootstrap/setup
parentFeat(hm/pkgs/scrs/update-sys): Add a way to specify to mode (diff)
downloadnixos-config-12665e711d61a08f313b62f3fbaf6c13ce0de2a1.zip
Fix(treewide): Update to new shell library version
Diffstat (limited to '')
-rw-r--r--bootstrap/setup/default.nix4
-rwxr-xr-xbootstrap/setup/setup.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/bootstrap/setup/default.nix b/bootstrap/setup/default.nix
index b32a822b..905ddd1b 100644
--- a/bootstrap/setup/default.nix
+++ b/bootstrap/setup/default.nix
@@ -6,6 +6,6 @@
 }: let
   dependencies = builtins.attrValues {inherit (pkgs) dash gawk curl git nix gnugrep nixos-install-tools coreutils libuuid;};
   name = "setup";
-  script = ./setup.sh;
+  src = ./setup.sh;
 in
-  sysLib.makeShellScriptWithLibrary {inherit dependencies name script;}
+  sysLib.writeShellScriptWithLibrary {inherit dependencies name src;}
diff --git a/bootstrap/setup/setup.sh b/bootstrap/setup/setup.sh
index d66f4739..803123e3 100755
--- a/bootstrap/setup/setup.sh
+++ b/bootstrap/setup/setup.sh
@@ -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
 msg "Select a host-config:"
 hosts=$(mktmp);
 host="";