2021-06-08 21:05:07 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
let
|
|
|
|
fenix = pkgs.fenix;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
environment.systemPackages = [
|
|
|
|
fenix.stable.defaultToolchain
|
2021-10-31 22:42:32 +01:00
|
|
|
#fenix.rust-analyzer
|
|
|
|
pkgs.rust-analyzer
|
2021-06-08 21:05:07 +02:00
|
|
|
pkgs.cargo-edit
|
|
|
|
];
|
|
|
|
environment.variables.RUST_SRC_PATH = "${fenix.stable.rust-src}/lib/rustlib/src/rust/library/";
|
|
|
|
}
|