enforce noCheck when useSysroot

This commit is contained in:
Aaron Janse 2020-10-17 00:47:14 -07:00
parent dec97eb3e9
commit 7c92361028

View File

@ -105,6 +105,10 @@ let
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"]) // {
inherit cargoDeps;