diff options
author | Soner Sayakci <s.sayakci@shopware.com> | 2023-02-28 21:47:34 +0100 |
---|---|---|
committer | Soner Sayakci <s.sayakci@shopware.com> | 2023-02-28 21:47:34 +0100 |
commit | 5cfd70fd4d6afabb89434c7a2ff0d116b030bbf9 (patch) | |
tree | ffe4c276cac3588fd5103b5188b371d5442d06d5 /pkgs/servers/search | |
parent | 929143c14558140944c3beb392fbb084d8f9bd93 (diff) |
opensearch: fix knn ml plugin
Diffstat (limited to 'pkgs/servers/search')
-rw-r--r-- | pkgs/servers/search/opensearch/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/servers/search/opensearch/default.nix b/pkgs/servers/search/opensearch/default.nix index fd7bb04e0c878..fa860437fb512 100644 --- a/pkgs/servers/search/opensearch/default.nix +++ b/pkgs/servers/search/opensearch/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , stdenvNoCC , fetchurl , makeWrapper @@ -35,6 +36,7 @@ stdenvNoCC.mkDerivation rec { wrapProgram $out/bin/opensearch \ --prefix PATH : "${lib.makeBinPath [ util-linux gnugrep coreutils ]}" \ + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}:$out/plugins/opensearch-knn/lib/" \ --set JAVA_HOME "${jre_headless}" wrapProgram $out/bin/opensearch-plugin --set JAVA_HOME "${jre_headless}" |