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 ];