about summary refs log tree commit diff
path: root/pkgs/development/libraries/symengine/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/symengine/default.nix')
-rw-r--r--pkgs/development/libraries/symengine/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/symengine/default.nix b/pkgs/development/libraries/symengine/default.nix
index 25043bbb0265..cbdb542dbfd9 100644
--- a/pkgs/development/libraries/symengine/default.nix
+++ b/pkgs/development/libraries/symengine/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
     "-DWITH_SYMENGINE_THREAD_SAFE=yes"
     "-DWITH_MPC=yes"
     "-DBUILD_FOR_DISTRIBUTION=yes"
-  ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
+  ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [
     # error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?
     "-DBUILD_TESTS=OFF"
   ] ++ lib.optionals withShared [