1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

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