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