cargo: inherit passthru.tests from rustc
This commit is contained in:
parent
9c26b06a5d
commit
45ad335d5d
1 changed files with 4 additions and 1 deletions
|
@ -12,7 +12,10 @@ rustPlatform.buildRustPackage {
|
|||
cargoVendorDir = "vendor";
|
||||
buildAndTestSubdir = "src/tools/cargo";
|
||||
|
||||
passthru.rustc = rustc;
|
||||
passthru = {
|
||||
rustc = rustc;
|
||||
inherit (rustc) tests;
|
||||
};
|
||||
|
||||
# changes hash of vendor directory otherwise
|
||||
dontUpdateAutotoolsGnuConfigScripts = true;
|
||||
|
|
Loading…
Reference in a new issue