mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
inxi: run {pre,post}Install hooks
This commit is contained in:
@@ -80,11 +80,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
buildInputs = [ perl ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
installBin inxi
|
||||
wrapProgram $out/bin/inxi \
|
||||
--set PERL5LIB "${perlPackages.makePerlPath (with perlPackages; [ CpanelJSONXS ])}" \
|
||||
${prefixPath programs}
|
||||
installManPage inxi.1
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
outputs = [
|
||||
|
||||
Reference in New Issue
Block a user