Skip to content

Commit

Permalink
clojure: use jdk11
Browse files Browse the repository at this point in the history
Clojure officially only supports Java LTS releases. Related to NixOS#89731.
As discussed in
https://discourse.nixos.org/t/package-version-arguments-vs-generic-package-arguments/9071
seems that the preferred way to set the jdk version is on
`all-packages.nix`
  • Loading branch information
jlesquembre committed Dec 9, 2020
1 parent 2967936 commit eaa116a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10322,7 +10322,10 @@ in
clisp = callPackage ../development/interpreters/clisp { };
clisp-tip = callPackage ../development/interpreters/clisp/hg.nix { };

clojure = callPackage ../development/interpreters/clojure { };
clojure = callPackage ../development/interpreters/clojure {
# set this to an LTS version of java
jdk = jdk11;
};

clojure-lsp = callPackage ../development/tools/misc/clojure-lsp { };

Expand Down

0 comments on commit eaa116a

Please sign in to comment.