about summary refs log tree commit diff
path: root/pkgs/tools/security/masscan/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/masscan/default.nix')
-rw-r--r--pkgs/tools/security/masscan/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/masscan/default.nix b/pkgs/tools/security/masscan/default.nix
index a6aa990c1d82..9606fe0f1156 100644
--- a/pkgs/tools/security/masscan/default.nix
+++ b/pkgs/tools/security/masscan/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
     })
   ];
 
-  postPatch = lib.optionalString stdenv.isDarwin ''
+  postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
     # Fix broken install command
     substituteInPlace Makefile --replace "-pm755" "-pDm755"
   '';