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:
commit
f5a2a02545
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue