summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Șerbănescu <daniel@serbanescu.dk>2023-07-04 21:20:42 +0200
committerDaniel Șerbănescu <daniel@serbanescu.dk>2023-07-04 21:20:42 +0200
commit50a3fdd03c8544d73f51a15945ae183a59c72a84 (patch)
treedcc68728d895c5ab805302e2f0e409f148ddac34
parentd8c2229c49e0fdb0104f2ed76b6d626baad2f2d5 (diff)
downloadnixpkgs-50a3fdd03c8544d73f51a15945ae183a59c72a84.tar
nixpkgs-50a3fdd03c8544d73f51a15945ae183a59c72a84.tar.gz
nixpkgs-50a3fdd03c8544d73f51a15945ae183a59c72a84.tar.bz2
nixpkgs-50a3fdd03c8544d73f51a15945ae183a59c72a84.tar.lz
nixpkgs-50a3fdd03c8544d73f51a15945ae183a59c72a84.tar.xz
nixpkgs-50a3fdd03c8544d73f51a15945ae183a59c72a84.tar.zst
nixpkgs-50a3fdd03c8544d73f51a15945ae183a59c72a84.zip
wordpress: fixed installing of languages
-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 d4c987da114..5d2e775d452 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}
     '';
   };