about summary refs log tree commit diff
path: root/pkgs/development/python-modules/vowpalwabbit/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/vowpalwabbit/default.nix')
-rw-r--r--pkgs/development/python-modules/vowpalwabbit/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/vowpalwabbit/default.nix b/pkgs/development/python-modules/vowpalwabbit/default.nix
index 7f4feb2ba9ad..558d47529b68 100644
--- a/pkgs/development/python-modules/vowpalwabbit/default.nix
+++ b/pkgs/development/python-modules/vowpalwabbit/default.nix
@@ -55,7 +55,7 @@ buildPythonPackage rec {
   dontUseCmakeConfigure = true;
 
   # Python ctypes.find_library uses DYLD_LIBRARY_PATH.
-  preConfigure = lib.optionalString stdenv.isDarwin ''
+  preConfigure = lib.optionalString stdenv.hostPlatform.isDarwin ''
     export DYLD_LIBRARY_PATH="${python.pkgs.boost}/lib"
   '';
 
@@ -71,6 +71,6 @@ buildPythonPackage rec {
     license = licenses.bsd3;
     maintainers = with maintainers; [ teh ];
     # Test again when new version is released
-    broken = stdenv.isLinux;
+    broken = stdenv.hostPlatform.isLinux;
   };
 }