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

View File

@ -4314,7 +4314,8 @@ let
scons = callPackage ../development/tools/build-managers/scons { };
simpleBuildTool = callPackage ../development/tools/build-managers/simple-build-tool { };
sbt = callPackage ../development/tools/build-managers/sbt { };
simpleBuildTool = sbt;
sigrok-cli = callPackage ../development/tools/sigrok-cli { };
@ -7219,7 +7220,7 @@ let
tomcat8 = callPackage ../servers/http/tomcat/8.0.nix { };
tomcat_mysql_jdbc = callPackage ../servers/http/tomcat/jdbc/mysql { };
torque = callPackage ../servers/computing/torque { };
axis2 = callPackage ../servers/http/tomcat/axis2 { };