about summary refs log tree commit diff
path: root/pkgs/development/python-modules/llvmlite/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/llvmlite/default.nix')
-rw-r--r--pkgs/development/python-modules/llvmlite/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/llvmlite/default.nix b/pkgs/development/python-modules/llvmlite/default.nix
index 9d76e64fde35..19941cd4b4a3 100644
--- a/pkgs/development/python-modules/llvmlite/default.nix
+++ b/pkgs/development/python-modules/llvmlite/default.nix
@@ -48,7 +48,7 @@ buildPythonPackage rec {
     cd $out
   '';
 
-  __impureHostDeps = lib.optionals stdenv.isDarwin [ "/usr/lib/libm.dylib" ];
+  __impureHostDeps = lib.optionals stdenv.hostPlatform.isDarwin [ "/usr/lib/libm.dylib" ];
 
   passthru = lib.optionalAttrs (!withStaticLLVM) { inherit llvm; };