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/config_setup/config_setup.sh | 7 +++---- bootstrap/config_setup/default.nix | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'bootstrap/config_setup') diff --git a/bootstrap/config_setup/config_setup.sh b/bootstrap/config_setup/config_setup.sh index c856c517..15b41a8d 100755 --- a/bootstrap/config_setup/config_setup.sh +++ b/bootstrap/config_setup/config_setup.sh @@ -1,8 +1,7 @@ #! /usr/bin/env dash -# shellcheck disable=SC2086 + # shellcheck source=/dev/null -. %SHELL_LIBRARY_PATH -export LIB_TEMP_DIR_FOR_SCRIPT="$(mktemp -d)" +SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH # clone packer.nvim to the needed dir, for the nvim install to work @@ -10,4 +9,4 @@ git clone --depth 1 https://github.com/wbthomason/packer.nvim /mnt/srv/home/sois nvim -c 'PackerSync' -c 'qall' -u '/mnt/srv/home/soispha/.config/nvim/init.lua' --headless -if [ -d "$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "$LIB_TEMP_DIR_FOR_SCRIPT"; fi +# vim: ft=sh diff --git a/bootstrap/config_setup/default.nix b/bootstrap/config_setup/default.nix index 20de9542..4cae8424 100644 --- a/bootstrap/config_setup/default.nix +++ b/bootstrap/config_setup/default.nix @@ -6,6 +6,6 @@ }: let dependencies = builtins.attrValues {inherit (pkgs) git neovim;}; name = "config_setup"; - script = ./config_setup.sh; + src = ./config_setup.sh; in - sysLib.makeShellScriptWithLibrary {inherit dependencies name script;} + sysLib.writeShellScriptWithLibrary {inherit dependencies name src;} -- cgit 1.4.1