about summary refs log tree commit diff
path: root/pkgs/tools/security/thc-hydra/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/thc-hydra/default.nix')
-rw-r--r--pkgs/tools/security/thc-hydra/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/thc-hydra/default.nix b/pkgs/tools/security/thc-hydra/default.nix
index aa0e9fd8fb43..412691d2b940 100644
--- a/pkgs/tools/security/thc-hydra/default.nix
+++ b/pkgs/tools/security/thc-hydra/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
       --replace-fail "-lcurses" "-lncurses"
   '';
 
-  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-undef-prefix";
+  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-Wno-undef-prefix";
 
   nativeBuildInputs = lib.optionals withGUI [ pkg-config makeWrapper ];