diff options
author | Renaud <c0bw3b@users.noreply.github.com> | 2019-05-21 19:51:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-21 19:51:06 +0200 |
commit | cd8f0ec4f6889ce7829d05a8eb9bfbcfa0befc45 (patch) | |
tree | 157497c41cf0b842c7cc19c6e21bc36312d643b3 | |
parent | c36891f1b5a897a206766f3dce338e98f842e88e (diff) | |
download | nixlib-cd8f0ec4f6889ce7829d05a8eb9bfbcfa0befc45.tar nixlib-cd8f0ec4f6889ce7829d05a8eb9bfbcfa0befc45.tar.gz nixlib-cd8f0ec4f6889ce7829d05a8eb9bfbcfa0befc45.tar.bz2 nixlib-cd8f0ec4f6889ce7829d05a8eb9bfbcfa0befc45.tar.lz nixlib-cd8f0ec4f6889ce7829d05a8eb9bfbcfa0befc45.tar.xz nixlib-cd8f0ec4f6889ce7829d05a8eb9bfbcfa0befc45.tar.zst nixlib-cd8f0ec4f6889ce7829d05a8eb9bfbcfa0befc45.zip |
frostwire-bin: set additional classpath
-rw-r--r-- | pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix | 6 |
1 files changed, 4 insertions, 2 deletions
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 ]; |