Merge pull request #210880 from urandom2/wordpress3

wordpress: add {pre,post}Install hooks
This commit is contained in:
Jonas Heinrich 2023-01-15 13:03:18 +01:00 committed by GitHub
commit 7f6757e4f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,12 @@ stdenv.mkDerivation rec {
}; };
installPhase = '' installPhase = ''
runHook preInstall
mkdir -p $out/share/wordpress mkdir -p $out/share/wordpress
cp -r . $out/share/wordpress cp -r . $out/share/wordpress
runHook postInstall
''; '';
passthru.tests = { passthru.tests = {