From cd8f0ec4f6889ce7829d05a8eb9bfbcfa0befc45 Mon Sep 17 00:00:00 2001 From: Renaud Date: Tue, 21 May 2019 19:51:06 +0200 Subject: frostwire-bin: set additional classpath --- pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pkgs/applications/networking') diff --git a/pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix b/pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix index 233f5a531e44..7a02e743952a 100644 --- a/pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix +++ b/pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix @@ -18,11 +18,13 @@ stdenv.mkDerivation rec { mv $(ls */*.jar) $out/share/java makeWrapper $out/share/java/frostwire $out/bin/frostwire \ - --prefix PATH : ${jre}/bin/ + --prefix PATH : ${jre}/bin/ \ + --set JAVA_HOME ${jre.home} \ + --add-flags '-classpath $CLASSPATH:$out/share/java/*' ''; meta = with stdenv.lib; { - homepage = https://www.frostwire.com/; + homepage = "https://www.frostwire.com/"; description = "BitTorrent Client and Cloud File Downloader"; license = licenses.gpl2; maintainers = with maintainers; [ gavin ]; -- cgit 1.4.1