about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-12-07 18:27:40 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-12-07 17:32:20 +0000
commit9af3369fd79467a2816cdc95f58f85a0055dc896 (patch)
tree513d1fdadfe305535220661f6c1e48f3868d37b4 /nixos/modules
parent8fef9eee026f0d95c06b5880ef9c1af0f643aadf (diff)
Revert "wordpress: fixed installing of languages"
(cherry picked from commit 9f1f87b6125c229e199a874ea4be90a2ea06c185)
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/web-apps/wordpress.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/wordpress.nix b/nixos/modules/services/web-apps/wordpress.nix
index 5d2e775d45216..d4c987da1144c 100644
--- a/nixos/modules/services/web-apps/wordpress.nix
+++ b/nixos/modules/services/web-apps/wordpress.nix
@@ -34,7 +34,7 @@ let
       # copy additional plugin(s), theme(s) and language(s)
       ${concatStringsSep "\n" (mapAttrsToList (name: theme: "cp -r ${theme} $out/share/wordpress/wp-content/themes/${name}") cfg.themes)}
       ${concatStringsSep "\n" (mapAttrsToList (name: plugin: "cp -r ${plugin} $out/share/wordpress/wp-content/plugins/${name}") cfg.plugins)}
-      ${concatMapStringsSep "\n" (language: "cp -r ${language}/* $out/share/wordpress/wp-content/languages/") cfg.languages}
+      ${concatMapStringsSep "\n" (language: "cp -r ${language} $out/share/wordpress/wp-content/languages/") cfg.languages}
     '';
   };