pwninit: Add elfutils as dependency
This commit is contained in:
parent
bf01ec00a0
commit
e926b13cd7
1 changed files with 7 additions and 1 deletions
|
@ -3,6 +3,8 @@
|
|||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, openssl
|
||||
, elfutils
|
||||
, makeBinaryWrapper
|
||||
, pkg-config
|
||||
, xz
|
||||
, Security
|
||||
|
@ -20,7 +22,11 @@ rustPlatform.buildRustPackage rec {
|
|||
};
|
||||
|
||||
buildInputs = [ openssl xz ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
nativeBuildInputs = [ pkg-config makeBinaryWrapper ];
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/pwninit \
|
||||
--prefix PATH : "${lib.getBin elfutils}/bin"
|
||||
'';
|
||||
doCheck = false; # there are no tests to run
|
||||
|
||||
cargoSha256 = "sha256-LPypmFeF9NZOX1ogpIqc++Pun7pInKzpxYiGUvSUcso=";
|
||||
|
|
Loading…
Reference in a new issue