Skip to content

Commit

Permalink
josm: bump to jre10
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekleog authored and rycee committed Jul 5, 2018
1 parent 151afd2 commit 806e5a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/applications/misc/josm/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ fetchurl, stdenv, makeDesktopItem, makeWrapper, unzip, bash, jre8 }:
{ fetchurl, stdenv, makeDesktopItem, makeWrapper, unzip, bash, jre10 }:

stdenv.mkDerivation rec {
name = "josm-${version}";
Expand All @@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1j98wxw84f5rf3finr38bkr1sh9ckah8pmhmxyhmcw2rxf1mv9bf";
};

buildInputs = [ jre8 makeWrapper ];
buildInputs = [ jre10 makeWrapper ];

desktopItem = makeDesktopItem {
name = "josm";
Expand All @@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin $out/share/java
cp -v $src $out/share/java/josm.jar
makeWrapper ${jre8}/bin/java $out/bin/josm \
makeWrapper ${jre10}/bin/java $out/bin/josm \
--add-flags "-jar $out/share/java/josm.jar"
mkdir -p $out/share/applications
Expand Down

0 comments on commit 806e5a3

Please sign in to comment.