diff options
author | José Luis Lafuente <jl@lafuente.me> | 2021-08-06 20:18:49 +0200 |
---|---|---|
committer | José Luis Lafuente <jl@lafuente.me> | 2021-08-06 20:18:49 +0200 |
commit | 74f86bdb64ec8836f091500ccf26057930521c55 (patch) | |
tree | 6cc976034cc670d8acffe36e6c3741e1fc31ad6d /pkgs | |
parent | 5a82107589e6ba78a14b9a00c9ba268f1329a13f (diff) |
clojure: 1.10.3.933 expects tools.edn
That's required to use the new -T switch
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/interpreters/clojure/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/clojure/default.nix b/pkgs/development/interpreters/clojure/default.nix index 77ec74e8c3f5..3fca18f65a6e 100644 --- a/pkgs/development/interpreters/clojure/default.nix +++ b/pkgs/development/interpreters/clojure/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { echo "Installing libs into $clojure_lib_dir" install -Dm644 deps.edn "$clojure_lib_dir/deps.edn" install -Dm644 example-deps.edn "$clojure_lib_dir/example-deps.edn" + install -Dm644 tools.edn "$clojure_lib_dir/tools.edn" install -Dm644 exec.jar "$clojure_lib_dir/libexec/exec.jar" install -Dm644 clojure-tools-${version}.jar "$clojure_lib_dir/libexec/clojure-tools-${version}.jar" @@ -48,7 +49,7 @@ stdenv.mkDerivation rec { doInstallCheck = true; installCheckPhase = '' - CLJ_CONFIG=$out CLJ_CACHE=$out/libexec $out/bin/clojure \ + CLJ_CONFIG=$TMPDIR CLJ_CACHE=$TMPDIR/.clj_cache $out/bin/clojure \ -Spath \ -Sverbose \ -Scp $out/libexec/clojure-tools-${version}.jar |