diff --git a/.dotter/machines/fedora.toml b/.dotter/machines/fedora.toml index 368f1da..291e7c8 100644 --- a/.dotter/machines/fedora.toml +++ b/.dotter/machines/fedora.toml @@ -41,20 +41,26 @@ cli = [ dev = [ "gcc", "gcc-c++", + "just" "nodejs", "openssl", "openssl-devel", "tmux", "tree-sitter-cli", ] +[dev.variables.cargo.packages] +dev = [ + "cocogitto" +] + [zsh.variables.packages] -zssh = [ +zsh = [ "zsh" ] -[rust.variables] -cargo.packages = [ +[rust.variables.cargo.packages] +rust = [ "yazi-fm", "yazi-cli", ] diff --git a/.dotter/pre_deploy.sh b/.dotter/pre_deploy.sh index 0778ecf..92715f8 100644 --- a/.dotter/pre_deploy.sh +++ b/.dotter/pre_deploy.sh @@ -72,7 +72,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-mod {{#if (and dotter.packages.rust (ne (len cargo.packages) 0)) }} {{ header "Installing crates" }} -cargo install --locked {{# each cargo.packages }} "{{ this }}" {{ /each }} +cargo install --locked {{# each (flatten_table cargo.packages) }} "{{ this }}" {{ /each }} {{ /if }}