diff options
author | figsoda <figsoda@pm.me> | 2023-03-26 20:34:07 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-03-26 22:47:06 -0400 |
commit | 201d4b7c5c106affaba32a3b0138aa81b1a8b037 (patch) | |
tree | 9540506c87c259b220da3718c0c14e3d17828c8a /pkgs/development/compilers/rust/cargo.nix | |
parent | 80563f40314a890ee0c9a4957a663dd2bc1f7585 (diff) |
rustPlatform.buildRustPackage: make auditable the default
Diffstat (limited to 'pkgs/development/compilers/rust/cargo.nix')
-rw-r--r-- | pkgs/development/compilers/rust/cargo.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/compilers/rust/cargo.nix b/pkgs/development/compilers/rust/cargo.nix index eb3dc238a9abc..b5b462978f4c3 100644 --- a/pkgs/development/compilers/rust/cargo.nix +++ b/pkgs/development/compilers/rust/cargo.nix @@ -2,10 +2,13 @@ , file, curl, pkg-config, python3, openssl, cmake, zlib , installShellFiles, makeWrapper, rustPlatform, rustc , CoreFoundation, Security -, auditable ? false # TODO: change to true when this is the default +, auditable ? true +, cargo-auditable }: -rustPlatform.buildRustPackage { +rustPlatform.buildRustPackage.override { + cargo-auditable = cargo-auditable.bootstrap; +} { pname = "cargo"; inherit (rustc) version src; |