Skip to content

Commit

Permalink
elasticsearch: make sure to patchelf the x-pack-ml binaries
Browse files Browse the repository at this point in the history
(cherry picked from commit b560dd9)
  • Loading branch information
basvandijk committed Dec 2, 2018
1 parent 35b40f4 commit 24ff4d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/servers/search/elasticsearch/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,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
Expand Down

0 comments on commit 24ff4d8

Please sign in to comment.