mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
opensearch: 2.19.2 -> 3.5.0
Release Notes: https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-3.5.0.md
This commit is contained in:
committed by
Philipp Herzog
parent
c6066d53f3
commit
754097dbc4
@@ -210,6 +210,7 @@ in
|
||||
ln -sfT "${cfg.package}/plugins" "${cfg.dataDir}/plugins"
|
||||
ln -sfT ${cfg.package}/lib ${cfg.dataDir}/lib
|
||||
ln -sfT ${cfg.package}/modules ${cfg.dataDir}/modules
|
||||
ln -sfT ${cfg.package}/agent ${cfg.dataDir}/agent
|
||||
|
||||
# opensearch needs to create the opensearch.keystore in the config directory
|
||||
# so this directory needs to be writable.
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "opensearch";
|
||||
version = "2.19.2";
|
||||
version = "3.5.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://artifacts.opensearch.org/releases/bundle/opensearch/${finalAttrs.version}/opensearch-${finalAttrs.version}-linux-x64.tar.gz";
|
||||
hash = "sha256-EaOx8vs3y00ln7rUiaCGoD+HhiQY4bhQAzu18VfaTYw=";
|
||||
hash = "sha256-0d6TQU1LTE983CsYbaK4fNuC86VAx23XD2xR6y2NuHw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -31,7 +31,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out
|
||||
cp -R bin config lib modules plugins $out
|
||||
cp -R bin config lib modules plugins agent $out
|
||||
|
||||
substituteInPlace $out/bin/opensearch \
|
||||
--replace 'bin/opensearch-keystore' "$out/bin/opensearch-keystore"
|
||||
|
||||
Reference in New Issue
Block a user