Merge pull request #146664 from smancill/ZHF-masscan

masscan: fix build on darwin
This commit is contained in:
Domen Kožar
2021-11-20 14:44:53 +03:00
committed by GitHub
+5
View File
@@ -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 = [