ares/rust/shell.nix
2023-09-22 13:30:51 -04:00

20 lines
343 B
Nix

{ sources ? import ./nix/sources.nix,
pkgs ? import sources.nixpkgs {
overlays = [ (import "${sources.fenix}/overlay.nix") ];
}
}:
pkgs.mkShell {
packages = with pkgs; [
(fenix.stable.withComponents [
"cargo"
"clippy"
"rustc"
"rustfmt"
"rust-src"
])
cargo-watch
gdb
secp256k1
];
}