about summary refs log tree commit diff
path: root/pkgs/tools/misc/nbench/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/nbench/default.nix')
-rw-r--r--pkgs/tools/misc/nbench/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/nbench/default.nix b/pkgs/tools/misc/nbench/default.nix
index 44beea57fbb3..b8fa6abfbada 100644
--- a/pkgs/tools/misc/nbench/default.nix
+++ b/pkgs/tools/misc/nbench/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
   prePatch = ''
     substituteInPlace nbench1.h --replace '"NNET.DAT"' "\"$out/NNET.DAT\""
     substituteInPlace sysspec.h --replace "malloc.h" "stdlib.h"
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace Makefile --replace "-static" ""
   '';