flake.nix: add rust-analyzer to devShells.full, expose devShells.full in shell.nix #816

Merged
lx merged 2 commits from flokli/garage:shell-fixes into main 2024-04-23 18:54:26 +00:00
2 changed files with 2 additions and 0 deletions

View file

@ -76,6 +76,7 @@
# import the full shell using `nix develop .#full` # import the full shell using `nix develop .#full`
full = shellWithPackages (with pkgs; [ full = shellWithPackages (with pkgs; [
rustfmt rustfmt
rust-analyzer
clang clang
mold mold
# ---- extra packages for dev tasks ---- # ---- extra packages for dev tasks ----

View file

@ -11,6 +11,7 @@ in
{ {
# --- Dev shell inherited from flake.nix --- # --- Dev shell inherited from flake.nix ---
devShell = devShells.default; devShell = devShells.default;
devShellFull = devShells.full;
# --- Continuous integration shell --- # --- Continuous integration shell ---
# The shell used for all CI jobs (along with devShell) # The shell used for all CI jobs (along with devShell)