elasticsearch: make sure to patchelf the x-pack-ml binaries
This commit is contained in:
parent
7035598251
commit
b560dd9047
@ -64,7 +64,7 @@ stdenv.mkDerivation (rec {
|
|||||||
nativeBuildInputs = [ autoPatchelfHook ];
|
nativeBuildInputs = [ autoPatchelfHook ];
|
||||||
runtimeDependencies = [ zlib ];
|
runtimeDependencies = [ zlib ];
|
||||||
postFixup = ''
|
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..."
|
echo "patching $exe..."
|
||||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$exe"
|
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$exe"
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user