From 51e0229d2ddafb59792ef3c4f92be129ba6c1980 Mon Sep 17 00:00:00 2001 From: Andrew Benbow Date: Mon, 9 Jun 2025 14:23:38 -0400 Subject: [PATCH] nixos/drupal: bugfix postsInstall hook and options --- nixos/modules/services/web-apps/drupal.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/modules/services/web-apps/drupal.nix b/nixos/modules/services/web-apps/drupal.nix index 3d6726c7393b..8e4b1bf1dc0d 100644 --- a/nixos/modules/services/web-apps/drupal.nix +++ b/nixos/modules/services/web-apps/drupal.nix @@ -50,7 +50,7 @@ let runHook postInstall ''; - postInstallPhase = '' + postInstall = '' ln -s ${cfg.filesDir} $out/share/php/drupal/sites/default/files ln -s ${cfg.stateDir}/sites/default/settings.php $out/share/php/drupal/sites/default/settings.php ln -s ${cfg.modulesDir} $out/share/php/drupal/modules @@ -91,14 +91,14 @@ let type = types.path; default = "/var/lib/drupal/${name}/modules"; defaultText = "/var/lib/drupal//modules"; - description = "The location of Drupal modules."; + description = "The location for users to install Drupal modules."; }; themesDir = mkOption { type = types.path; default = "/var/lib/drupal/${name}/themes"; - defaultText = "/varlib/drupal//themes"; - description = "The location of Drupal themes."; + defaultText = "/var/lib/drupal//themes"; + description = "The location for users to install Drupal themes."; }; phpOptions = mkOption {