mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
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 ];
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user