lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

cargo-auditable-cargo-wrapper: don't wrap if cargo-auditable is meta.broken (#250615)

Recent changes to `cargo-auditable-cargo-wrapper` and `librsvg`
caused it to ignore the user's decision to opt out of `cargo-audit`
functionality, partially because `librsvg` does not use
`buildRustPackage`.

This commit restores the single-point-of-opt-out from this mis-named
functionality: `cargo-auditable.meta.broken`.

Co-authored-by: figsoda <figsoda@pm.me>

authored by

Adam Joseph
figsoda
and committed by
GitHub
bac515fa 4b0e375d

+3
+3
pkgs/development/compilers/rust/cargo-auditable-cargo-wrapper.nix
··· 1 1 { lib, runCommand, makeBinaryWrapper, rust-audit-info, cargo, cargo-auditable }: 2 2 3 + if cargo-auditable.meta.broken then 4 + cargo 5 + else 3 6 runCommand "auditable-${cargo.name}" { 4 7 nativeBuildInputs = [ makeBinaryWrapper ]; 5 8