nix: simplify devShell and envrc
There is no need for the ';' in the `.envrc` file. Do not run checks in devShell so that it's possible to enter the shell while code is being edited and is not compiling. Also include `cargo-nextest` so that one can test in the shell. Signed-off-by: Fintan Halpenny <Fintan Halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
parent
76c969c755
commit
4afe235a3c
|
|
@ -213,12 +213,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
devShells.default = craneLib.devShell {
|
devShells.default = craneLib.devShell {
|
||||||
# Inherit inputs from checks.
|
|
||||||
checks = self.checks.${system};
|
|
||||||
|
|
||||||
# Extra inputs can be added here; cargo and rustc are provided by default.
|
# Extra inputs can be added here; cargo and rustc are provided by default.
|
||||||
packages = [
|
packages = [
|
||||||
pkgs.cargo-watch
|
pkgs.cargo-watch
|
||||||
|
pkgs.cargo-nextest
|
||||||
pkgs.ripgrep
|
pkgs.ripgrep
|
||||||
pkgs.rust-analyzer
|
pkgs.rust-analyzer
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue