Fixed sbt options

This commit is contained in:
Pascal Wittmann 2013-12-08 19:49:40 +01:00 committed by Bjørn Forsman
parent c1df906704
commit 799062bcb6

View File

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
cat > $out/bin/sbt << EOF
#!/bin/sh
SBT_OPTS="-Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=384M"
${jre}/bin/java $SBT_OPTS -jar ${src} "\$@"
${jre}/bin/java \$SBT_OPTS -jar ${src} "\$@"
EOF
chmod +x $out/bin/sbt
'';