about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/cpu/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/cpu/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/cpu/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/cpu/default.nix b/pkgs/development/ocaml-modules/cpu/default.nix
index a61a597b2093..ee16765c1bcf 100644
--- a/pkgs/development/ocaml-modules/cpu/default.nix
+++ b/pkgs/development/ocaml-modules/cpu/default.nix
@@ -20,7 +20,7 @@ buildDunePackage rec {
 
   nativeBuildInputs = [ autoconf ];
 
-  hardeningDisable = lib.optional stdenv.isDarwin "strictoverflow";
+  hardeningDisable = lib.optional stdenv.hostPlatform.isDarwin "strictoverflow";
 
   meta = with lib; {
     inherit (src.meta) homepage;