Fork me on GitHub

How can I extract a map from project.clj to use it two times in the configuration? Namely, I'm trying to follow but I don't like the fact that :all-builds there contains the same info as :demo profile, for the most part. I extracted the common part into (def main-build {...}) at the top of project.clj and included it simply as :all-builds [~(merge-with merge main-build {...})], but when I try to run REPL, I get:

Exception in thread "main" java.lang.RuntimeException: Unable to resolve symbol: main-build in this context


Hi, ist there a known issue that can stop leiningen from working completely? A friend just ran into it, and lein <anything> just hangs for him now, even after deleting ~/.lein


Happened during dependency download with a completely fresh leiningen install. Last output before its unfortunate and permanent demise was

Retrieving com/yahoo/platform/yui/yuicompressor/2.4.8/yuicompressor-2.4.8.jar from central