enforce noCheck when useSysroot
This commit is contained in:
parent
dec97eb3e9
commit
7c92361028
@ -105,6 +105,10 @@ let
|
|||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
|
# Tests don't currently work for `no_std`, and all custom sysroots are currently built without `std`.
|
||||||
|
# See https://os.phil-opp.com/testing/ for more information.
|
||||||
|
assert useSysroot -> !(args.doCheck or true);
|
||||||
|
|
||||||
stdenv.mkDerivation ((removeAttrs args ["depsExtraArgs"]) // {
|
stdenv.mkDerivation ((removeAttrs args ["depsExtraArgs"]) // {
|
||||||
inherit cargoDeps;
|
inherit cargoDeps;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user