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:
parent
c1df906704
commit
799062bcb6
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue