2021-06-08 21:05:07 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
let
|
|
|
|
fenix = pkgs.fenix;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
environment.systemPackages = [
|
2021-11-23 01:04:57 +01:00
|
|
|
fenix.latest.toolchain
|
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
|
|
|
|
];
|
2021-11-23 01:04:57 +01:00
|
|
|
environment.variables.RUST_SRC_PATH = "${fenix.latest.rust-src}/lib/rustlib/src/rust/library/";
|
2021-06-08 21:05:07 +02:00
|
|
|
}
|