diff options
author | Colin Arnott <colin@urandom.co.uk> | 2023-01-15 11:02:15 +0000 |
---|---|---|
committer | Colin Arnott <colin@urandom.co.uk> | 2023-01-15 11:02:15 +0000 |
commit | 7e09121c44a20f0e881210d65ed6b8a460c89460 (patch) | |
tree | 8d21e68ca79929dbfba6166752dec135a235fb83 /pkgs/servers/web-apps | |
parent | 686f96f2b6b9b1f00a292fb6245a49afffeb3d70 (diff) |
wordpress: add {pre,post}Install hooks
Diffstat (limited to 'pkgs/servers/web-apps')
-rw-r--r-- | pkgs/servers/web-apps/wordpress/generic.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/servers/web-apps/wordpress/generic.nix b/pkgs/servers/web-apps/wordpress/generic.nix index 3c9aa377d7704..e15640c882812 100644 --- a/pkgs/servers/web-apps/wordpress/generic.nix +++ b/pkgs/servers/web-apps/wordpress/generic.nix @@ -10,8 +10,12 @@ stdenv.mkDerivation rec { }; installPhase = '' + runHook preInstall + mkdir -p $out/share/wordpress cp -r . $out/share/wordpress + + runHook postInstall ''; passthru.tests = { |