From 1df54767c23456147f374329f8f52c5f95fb22b1 Mon Sep 17 00:00:00 2001 From: legendofmiracles <30902201+legendofmiracles@users.noreply.github.com> Date: Thu, 15 Jul 2021 13:38:48 +0200 Subject: [PATCH] fix clippy in the nix dev environment (#211) --- flake.nix | 2 +- shell.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 4dbf99b..be6011d 100644 --- a/flake.nix +++ b/flake.nix @@ -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; diff --git a/shell.nix b/shell.nix index 83f522a..359212f 100644 --- a/shell.nix +++ b/shell.nix @@ -20,8 +20,8 @@ pkgs.mkShell { gcc gtk3 pkg-config - rustfmt - clippy + rustfmt-preview + clippy-preview deno mdbook ];