mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
18 lines
519 B
Nix
18 lines
519 B
Nix
{ rust-bin, mkShell }:
|
|
mkShell {
|
|
strictDeps = true;
|
|
|
|
packages = [
|
|
# Derivations in `rust-stable` provide the toolchain,
|
|
# must be listed first to take precedence over nightly.
|
|
(rust-bin.stable.latest.minimal.override {
|
|
extensions = [ "rust-src" "rust-docs" "clippy" ];
|
|
})
|
|
|
|
# Use rustfmt, and other tools that require nightly features.
|
|
(rust-bin.selectLatestNightlyWith (toolchain:
|
|
toolchain.minimal.override {
|
|
extensions = [ "rustfmt" "rust-analyzer" ];
|
|
}))
|
|
];
|
|
}
|