From d92dda2649291e1225d12e13f1889eeb337ca677 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 3 Nov 2024 22:32:47 +0100 Subject: [PATCH] Initialize installer properly --- scripts/lib/action.fish | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/lib/action.fish b/scripts/lib/action.fish index 986e5775..f6144d63 100644 --- a/scripts/lib/action.fish +++ b/scripts/lib/action.fish @@ -4,7 +4,9 @@ function runAction -V dir source "$dir/hooks.fish" source "$dir/nix.fish" source "$dir/settings.fish" - echo "Preparing nix..." + echo "Installing dependencies..." + and runHook --force installValhallaDeps 'Please set up a function `installValhallaDeps` for installing `fish`, `git`, `jq`, `nix`, `sudo` and `tmux`.' + and echo "Preparing nix..." and runHook prepareNix || installNixPkgs if [ -z "$CONFIG_NAME" ] @@ -13,8 +15,6 @@ function runAction -V dir end and runHook prepareAction || true - and echo "Installing dependencies..." - and runHook --force installValhallaDeps 'Please set up a function `installValhallaDeps` for installing `fish`, `git`, `jq`, `nix`, `sudo` and `tmux`.' echo "Flagging repository as safe..." git config --system --add safe.directory (realpath "$(status dirname)/../..")