From b560dd9047c16a6572f62c944e12b9c239bdbf64 Mon Sep 17 00:00:00 2001 From: Bas van Dijk Date: Sun, 2 Dec 2018 15:54:20 +0100 Subject: [PATCH] elasticsearch: make sure to patchelf the x-pack-ml binaries --- pkgs/servers/search/elasticsearch/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/search/elasticsearch/default.nix b/pkgs/servers/search/elasticsearch/default.nix index 0cf81a4c2d6..d22395e0133 100644 --- a/pkgs/servers/search/elasticsearch/default.nix +++ b/pkgs/servers/search/elasticsearch/default.nix @@ -64,7 +64,7 @@ stdenv.mkDerivation (rec { nativeBuildInputs = [ autoPatchelfHook ]; runtimeDependencies = [ zlib ]; postFixup = '' - for exe in $(find $out/modules/x-pack/x-pack-ml/platform/linux-x86_64/bin -executable -type f); do + for exe in $(find $out/modules/x-pack-ml/platform/linux-x86_64/bin -executable -type f); do echo "patching $exe..." patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$exe" done