mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
youtrack: use jdk21
This commit is contained in:
parent
ced3787789
commit
4e5dda64e9
@ -1,4 +1,4 @@
|
||||
{ lib, stdenvNoCC, fetchzip, makeBinaryWrapper, jdk17_headless, gawk, statePath ? "/var/lib/youtrack" }:
|
||||
{ lib, stdenvNoCC, fetchzip, makeBinaryWrapper, jdk21_headless, gawk, statePath ? "/var/lib/youtrack" }:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "youtrack";
|
||||
@ -20,7 +20,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
cp -r * $out
|
||||
makeWrapper $out/bin/youtrack.sh $out/bin/youtrack \
|
||||
--prefix PATH : "${lib.makeBinPath [ gawk ]}" \
|
||||
--set JRE_HOME ${jdk17_headless}
|
||||
--set JRE_HOME ${jdk21_headless}
|
||||
rm -rf $out/internal/java
|
||||
mv $out/conf $out/conf.orig
|
||||
ln -s ${statePath}/backups $out/backups
|
||||
|
Loading…
Reference in New Issue
Block a user