cargo: fix tests
eval
Without the change `cargo` tests fail the eval as: $ nix build --no-link -f. cargo.tests error: attribute 'tests' missing at pkgs/development/compilers/rust/cargo.nix:22:15: 21| 22| passthru = { | ^ 23| rustc = rustc; The test teried to pull `tests` attribute from `rustc`, which is a wrapper without `tests`. Pull tests from unwrapped rust instead.
This commit is contained in:
parent
017bc47e74
commit
a3957236ce
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ rustPlatform.buildRustPackage.override {
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
rustc = rustc;
|
rustc = rustc;
|
||||||
inherit (rustc) tests;
|
inherit (rustc.unwrapped) tests;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Upstream rustc still assumes that musl = static[1]. The fix for
|
# Upstream rustc still assumes that musl = static[1]. The fix for
|
||||||
|
|
Loading…
Reference in a new issue