3
0
Fork 0
forked from mirrors/nixpkgs

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
'';