From b442b0e35ef6b181abff033bbcf810f55e214bff Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 23 Apr 2024 11:58:34 +0300 Subject: [PATCH 1/2] devShells.full: add rust-analyzer --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index 06c74220..f8840c5b 100644 --- a/flake.nix +++ b/flake.nix @@ -76,6 +76,7 @@ # import the full shell using `nix develop .#full` full = shellWithPackages (with pkgs; [ rustfmt + rust-analyzer clang mold # ---- extra packages for dev tasks ---- -- 2.45.2 From a6e4b96ca970de18950c4e7d5f06d6ad58555a21 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 23 Apr 2024 11:58:44 +0300 Subject: [PATCH 2/2] shell.nix: expose devShellFull This allows accessing devShells.full from shell.nix. --- shell.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/shell.nix b/shell.nix index 0fa02b66..7236fdcb 100644 --- a/shell.nix +++ b/shell.nix @@ -11,6 +11,7 @@ in { # --- Dev shell inherited from flake.nix --- devShell = devShells.default; + devShellFull = devShells.full; # --- Continuous integration shell --- # The shell used for all CI jobs (along with devShell) -- 2.45.2