From e2b39e416ed8bddc5cce828f518735fd46bee1df Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 14 Sep 2024 02:13:12 -0700 Subject: chore(nix): fix rust-src extension --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index 6ca1c75..5293f40 100644 --- a/flake.nix +++ b/flake.nix @@ -37,6 +37,9 @@ pkg-config cargo-watch ]; + + # https://discourse.nixos.org/t/rust-src-not-found-and-other-misadventures-of-developing-rust-on-nixos/11570/5?u=fuwn + RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; }; } ); -- cgit v1.2.3