masscan: fix build

This commit is contained in:
Daiderd Jordan 2018-03-21 21:42:06 +01:00
parent 8920d1efb1
commit 38323015e2
No known key found for this signature in database
GPG Key ID: D02435D05B810C96
2 changed files with 9 additions and 3 deletions

View File

@ -11,9 +11,13 @@ stdenv.mkDerivation rec {
sha256 = "0mjvwh4i0ncsa3ywavw2s55v5bfv7pyga028c8m8xfash9764wwf";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
makeFlags = [ "PREFIX=$(out)" "CC=cc" "-j" ];
makeFlags = [ "PREFIX=$(out)" "GITVER=${version}" "CC=cc" ];
preInstall = ''
mkdir -p $out/bin
'';
postInstall = ''
mkdir -p $out/share/man/man8

View File

@ -1298,7 +1298,9 @@ with pkgs;
mathics = pythonPackages.mathics;
masscan = callPackage ../tools/security/masscan { };
masscan = callPackage ../tools/security/masscan {
stdenv = gccStdenv;
};
massren = callPackage ../tools/misc/massren { };