From eaa116a8dbd3bae42aaba4d056c08aece857eebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Lafuente?= Date: Tue, 8 Dec 2020 22:49:05 +0100 Subject: [PATCH] clojure: use jdk11 Clojure officially only supports Java LTS releases. Related to #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` --- pkgs/top-level/all-packages.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a3c3330ae376..a6462b097307 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };