about summary refs log tree commit diff
path: root/pkgs/by-name/co/costa/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/co/costa/package.nix')
-rw-r--r--pkgs/by-name/co/costa/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/co/costa/package.nix b/pkgs/by-name/co/costa/package.nix
index 3dacce655055..fcc644edadf4 100644
--- a/pkgs/by-name/co/costa/package.nix
+++ b/pkgs/by-name/co/costa/package.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ cmake ];
 
-  buildInputs = [ scalapack ] ++ lib.optional stdenv.isDarwin llvmPackages.openmp;
+  buildInputs = [ scalapack ] ++ lib.optional stdenv.hostPlatform.isDarwin llvmPackages.openmp;
 
   propagatedBuildInputs = [ mpi ];