Skip to content

Commit

Permalink
chore: add protobuf to flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
thevaibhav-dixit committed Apr 25, 2024
1 parent 3354cde commit 46d8c6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[advisories]
ignore = ["RUSTSEC-2020-0071", "RUSTSEC-2023-0052", "RUSTSEC-2023-0071", "RUSTSEC-2023-0074"]
ignore = ["RUSTSEC-2023-0071"]
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@
};
rustVersion = pkgs.pkgsBuildHost.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
rustToolchain = rustVersion.override {
extensions = ["rust-analyzer" "rust-src"];
extensions = ["rust-analyzer" "rust-src" "clippy"];
};
nativeBuildInputs = with pkgs;
[
rustToolchain
protobuf
]
++ lib.optionals pkgs.stdenv.isDarwin [
darwin.apple_sdk.frameworks.SystemConfiguration
Expand Down

0 comments on commit 46d8c6b

Please sign in to comment.