devos/profiles/rust/default.nix

13 lines
277 B
Nix
Raw Normal View History

2021-06-08 21:05:07 +02:00
{ pkgs, ... }:
{
2022-03-21 20:21:19 +01:00
environment.systemPackages = with pkgs; [
2021-11-23 01:04:57 +01:00
fenix.latest.toolchain
2022-03-21 20:21:19 +01:00
rust-analyzer
cargo-edit
cargo-crev
cargo-watch
2022-04-06 17:12:28 +02:00
cargo-fuzz
2021-06-08 21:05:07 +02:00
];
2022-03-21 20:21:19 +01:00
environment.variables.RUST_SRC_PATH = "${pkgs.fenix.latest.rust-src}/lib/rustlib/src/rust/library/";
2021-06-08 21:05:07 +02:00
}