about summary refs log tree commit diff
path: root/pkgs/servers/search
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-03-03 13:22:08 +0100
committerGitHub <noreply@github.com>2021-03-03 13:22:08 +0100
commit369dac84389501143ee1fef1bc5d2026e6e5065b (patch)
treec13cd1b497b3ae0866eaeb7105e168b288528ecc /pkgs/servers/search
parent49f51c686ae3ba0c0d2cce8a74a55be96a376776 (diff)
parent704a0ab8c37b9dc3ab2cebde1feb8e70adb1f091 (diff)
Merge pull request #114830 from rloewe/master
elasticsearch: Fix broken unfree version
Diffstat (limited to 'pkgs/servers/search')
-rw-r--r--pkgs/servers/search/elasticsearch/6.x.nix2
-rw-r--r--pkgs/servers/search/elasticsearch/7.x.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/search/elasticsearch/6.x.nix b/pkgs/servers/search/elasticsearch/6.x.nix
index b3ad305687afa..3558fd5935e48 100644
--- a/pkgs/servers/search/elasticsearch/6.x.nix
+++ b/pkgs/servers/search/elasticsearch/6.x.nix
@@ -62,7 +62,7 @@ stdenv.mkDerivation (rec {
   };
 } // optionalAttrs enableUnfree {
   dontPatchELF = true;
-  nativeBuildInputs = [ autoPatchelfHook ];
+  nativeBuildInputs = [ makeWrapper autoPatchelfHook ];
   runtimeDependencies = [ zlib ];
   postFixup = ''
     for exe in $(find $out/modules/x-pack-ml/platform/linux-x86_64/bin -executable -type f); do
diff --git a/pkgs/servers/search/elasticsearch/7.x.nix b/pkgs/servers/search/elasticsearch/7.x.nix
index ffe8a75412bdf..f808b6985b47b 100644
--- a/pkgs/servers/search/elasticsearch/7.x.nix
+++ b/pkgs/servers/search/elasticsearch/7.x.nix
@@ -73,7 +73,7 @@ stdenv.mkDerivation (rec {
   };
 } // optionalAttrs enableUnfree {
   dontPatchELF = true;
-  nativeBuildInputs = [ autoPatchelfHook ];
+  nativeBuildInputs = [ makeWrapper autoPatchelfHook ];
   runtimeDependencies = [ zlib ];
   postFixup = ''
     for exe in $(find $out/modules/x-pack-ml/platform/linux-x86_64/bin -executable -type f); do