Skip to content

Commit

Permalink
python3Packages.scikit-learn: hack-fix missing libstdc++
Browse files Browse the repository at this point in the history
gfortran doesn't include the library now, perhaps temporarily.
  • Loading branch information
vcunat committed Apr 8, 2023
1 parent 75e19b9 commit 46f29d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/python-modules/scikit-learn/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 46f29d4

Please sign in to comment.