lixPackageSets.*.lix: unbreak cross builds by disabling install checks

Due to an issue [1] in the Python splices uncovered by the setuptools-rust
cross compilation fix [2], some dependencies will otherwise fail to build.
Unfortunately this actually means losing the tests when the build platform
can execute host binaries (such as in `pkgsStatic`), but there's not a lot
one can do about this without fixing the Python splicing.

[1] https://github.com/NixOS/nixpkgs/issues/476822
[2] https://github.com/NixOS/nixpkgs/pull/467817
This commit is contained in:
Alois Wohlschlager
2026-01-04 12:03:50 +01:00
parent 97b8213725
commit aba5e58b7d
@@ -346,7 +346,8 @@ stdenv.mkDerivation (finalAttrs: {
rapidcheck
];
doInstallCheck = true;
# Python splices are broken (https://github.com/NixOS/nixpkgs/issues/476822), causing build failure in `buildPackages.python3Packages.bcrypt`.
doInstallCheck = stdenv.buildPlatform == stdenv.hostPlatform;
mesonInstallCheckFlags = [
"--suite=installcheck"
"--print-errorlogs"