Loading
clippy: use the right rustc when cross compiling
When cross compiling, buildPackages.cargo uses a rustc that can build for both the build and host platforms. This was not true of buildPackages.clippy, so it was not possible to use clippy for a cross target. Now it is. I've modified clippy.nix to use rustc from rustPlatform, so we only have to add a single override in default.nix.