aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-14 02:13:12 -0700
committerFuwn <[email protected]>2024-09-14 02:13:31 -0700
commite2b39e416ed8bddc5cce828f518735fd46bee1df (patch)
tree18d35f2ae8403ddcbcf350a6586abed8ea9bffde /flake.nix
parentchore(nix): use lorri (diff)
downloadlocus-e2b39e416ed8bddc5cce828f518735fd46bee1df.tar.xz
locus-e2b39e416ed8bddc5cce828f518735fd46bee1df.zip
chore(nix): fix rust-src extension
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix3
1 files changed, 3 insertions, 0 deletions
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}";
};
}
);