Skip to content

Commit

Permalink
marvin: pin openjdk17
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank committed Jan 25, 2024
1 parent 8deb9a0 commit 5c4784c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/science/chemistry/marvin/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, dpkg, makeWrapper, coreutils, gawk, gnugrep, gnused, jre }:
{ lib, stdenv, fetchurl, dpkg, makeWrapper, coreutils, gawk, gnugrep, gnused, openjdk17 }:

with lib;

Expand All @@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
installPhase = ''
wrapBin() {
makeWrapper $1 $out/bin/$(basename $1) \
--set INSTALL4J_JAVA_HOME "${jre}" \
--set INSTALL4J_JAVA_HOME "${openjdk17}" \
--prefix PATH : ${makeBinPath [ coreutils gawk gnugrep gnused ]}
}
cp -r opt $out
Expand Down

0 comments on commit 5c4784c

Please sign in to comment.