summaryrefslogtreecommitdiff
path: root/pkgs/applications/science/machine-learning
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/science/machine-learning')
-rw-r--r--pkgs/applications/science/machine-learning/labelimg/default.nix2
-rw-r--r--pkgs/applications/science/machine-learning/starspace/default.nix5
2 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/science/machine-learning/labelimg/default.nix b/pkgs/applications/science/machine-learning/labelimg/default.nix
index 50d0aa6f9d1d..620ccfb084ef 100644
--- a/pkgs/applications/science/machine-learning/labelimg/default.nix
+++ b/pkgs/applications/science/machine-learning/labelimg/default.nix
@@ -15,7 +15,7 @@
propagatedBuildInputs = with python3Packages; [
pyqt5
lxml
- sip
+ sip_4
];
preBuild = ''
make qt5py3
diff --git a/pkgs/applications/science/machine-learning/starspace/default.nix b/pkgs/applications/science/machine-learning/starspace/default.nix
index b511b4ea42e2..d5a6cb796a71 100644
--- a/pkgs/applications/science/machine-learning/starspace/default.nix
+++ b/pkgs/applications/science/machine-learning/starspace/default.nix
@@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
buildInputs = [ boost165 ];
+ makeFlags = [
+ "CXX=${stdenv.cc.targetPrefix}c++"
+ "BOOST_DIR=${boost165.dev}/include"
+ ];
+
installPhase = ''
mkdir -p $out/bin
mv starspace $out/bin