sbt: drop unconditionally set $SBT_OPTS variable from script

... and rename simple-build-tool to just "sbt", which is the name
everybody uses these days.
This commit is contained in:
Peter Simons
2014-09-12 17:09:58 +02:00
parent ec59929c9f
commit 5b28aebc08
2 changed files with 4 additions and 4 deletions

View File

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