diff options
Diffstat (limited to 'bootstrap/config_setup')
-rwxr-xr-x | bootstrap/config_setup/config_setup.sh | 7 | ||||
-rw-r--r-- | bootstrap/config_setup/default.nix | 4 |
2 files changed, 5 insertions, 6 deletions
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;} |