about summary refs log tree commit diff stats
path: root/bootstrap/install
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/install
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 'bootstrap/install')
-rw-r--r--bootstrap/install/default.nix4
-rwxr-xr-xbootstrap/install/install.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/bootstrap/install/default.nix b/bootstrap/install/default.nix
index 054c28ec..4f520c92 100644
--- a/bootstrap/install/default.nix
+++ b/bootstrap/install/default.nix
@@ -6,6 +6,6 @@
 }: let
   dependencies = builtins.attrValues {inherit (pkgs) jq dash curl gawk btrfs-progs coreutils libuuid gptfdisk dosfstools toybox nix git;};
   name = "install";
-  script = ./install.sh;
+  src = ./install.sh;
 in
-  sysLib.makeShellScriptWithLibrary {inherit dependencies name script;}
+  sysLib.writeShellScriptWithLibrary {inherit dependencies name src;}
diff --git a/bootstrap/install/install.sh b/bootstrap/install/install.sh
index 8417448e..5e8c4eca 100755
--- a/bootstrap/install/install.sh
+++ b/bootstrap/install/install.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
 bsc() {
     msg2 "$(btrfs subvolume create "$1" || die "Creating of subvol $1 failed")";
 }