Skip to content

Commit 06bf54f

Browse files
committed
Enable release mode
1 parent e1c06a2 commit 06bf54f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scala-native.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131

3232
dontStrip = true;
3333
outputHashAlgo = "sha256";
34-
outputHash = "1k1wszyjvn20wp6873hzlri5i8pjqcj795asd0iy38sykc992lh5";
34+
outputHash = "0rdif16h3d6xbxdgk003sj6swhmw8icc37ws37ghj6rxd9w8snpj";
3535
outputHashMode = "recursive";
3636

3737
preHook = ''
@@ -56,6 +56,8 @@ stdenv.mkDerivation rec {
5656
buildPhase = ''
5757
runHook preBuild
5858
59+
export SCALANATIVE_MODE=release-fast
60+
5961
sbt --sbt-dir "$HOME/sbt" --ivy "$HOME/.ivy2" --batch publishLocal '++2.13.6' \
6062
auxlib/publishLocal \
6163
clib/publishLocal \

0 commit comments

Comments
 (0)