wordpress: add {pre,post}Install hooks

This commit is contained in:
Colin Arnott 2023-01-15 11:02:15 +00:00
parent 686f96f2b6
commit 7e09121c44
No known key found for this signature in database
GPG Key ID: 0447A663F7F3E236

View File

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