elasticsearch: Fix broken unfree version
The current unfree versions are broken because makeWrapper is not a part of nativeBuildInputs. The bug was introduced in #112276.
This commit is contained in:
parent
80308388cd
commit
704a0ab8c3
|
@ -62,7 +62,7 @@ stdenv.mkDerivation (rec {
|
||||||
};
|
};
|
||||||
} // optionalAttrs enableUnfree {
|
} // optionalAttrs enableUnfree {
|
||||||
dontPatchELF = true;
|
dontPatchELF = true;
|
||||||
nativeBuildInputs = [ autoPatchelfHook ];
|
nativeBuildInputs = [ makeWrapper autoPatchelfHook ];
|
||||||
runtimeDependencies = [ zlib ];
|
runtimeDependencies = [ zlib ];
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
for exe in $(find $out/modules/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
|
||||||
|
|
|
@ -73,7 +73,7 @@ stdenv.mkDerivation (rec {
|
||||||
};
|
};
|
||||||
} // optionalAttrs enableUnfree {
|
} // optionalAttrs enableUnfree {
|
||||||
dontPatchELF = true;
|
dontPatchELF = true;
|
||||||
nativeBuildInputs = [ autoPatchelfHook ];
|
nativeBuildInputs = [ makeWrapper autoPatchelfHook ];
|
||||||
runtimeDependencies = [ zlib ];
|
runtimeDependencies = [ zlib ];
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
for exe in $(find $out/modules/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
|
||||||
|
|
Loading…
Reference in a new issue