about summary refs log tree commit diff
path: root/pkgs/development/python-modules/fasttext-predict/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/fasttext-predict/default.nix')
-rw-r--r--pkgs/development/python-modules/fasttext-predict/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/fasttext-predict/default.nix b/pkgs/development/python-modules/fasttext-predict/default.nix
index 6bfddc120c6f..bdd19640609e 100644
--- a/pkgs/development/python-modules/fasttext-predict/default.nix
+++ b/pkgs/development/python-modules/fasttext-predict/default.nix
@@ -16,7 +16,7 @@ buildPythonPackage rec {
     hash = "sha256-rMbf09pCHvVYI9g/aq74+PcsuU2LezpmDz4b/w9vRyc=";
   };
 
-  postPatch = lib.optionalString stdenv.isDarwin ''
+  postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace setup.py \
       --replace-fail "-flto" ""
   '';