diff --git a/mkClojureLib.nix b/mkClojureLib.nix index 893e228..2c2b1c8 100644 --- a/mkClojureLib.nix +++ b/mkClojureLib.nix @@ -7,13 +7,15 @@ let pthru = o: builtins.trace o o; - build-tools-deps = writeTextDir "deps.edn" (pthru (toEDN { + build-tools-edn = toEDN { aliases.build = { ns-build = "'build"; replace-deps."'io.github.clojure/tools.build"."local/root" = "${build-tools-jar}"; }; - })); + }; + + build-tools-deps = writeTextDir "deps.edn" (pthru build-tools-edn); classpath = clj-deps.makeClasspaths { };