mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
enforce noCheck when useSysroot
This commit is contained in:
parent
dec97eb3e9
commit
7c92361028
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user