mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-19 00:38:54 +00:00
Add clippy to flake
This commit is contained in:
parent
17e59e7135
commit
1a6039aa94
1 changed files with 5 additions and 12 deletions
17
flake.nix
17
flake.nix
|
@ -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: {
|
||||
|
|
Loading…
Add table
Reference in a new issue