From 3499b1cfc2749d999526ae3b595dbf4c05cc5426 Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 30 May 2022 17:39:48 -0700 Subject: [PATCH] Split the EDN gen from file. --- mkClojureLib.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 { };