fix clippy in the nix dev environment (#211)

This commit is contained in:
legendofmiracles 2021-07-15 13:38:48 +02:00 committed by GitHub
parent 9e00f8f154
commit 1df54767c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@
flake-utils.lib.eachDefaultSystem (system:
let
# 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 {
cargo = pkgs.cargo;

View file

@ -20,8 +20,8 @@ pkgs.mkShell {
gcc
gtk3
pkg-config
rustfmt
clippy
rustfmt-preview
clippy-preview
deno
mdbook
];