about summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2014-09-12 17:09:58 +0200
committerPeter Simons <simons@cryp.to>2014-09-12 17:11:38 +0200
commit5b28aebc087429837adc7f0c65ff70df98ec8129 (patch)
tree45463887232d18197a54049f4867bb300436f873 /pkgs/development/tools
parentec59929c9f6eb2f109b93c5a517cfcbc10f31a30 (diff)
downloadnixlib-5b28aebc087429837adc7f0c65ff70df98ec8129.tar
nixlib-5b28aebc087429837adc7f0c65ff70df98ec8129.tar.gz
nixlib-5b28aebc087429837adc7f0c65ff70df98ec8129.tar.bz2
nixlib-5b28aebc087429837adc7f0c65ff70df98ec8129.tar.lz
nixlib-5b28aebc087429837adc7f0c65ff70df98ec8129.tar.xz
nixlib-5b28aebc087429837adc7f0c65ff70df98ec8129.tar.zst
nixlib-5b28aebc087429837adc7f0c65ff70df98ec8129.zip
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.
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/build-managers/sbt/default.nix (renamed from pkgs/development/tools/build-managers/simple-build-tool/default.nix)3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/tools/build-managers/simple-build-tool/default.nix b/pkgs/development/tools/build-managers/sbt/default.nix
index b54f894d8eb4..39937f7d378b 100644
--- a/pkgs/development/tools/build-managers/simple-build-tool/default.nix
+++ b/pkgs/development/tools/build-managers/sbt/default.nix
@@ -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