ares/rust/shell.nix

24 lines
486 B
Nix
Raw Normal View History

{ sources ? import ./nix/sources.nix,
pkgs ? import sources.nixpkgs {
overlays = [ (import "${sources.fenix}/overlay.nix") (import ./nix/overlay.nix) ];
}
}:
2022-07-16 05:02:51 +03:00
pkgs.mkShell {
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
packages = with pkgs; [
(fenix.stable.withComponents [
"cargo"
2023-03-15 01:24:51 +03:00
"clippy"
"rustc"
"rustfmt"
"rust-src"
])
cargo-watch
2023-08-31 08:25:20 +03:00
gdb
urcrypt
pkg-config
2023-11-20 18:57:47 +03:00
autoconf-archive
llvmPackages.clang
];
2022-07-16 05:02:51 +03:00
}