about summary refs log tree commit diff
path: root/pkgs/by-name/sp/spla/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/sp/spla/package.nix')
-rw-r--r--pkgs/by-name/sp/spla/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/sp/spla/package.nix b/pkgs/by-name/sp/spla/package.nix
index eccf87258ace..2e07da1cdb02 100644
--- a/pkgs/by-name/sp/spla/package.nix
+++ b/pkgs/by-name/sp/spla/package.nix
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
   ++ lib.optionals (gpuBackend == "rocm") [
     rocmPackages.clr
     rocmPackages.rocblas
-  ] ++ lib.optional stdenv.isDarwin llvmPackages.openmp
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin llvmPackages.openmp
   ;
 
   cmakeFlags = [