about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-12-07 18:27:40 +0100
committerGitHub <noreply@github.com>2023-12-07 18:27:40 +0100
commit9f1f87b6125c229e199a874ea4be90a2ea06c185 (patch)
treed3c3cddf1b71d845131e4660b7ec129a62a14d59 /nixos
parentefbb1542687d28f80c321cd20502489c02a6f59f (diff)
downloadnixlib-9f1f87b6125c229e199a874ea4be90a2ea06c185.tar
nixlib-9f1f87b6125c229e199a874ea4be90a2ea06c185.tar.gz
nixlib-9f1f87b6125c229e199a874ea4be90a2ea06c185.tar.bz2
nixlib-9f1f87b6125c229e199a874ea4be90a2ea06c185.tar.lz
nixlib-9f1f87b6125c229e199a874ea4be90a2ea06c185.tar.xz
nixlib-9f1f87b6125c229e199a874ea4be90a2ea06c185.tar.zst
nixlib-9f1f87b6125c229e199a874ea4be90a2ea06c185.zip
Revert "wordpress: fixed installing of languages"
Diffstat (limited to 'nixos')
-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 03d5634854a3..002d6683b2ed 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}
     '';
   };