3
0
Fork 0
forked from mirrors/nixpkgs

metabase: use jdk11

jdk15 doesn't work, https://github.com/metabase/metabase/issues/13881
This commit is contained in:
Arnout Engelen 2021-01-18 22:48:34 +01:00
parent 68398d2dd5
commit 735e6a8f5f
No known key found for this signature in database
GPG key ID: 061107B0F74A6DAA

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, makeWrapper, jre }:
{ lib, stdenv, fetchurl, makeWrapper, jdk11 }:
stdenv.mkDerivation rec {
pname = "metabase";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
dontUnpack = true;
installPhase = ''
makeWrapper ${jre}/bin/java $out/bin/metabase --add-flags "-jar $src"
makeWrapper ${jdk11}/bin/java $out/bin/metabase --add-flags "-jar $src"
'';
meta = with lib; {