mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 00:20:58 +00:00
python311Packages.xtensor: always build tests
This commit is contained in:
@@ -31,7 +31,9 @@ toPythonModule (stdenv.mkDerivation(finalAttrs: {
|
||||
];
|
||||
doCheck = true;
|
||||
cmakeFlags = [
|
||||
"-DBUILD_TESTS=${if finalAttrs.finalPackage.doCheck then "ON" else "OFF"}"
|
||||
# Always build the tests, even if not running them, because testing whether
|
||||
# they can be built is a test in itself.
|
||||
"-DBUILD_TESTS=ON"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user