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 New Issue
Block a user