about summary refs log tree commit diff
path: root/pkgs/development/compilers/cmdstan/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/cmdstan/default.nix')
-rw-r--r--pkgs/development/compilers/cmdstan/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/cmdstan/default.nix b/pkgs/development/compilers/cmdstan/default.nix
index a6b6833289b7..5199d457f4df 100644
--- a/pkgs/development/compilers/cmdstan/default.nix
+++ b/pkgs/development/compilers/cmdstan/default.nix
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
 
   makeFlags = [
     "build"
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     "arch=${stdenv.hostPlatform.darwinArch}"
   ];