From 686f2054d2ead252bf9ca4a155334ceef501041c Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 22 Nov 2023 17:26:15 +0100 Subject: [PATCH] Add configuration for Nix Environment Selector This is a VS Code extension that I use to make rust-analyzer work with the `shell.nix` that I added in the previous commit. --- .vscode/settings.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 186d12056..c557a1507 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,5 +7,6 @@ "rust-analyzer.diagnostics.disabled": [ "mismatched-arg-count" ], - "rust-analyzer.check.command": "clippy" + "rust-analyzer.check.command": "clippy", + "nixEnvSelector.nixFile": "${workspaceRoot}/shell.nix" } \ No newline at end of file