Add clippy to flake

This commit is contained in:
Natsu Kagami 2023-10-22 17:33:20 +02:00
parent 17e59e7135
commit 1a6039aa94
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -32,22 +32,15 @@
# `nix develop`
devShell = pkgs.mkShell
{
buildInputs =
nixpkgs.lib.optionals pkgs.stdenv.isDarwin
(with pkgs; [
libiconv
darwin.apple_sdk.frameworks.Security
])
++ (with pkgs; [
openssl
cargo
rustc
rustfmt
]);
inputsFrom = [ packages.youmubot ];
buildInputs = with pkgs; [ rustc rustfmt clippy ];
nativeBuildInputs = nixpkgs.lib.optionals pkgs.stdenv.isLinux (with pkgs; [
pkg-config
]);
RUST_SRC_PATH = pkgs.rustPlatform.rustLibSrc;
};
}) // {
overlays.default = final: prev: {