Skip to content

Commit c90a2a7

Browse files
committed
also use jre8_headless in kotlin and scala
1 parent dd43ee9 commit c90a2a7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

default.nix

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ in with pkgs; {
4949
# C#, F#, Visual Basic
5050
inherit mono;
5151

52-
# Java 8
53-
jdk8 = jdk8_headless;
54-
5552
# OCaml
5653
inherit ocaml;
5754

@@ -61,17 +58,20 @@ in with pkgs; {
6158
# Lua
6259
inherit lua;
6360

64-
# Scala
65-
inherit scala;
66-
6761
# Golang
6862
inherit go;
6963

7064
# Node.js
7165
inherit nodejs;
7266

67+
# Java 8
68+
jdk8 = jdk8_headless;
69+
70+
# Scala
71+
scala = scala.override { jre = jre8_headless; };
72+
7373
# Kotlin/JVM
74-
inherit kotlin;
74+
kotlin = kotlin.override { jre = jre8_headless; };
7575

7676
# Why? check ./kotlin-native/default.nix
7777
# # Kotlin/Native

0 commit comments

Comments
 (0)