Merge pull request #140442 from buckley310/exploitdb

authored by

Sandro and committed by
GitHub
e4e7266d bec3a643

+6 -4
+6 -4
pkgs/tools/security/exploitdb/default.nix
··· 1 - {stdenv, lib, fetchFromGitHub }: 1 + { stdenv, lib, fetchFromGitHub, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "exploitdb"; ··· 11 11 sha256 = "sha256-gUjFFxzkHHhNMDAgFmmIAuEACSCn1YXuauvjGAkrK6k="; 12 12 }; 13 13 14 + nativeBuildInputs = [ makeWrapper ]; 15 + 14 16 installPhase = '' 15 17 runHook preInstall 16 - mkdir -p $out/bin 17 - cp --recursive ./* $out/bin 18 - cp ./.searchsploit_rc $out/bin 18 + mkdir -p $out/bin $out/share 19 + cp --recursive . $out/share/exploitdb 20 + makeWrapper $out/share/exploitdb/searchsploit $out/bin/searchsploit 19 21 runHook postInstall 20 22 ''; 21 23