diff --git a/pkgs/development/compilers/rust/cargo-auditable-cargo-wrapper.nix b/pkgs/development/compilers/rust/cargo-auditable-cargo-wrapper.nix index d00ab4f496b3c..6e982aee01a33 100644 --- a/pkgs/development/compilers/rust/cargo-auditable-cargo-wrapper.nix +++ b/pkgs/development/compilers/rust/cargo-auditable-cargo-wrapper.nix @@ -1,5 +1,8 @@ { lib, runCommand, makeBinaryWrapper, rust-audit-info, cargo, cargo-auditable }: +if cargo-auditable.meta.broken then + cargo +else runCommand "auditable-${cargo.name}" { nativeBuildInputs = [ makeBinaryWrapper ];