devos/profiles/rust/default.nix

13 lines
276 B
Nix
Raw Permalink 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
cargo-edit
cargo-crev
cargo-watch
2022-04-06 17:12:28 +02:00
cargo-fuzz
2022-07-11 13:55:29 +02:00
cargo-expand
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
}