about summary refs log tree commit diff
path: root/pkgs/by-name/sp/spfft/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/sp/spfft/package.nix')
-rw-r--r--pkgs/by-name/sp/spfft/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/sp/spfft/package.nix b/pkgs/by-name/sp/spfft/package.nix
index 65e98b92b4f2..9423978ed24e 100644
--- a/pkgs/by-name/sp/spfft/package.nix
+++ b/pkgs/by-name/sp/spfft/package.nix
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
     rocmPackages.clr
     rocmPackages.rocfft
     rocmPackages.hipfft
-  ] ++ lib.optional stdenv.isDarwin llvmPackages.openmp
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin llvmPackages.openmp
   ;
 
   cmakeFlags = [