diff options
author | Domen Kožar <domen@dev.si> | 2021-11-20 14:44:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-20 14:44:53 +0300 |
commit | c2fc381a95252e5741246b9d51d608dc9640b41e (patch) | |
tree | ff4ccde4f582fffc55224a0a39124c2a657a8f9c /pkgs/tools | |
parent | 22388fbc02ce1093d6fe273e539758a5806768d8 (diff) | |
parent | 53fa9753b7d7722e619142c1d3d83109828bae3b (diff) |
Merge pull request #146664 from smancill/ZHF-masscan
masscan: fix build on darwin
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/security/masscan/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/security/masscan/default.nix b/pkgs/tools/security/masscan/default.nix index 46bae3c20c51..b7924936d6ca 100644 --- a/pkgs/tools/security/masscan/default.nix +++ b/pkgs/tools/security/masscan/default.nix @@ -17,6 +17,11 @@ stdenv.mkDerivation rec { sha256 = "sha256-mnGC/moQANloR5ODwRjzJzBa55OEZ9QU+9WpAHxQE/g="; }; + postPatch = lib.optionalString stdenv.isDarwin '' + # Fix broken install command + substituteInPlace Makefile --replace "-pm755" "-pDm755" + ''; + nativeBuildInputs = [ makeWrapper installShellFiles ]; makeFlags = [ |