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)/../..")