1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

Merge pull request #109832 from raboof/metabase-use-jdk11

metabase: use jdk11
This commit is contained in:
Sandro 2021-01-19 12:04:28 +01:00 committed by GitHub
commit f5a2a02545
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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; {