mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 17:10:27 +00:00
cargo-audit: add cargo audit fix by default
This commit is contained in:
parent
39cd45c608
commit
9db47b0a3a
|
@ -15,6 +15,9 @@ rustPlatform.buildRustPackage rec {
|
|||
buildInputs = [ openssl libiconv ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
# enables `cargo audit fix`
|
||||
cargoBuildFlags = [ "--features fix" ];
|
||||
|
||||
# The tests require network access which is not available in sandboxed Nix builds.
|
||||
doCheck = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue