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:
René Løwe Jacobsen 2021-03-02 11:58:45 +01:00
parent 80308388cd
commit 704a0ab8c3
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ stdenv.mkDerivation (rec {
};
} // optionalAttrs enableUnfree {
dontPatchELF = true;
nativeBuildInputs = [ autoPatchelfHook ];
nativeBuildInputs = [ makeWrapper autoPatchelfHook ];
runtimeDependencies = [ zlib ];
postFixup = ''
for exe in $(find $out/modules/x-pack-ml/platform/linux-x86_64/bin -executable -type f); do

View file

@ -73,7 +73,7 @@ stdenv.mkDerivation (rec {
};
} // optionalAttrs enableUnfree {
dontPatchELF = true;
nativeBuildInputs = [ autoPatchelfHook ];
nativeBuildInputs = [ makeWrapper autoPatchelfHook ];
runtimeDependencies = [ zlib ];
postFixup = ''
for exe in $(find $out/modules/x-pack-ml/platform/linux-x86_64/bin -executable -type f); do