diff options
author | Jonas Heinrich <onny@project-insanity.org> | 2023-01-15 13:03:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-15 13:03:18 +0100 |
commit | 7f6757e4f2f6f68096988240940268dc4fd853d4 (patch) | |
tree | 26a58ec3ccd5d25cc7320f1a20dd7a88c8910450 /pkgs/servers/web-apps | |
parent | 5291eac38a2a2d9275afa4f7e4b28c2d656aff72 (diff) | |
parent | 7e09121c44a20f0e881210d65ed6b8a460c89460 (diff) |
Merge pull request #210880 from urandom2/wordpress3
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 = { |