From 355ba09f0432284da37785fb8321f4a59b0b1fdd Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 29 May 2022 22:57:25 -0700 Subject: [PATCH] Use a string instead of a file --- mkClojureLib.nix | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/mkClojureLib.nix b/mkClojureLib.nix index 18e4bc3..63d325a 100644 --- a/mkClojureLib.nix +++ b/mkClojureLib.nix @@ -3,19 +3,9 @@ with lib; let - build-tools-deps = writeText "deps.edn" '' - { :aliases - { :build - { :ns-default build - :replace-deps { - io.github.clojure/tools.build { - :local/root "${build-tools-jar}" - } - } - } - } - } - ''; + + build-tools-deps = '' + { :aliases { :build { :ns-build build :replace-deps { io.github.clojure/tools.build { :local/root "${build-tools-jar}" } } } } }''; classpath = clj-deps.makeClasspaths { };