From 182e692d0ed7e311b9d0b2f2021cf00527d6b21e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 24 Mar 2024 15:30:17 +0100 Subject: [PATCH] python311Packages.scikit-learn: don't propagate library with dev dependencies --- pkgs/development/python-modules/scikit-learn/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/scikit-learn/default.nix b/pkgs/development/python-modules/scikit-learn/default.nix index 819337e3da47..239ac834c1bd 100644 --- a/pkgs/development/python-modules/scikit-learn/default.nix +++ b/pkgs/development/python-modules/scikit-learn/default.nix @@ -43,6 +43,7 @@ buildPythonPackage rec { ''; buildInputs = [ + numpy.blas pillow glibcLocales ] ++ lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ]; @@ -60,8 +61,6 @@ buildPythonPackage rec { wheel ]; - propagatedBuildInputs = [ numpy.blas ]; - dependencies = [ joblib numpy