about summary refs log tree commit diff
path: root/pkgs/development/libraries/spglib/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/spglib/default.nix')
-rw-r--r--pkgs/development/libraries/spglib/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/spglib/default.nix b/pkgs/development/libraries/spglib/default.nix
index 1d3f8b489f21..75634072b8ec 100644
--- a/pkgs/development/libraries/spglib/default.nix
+++ b/pkgs/development/libraries/spglib/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ cmake gfortran gtest ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [ openmp ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ openmp ];
 
   cmakeFlags = [ "-DSPGLIB_WITH_Fortran=On" ];