From 5c4ac7fe78d6647e24e1e6c22bef52f3f7981de6 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Wed, 9 Jun 2021 09:41:30 -0400 Subject: [PATCH] rust-src-path Signed-off-by: Christine Dodrill --- shell.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/shell.nix b/shell.nix index 63735c1..fc14d24 100644 --- a/shell.nix +++ b/shell.nix @@ -2,4 +2,5 @@ pkgs.mkShell { buildInputs = with pkgs; [ rustc cargo rust-analyzer rustfmt pkg-config dbus ]; + RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustcSrc}"; }