rustPlatform.buildRustPackage: make it not auditable by default

This commit is contained in:
figsoda 2022-12-05 18:43:06 -05:00
parent 8a041c63c0
commit 0e5137f267
3 changed files with 6 additions and 3 deletions

View file

@ -43,7 +43,8 @@
, buildFeatures ? [ ]
, checkFeatures ? buildFeatures
, useNextest ? false
, auditable ? true
, auditable ? false # TODO: change to true
, depsExtraArgs ? {}
# Toggles whether a custom sysroot is created when the target is a .json file.

View file

@ -2,7 +2,7 @@
, file, curl, pkg-config, python3, openssl, cmake, zlib
, installShellFiles, makeWrapper, cacert, rustPlatform, rustc
, libiconv, CoreFoundation, Security
, auditable ? true
, auditable ? false # TODO: change to true when this is the default
}:
rustPlatform.buildRustPackage {

View file

@ -35,4 +35,6 @@ let
});
in
rustPlatform.buildRustPackage.override { cargo-auditable = bootstrap; } args
rustPlatform.buildRustPackage.override { cargo-auditable = bootstrap; } (args // {
auditable = true; # TODO: remove when this is the default
})