Merge pull request #146664 from smancill/ZHF-masscan
masscan: fix build on darwin
This commit is contained in:
commit
c2fc381a95
1 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,11 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-mnGC/moQANloR5ODwRjzJzBa55OEZ9QU+9WpAHxQE/g=";
|
sha256 = "sha256-mnGC/moQANloR5ODwRjzJzBa55OEZ9QU+9WpAHxQE/g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||||
|
# Fix broken install command
|
||||||
|
substituteInPlace Makefile --replace "-pm755" "-pDm755"
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper installShellFiles ];
|
nativeBuildInputs = [ makeWrapper installShellFiles ];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
|
|
Loading…
Reference in a new issue