aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/install
diff options
context:
space:
mode:
Diffstat (limited to '')
-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")";
}