use rust stuff in the dev shell
parent
7633bfd18b
commit
d81bec489c
11
flake.nix
11
flake.nix
|
@ -33,6 +33,15 @@
|
|||
defaultApp = apps.similar-sort;
|
||||
|
||||
# `nix develop`
|
||||
devShell = pkgs.mkShell { nativeBuildInputs = [ pkgs.go ]; };
|
||||
devShell = pkgs.mkShell {
|
||||
nativeBuildInputs = [
|
||||
pkgs.cargo
|
||||
pkgs.cargo-edit
|
||||
pkgs.cargo-watch
|
||||
pkgs.rustPackages.clippy
|
||||
pkgs.rustc
|
||||
pkgs.rustfmt
|
||||
];
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
Reference in New Issue