rustPlatform.buildRustPackage: fix auditable option when cargo-auditable is not provided to makeRustPlatform

This commit is contained in:
figsoda 2023-04-13 10:12:52 -04:00 committed by Yt
parent d6481fa812
commit a1663fbdf6

View file

@ -1,8 +1,8 @@
{ buildPackages, callPackage, stdenv, runCommand }@prev:
{ buildPackages, callPackage, cargo-auditable, stdenv, runCommand }@prev:
{ rustc
, cargo
, cargo-auditable ? null
, cargo-auditable ? prev.cargo-auditable
, stdenv ? prev.stdenv
, ...
}: