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