fix clippy in the nix dev environment (#211)
This commit is contained in:
parent
9e00f8f154
commit
1df54767c2
2 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
# Add rust nightly to pkgs
|
# Add rust nightly to pkgs
|
||||||
pkgs = nixpkgs.legacyPackages.${system} // { inherit (fenix.packages.${system}.latest) cargo rustc rust-src; };
|
pkgs = nixpkgs.legacyPackages.${system} // { inherit (fenix.packages.${system}.latest) cargo rustc rust-src clippy-preview rustfmt-preview; };
|
||||||
|
|
||||||
naersk-lib = (naersk.lib."${system}".override {
|
naersk-lib = (naersk.lib."${system}".override {
|
||||||
cargo = pkgs.cargo;
|
cargo = pkgs.cargo;
|
||||||
|
|
|
@ -20,8 +20,8 @@ pkgs.mkShell {
|
||||||
gcc
|
gcc
|
||||||
gtk3
|
gtk3
|
||||||
pkg-config
|
pkg-config
|
||||||
rustfmt
|
rustfmt-preview
|
||||||
clippy
|
clippy-preview
|
||||||
deno
|
deno
|
||||||
mdbook
|
mdbook
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Reference in a new issue