vowpalwabbit: fix build

This commit is contained in:
Vikram Narayanan 2021-11-27 15:39:22 -08:00
parent 9c191ebcdf
commit 9c431b8569

@ -10,7 +10,11 @@
, pygments
, numpy
, scipy
, scikit-learn }:
, scikit-learn
, spdlog
, fmt
, rapidjson
}:
buildPythonPackage rec {
pname = "vowpalwabbit";
@ -31,8 +35,15 @@ buildPythonPackage rec {
pygments
python.pkgs.boost
zlib.dev
spdlog
fmt
rapidjson
];
# As we disable configure via cmake, pass explicit global options to enable
# spdlog and fmt packages
setupPyGlobalFlags = [ "--cmake-options=\"-DSPDLOG_SYS_DEP=ON;-DFMT_SYS_DEP=ON\"" ];
propagatedBuildInputs = [
numpy
scikit-learn