aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-11-02 16:17:11 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-11-02 16:17:11 +0100
commitbf67935c54f5f66f4cab4ceb58c1b5831b9421b0 (patch)
treec578ddead0551a585dc1bee321687e3ff39e43a2 /flake.nix
parenta65f5b25894faa9802d274beb394f40062c65bae (diff)
downloadaerogramme-bf67935c54f5f66f4cab4ceb58c1b5831b9421b0.tar.gz
aerogramme-bf67935c54f5f66f4cab4ceb58c1b5831b9421b0.zip
add rust analyzer to the shell
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 8304326..4bea061 100644
--- a/flake.nix
+++ b/flake.nix
@@ -58,10 +58,12 @@
buildInputs = [
cargo2nix.packages.x86_64-linux.default
fenix.packages.x86_64-linux.minimal.toolchain
+ fenix.packages.x86_64-linux.rust-analyzer
];
shellHook = ''
echo "AEROGRAME DEVELOPMENT SHELL ${fenix.packages.x86_64-linux.minimal.rustc}"
export RUST_SRC_PATH="${fenix.packages.x86_64-linux.latest.rust-src}/lib/rustlib/src/rust/library"
+ export RUST_ANALYZER_INTERNALS_DO_NOT_USE='this is unstable'
'';
};