mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
stdenv: Fix doCheck and doInstallCheck logic
It's host != build, not host != target
This commit is contained in:
parent
133b4658df
commit
567feb3a54
@ -191,10 +191,10 @@ rec {
|
||||
outputs = outputs';
|
||||
} // lib.optionalAttrs (attrs ? doCheck) {
|
||||
# TODO(@Ericson2314): Make unconditional / resolve #33599
|
||||
doCheck = doCheck && (stdenv.hostPlatform == stdenv.targetPlatform);
|
||||
doCheck = doCheck && (stdenv.hostPlatform == stdenv.buildPlatform);
|
||||
} // lib.optionalAttrs (attrs ? doInstallCheck) {
|
||||
# TODO(@Ericson2314): Make unconditional / resolve #33599
|
||||
doInstallCheck = doInstallCheck && (stdenv.hostPlatform == stdenv.targetPlatform);
|
||||
doInstallCheck = doInstallCheck && (stdenv.hostPlatform == stdenv.buildPlatform);
|
||||
});
|
||||
|
||||
# The meta attribute is passed in the resulting attribute set,
|
||||
|
Loading…
Reference in New Issue
Block a user