frostwire-bin: set additional classpath

This commit is contained in:
Renaud 2019-05-21 19:51:06 +02:00 committed by GitHub
parent c36891f1b5
commit cd8f0ec4f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,11 +18,13 @@ stdenv.mkDerivation rec {
mv $(ls */*.jar) $out/share/java mv $(ls */*.jar) $out/share/java
makeWrapper $out/share/java/frostwire $out/bin/frostwire \ 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; { meta = with stdenv.lib; {
homepage = https://www.frostwire.com/; homepage = "https://www.frostwire.com/";
description = "BitTorrent Client and Cloud File Downloader"; description = "BitTorrent Client and Cloud File Downloader";
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ gavin ]; maintainers = with maintainers; [ gavin ];