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 --- bootstrap/install/default.nix | 4 ++-- bootstrap/install/install.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'bootstrap/install') 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")"; } -- cgit 1.4.1