python3Packages.scikit-learn: hack-fix missing libstdc++

gfortran doesn't include the library now, perhaps temporarily.
This commit is contained in:
Vladimír Čunát 2023-04-08 11:24:46 +02:00
parent 75e19b98bb
commit 46f29d4bd6
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -55,6 +55,9 @@ buildPythonPackage rec {
export SKLEARN_BUILD_PARALLEL=$NIX_BUILD_CORES
'';
# TODO: a proper fix? See around PR #225220
NIX_LDFLAGS = if stdenv.cc.isGNU then "-L${stdenv.cc.cc.lib}/lib" else null;
doCheck = !stdenv.isAarch64;
disabledTests = [