Files
radicle-git/shell.nix
T
Fintan Halpenny bc06ee0773 nix: update to rust-1.72.0
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
2023-08-30 16:16:29 +01:00

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
];
}