Skip to content

Commit

Permalink
use toolchain's clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
enricozb committed Apr 3, 2024
1 parent 73537a2 commit caf6a2b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
toolchain = fenix.packages.${system}.fromToolchainFile {
rust-toolchain = fenix.packages.${system}.fromToolchainFile {
file = ./rust-toolchain.toml;
# to recompute the hash, replace with `pkgs.lib.fakeSha256`
sha256 = "sha256-hBzihtLpwbCyL5AgwKj0sUbJXRir18utWgqUZHGsbFs=";
};
in {
devShells.default =
pkgs.mkShell { packages = [ toolchain pkgs.clippy ]; };
devShells.default = pkgs.mkShell { packages = [ rust-toolchain ]; };
});
}

0 comments on commit caf6a2b

Please sign in to comment.