about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorArseniy Seroka <jagajaga@users.noreply.github.com>2016-04-29 20:31:47 +0300
committerArseniy Seroka <jagajaga@users.noreply.github.com>2016-04-29 20:31:47 +0300
commit277154e901e7c1f3e5c57570733b3d8e53180c8f (patch)
tree082ae34ad81071662a6d3fba8275b423a0315ec6 /nixos/modules
parentf5b3827e0e5ca91dea1f62eb748acfb454c429f1 (diff)
parent7d7380b0110d21ff208a06fe7c930783f90c6944 (diff)
downloadnixlib-277154e901e7c1f3e5c57570733b3d8e53180c8f.tar
nixlib-277154e901e7c1f3e5c57570733b3d8e53180c8f.tar.gz
nixlib-277154e901e7c1f3e5c57570733b3d8e53180c8f.tar.bz2
nixlib-277154e901e7c1f3e5c57570733b3d8e53180c8f.tar.lz
nixlib-277154e901e7c1f3e5c57570733b3d8e53180c8f.tar.xz
nixlib-277154e901e7c1f3e5c57570733b3d8e53180c8f.tar.zst
nixlib-277154e901e7c1f3e5c57570733b3d8e53180c8f.zip
Merge pull request #15078 from phile314/master
elasticsearch: Install elastic search modules properly
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/search/elasticsearch.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/search/elasticsearch.nix b/nixos/modules/services/search/elasticsearch.nix
index c51a42b8e9c1..17ac8fe7e245 100644
--- a/nixos/modules/services/search/elasticsearch.nix
+++ b/nixos/modules/services/search/elasticsearch.nix
@@ -145,6 +145,7 @@ in {
         # Install plugins
         ln -sfT ${esPlugins}/plugins ${cfg.dataDir}/plugins
         ln -sfT ${cfg.package}/lib ${cfg.dataDir}/lib
+        ln -sfT ${cfg.package}/modules ${cfg.dataDir}/modules
         if [ "$(id -u)" = 0 ]; then chown -R elasticsearch ${cfg.dataDir}; fi
       '';
       postStart = mkBefore ''