Merge pull request #210880 from urandom2/wordpress3
wordpress: add {pre,post}Install hooks
This commit is contained in:
commit
7f6757e4f2
1 changed files with 4 additions and 0 deletions
|
@ -10,8 +10,12 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/wordpress
|
||||
cp -r . $out/share/wordpress
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
|
|
Loading…
Reference in a new issue