Skip to content

Commit

Permalink
elasticsearch: Add zlib to buildInputs for unfree
Browse files Browse the repository at this point in the history
The unfree variant of elasticsearch uses autoPatchelfHook and since we
removed the dependency on file for the hook itself in
58a97df we no longer have zlib
propagated.

So we need to explicitly state that dependency here.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @apeschar, @basvandijk
  • Loading branch information
aszlig committed Sep 25, 2018
1 parent b452604 commit 8df68a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/servers/search/elasticsearch/default.nix
Expand Up @@ -29,7 +29,8 @@ stdenv.mkDerivation (rec {
sed -i "s|ES_CLASSPATH=\"\$ES_HOME/lib/\*\"|ES_CLASSPATH=\"$out/lib/*\"|" ./bin/elasticsearch-env
'';

buildInputs = [ makeWrapper jre_headless utillinux ];
buildInputs = [ makeWrapper jre_headless utillinux ]
++ optional enableUnfree zlib;

installPhase = ''
mkdir -p $out
Expand Down

0 comments on commit 8df68a9

Please sign in to comment.