Skip to content

Commit 754097d

Browse files
committed
1 parent c6066d5 commit 754097d

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

nixos/modules/services/search/opensearch.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ in
210210
ln -sfT "${cfg.package}/plugins" "${cfg.dataDir}/plugins"
211211
ln -sfT ${cfg.package}/lib ${cfg.dataDir}/lib
212212
ln -sfT ${cfg.package}/modules ${cfg.dataDir}/modules
213+
ln -sfT ${cfg.package}/agent ${cfg.dataDir}/agent
213214
214215
# opensearch needs to create the opensearch.keystore in the config directory
215216
# so this directory needs to be writable.

pkgs/by-name/op/opensearch/package.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212

1313
stdenvNoCC.mkDerivation (finalAttrs: {
1414
pname = "opensearch";
15-
version = "2.19.2";
15+
version = "3.5.0";
1616

1717
src = fetchurl {
1818
url = "https://artifacts.opensearch.org/releases/bundle/opensearch/${finalAttrs.version}/opensearch-${finalAttrs.version}-linux-x64.tar.gz";
19-
hash = "sha256-EaOx8vs3y00ln7rUiaCGoD+HhiQY4bhQAzu18VfaTYw=";
19+
hash = "sha256-0d6TQU1LTE983CsYbaK4fNuC86VAx23XD2xR6y2NuHw=";
2020
};
2121

2222
nativeBuildInputs = [
@@ -31,7 +31,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
3131
runHook preInstall
3232
3333
mkdir -p $out
34-
cp -R bin config lib modules plugins $out
34+
cp -R bin config lib modules plugins agent $out
3535
3636
substituteInPlace $out/bin/opensearch \
3737
--replace 'bin/opensearch-keystore' "$out/bin/opensearch-keystore"

0 commit comments

Comments
 (0)