summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Barroso <dbarrosop@dravetech.com>2022-12-10 13:57:26 +0100
committerDavid Barroso <dbarrosop@dravetech.com>2022-12-10 13:57:26 +0100
commit1ce671528e40eab7f5d09f6579537a297858d284 (patch)
treea4b554bb20d437b8c70f1fbd79ee45c9f3cd4235
parent3d693634b5dbb284a4c4712b45215005287bb92c (diff)
add missing RUST_SRC_PATH
-rw-r--r--flake.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 4cfe7d9..3fabe0f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -46,6 +46,8 @@
in
{
devShell = pkgs.mkShell {
+ RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
+
buildInputs = with pkgs; [
cargo
rustc