Merge pull request #203511 from divanorama/elasticsearch6_fix_build

elasticsearch6: add libxcrypt dependency to fix build
This commit is contained in:
Mario Rodas 2022-11-29 09:39:39 -05:00 committed by GitHub
commit 8baee78ef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@
, makeWrapper
, jre_headless
, util-linux, gnugrep, coreutils
, libxcrypt
, autoPatchelfHook
, zlib
}:
@ -37,7 +38,7 @@ stdenv.mkDerivation (rec {
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jre_headless util-linux ]
++ optional enableUnfree zlib;
++ optional enableUnfree [ zlib libxcrypt ];
installPhase = ''
mkdir -p $out