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 | |
| parent | Merge pull request #146735 from r-burns/ndk-bundle (diff) | |
| parent | masscan: fix build on darwin (diff) | |
| download | nixpkgs-c2fc381a95252e5741246b9d51d608dc9640b41e.tar.gz | |
Merge pull request #146664 from smancill/ZHF-masscan
masscan: fix build on darwin
| -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 = [ |
