gnatPackages.gnatprove: run pre/post hooks
This commit is contained in:
parent
ec4f5e3330
commit
5316b98e2f
@ -109,14 +109,18 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
make setup
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
make install-all
|
||||
cp -a ./install/. $out
|
||||
mkdir $out/share/gpr
|
||||
ln -s $out/lib/gnat/* $out/share/gpr/
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user