mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-10-25 06:10:32 +08:00
Update the toolchain to rust-1.72.0. This brought with it a new clippy check for needless '#'s for string literals. However, this is a false positive and is being tracked here[[0]]. [0]: https://github.com/rust-lang/rust-clippy/issues/11402 Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett
24 lines
491 B
Nix
24 lines
491 B
Nix
{ sources ? import ./nix/sources.nix
|
|
, pkgs ? import sources.nixpkgs {
|
|
overlays = [ (import sources.rust-overlay) ];
|
|
}
|
|
}:
|
|
let
|
|
stable = pkgs.rust-bin.stable.latest.default;
|
|
rust-overlay = stable.override {
|
|
extensions = [ "rust-src" "rust-analysis" ];
|
|
};
|
|
devault = (pkgs.callPackage ./default.nix {});
|
|
in
|
|
with pkgs;
|
|
mkShell {
|
|
name = "development";
|
|
buildInputs = devault.buildInputs ++ [
|
|
clang
|
|
lld
|
|
|
|
ripgrep
|
|
rust-analyzer
|
|
];
|
|
}
|