This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-26
Channels
- # architecture (2)
- # beginners (310)
- # boot (34)
- # cider (50)
- # cljs-dev (82)
- # cljsrn (1)
- # clojure (125)
- # clojure-dusseldorf (1)
- # clojure-hamburg (1)
- # clojure-italy (47)
- # clojure-russia (21)
- # clojure-spec (38)
- # clojure-uk (36)
- # clojurescript (200)
- # community-development (21)
- # cursive (10)
- # datomic (15)
- # duct (58)
- # emacs (20)
- # fulcro (10)
- # funcool (1)
- # graphql (2)
- # hoplon (6)
- # jobs (1)
- # lumo (12)
- # mount (20)
- # off-topic (14)
- # om (5)
- # portkey (43)
- # protorepl (2)
- # re-frame (31)
- # reagent (36)
- # ring (17)
- # ring-swagger (6)
- # shadow-cljs (50)
- # spacemacs (9)
- # sql (5)
- # tools-deps (28)
- # uncomplicate (4)
- # unrepl (5)
- # vim (2)
- # yada (2)
Nifty. The Planck homebrew build now depends on the Clojure homebrew install: https://github.com/Homebrew/homebrew-core/blob/9d13915487b6c817b0dd551b46243e8e95286774/Formula/planck.rb#L15
An interesting aside to the above: Even though Java isn't required to install or use the Planck binary, homebrew doesn't yet make a distinction, so you transitively need Java via Clojure to install the binary. https://github.com/mfikes/planck/issues/695
How to specify a dependency on a project within a subfolder in a git repo? Such as this https://github.com/bhauman/lein-figwheel/tree/master/figwheel-core
you can use :deps/root attribute for the relative subdir in the repo
{:git/url ""
:sha "b3d1d16d4915948a36b341f5648e4c9763628ef3"
:deps/root "figwheel-core"}
should it work for Clojure 1.9? or do I need 1.10?
it declare the deps as needing only clojure 1.8
but clojurescript 1.10.x
I’m getting Error building classpath. nil
when running clj
with the following deps.edn
{:deps {figwheel-core {:deps/root "figwheel-core",
:git/url "",
:sha "b3d1d16d4915948a36b341f5648e4c9763628ef3"}}}
I can’t reproduce that
is there a stack trace?
from clj -Sverbose
, what version are you running?
1.9.0.358
that’s latest
do you have anything in your ~/.clojure/deps.edn
?
There was deps, but I’ve edited it to be just {}
before running
maybe also use -Sforce
to make sure you’re not getting something from cache
stack trace https://gist.github.com/roman01la/8b7351d7697584a6bcf394adb5f722af
oh interesting, that’s down in gitlibs. well, you could try cleaning your git cache in ~/.gitlibs
either selectively or by deleting the whole thing
that looks like it’s getting a nil url, which is weird
Works now. Not sure how exactly, but after cleaning ~/.gitlibs
it didn’t work first. Once I ran clj -Sforce
it went fine and subsequent clj
(without forcing) are ok now
Thanks!
I suspect something bad in your cpcache
👍 I managed to get clj
to run in the Ubuntu PPA build for Planck. The main trickery was really ensuring it stays in the sandbox, which is a little tighter than Homebrew—you don't even have a home directory, for instance.
probably late to the party but this is worth reading : https://hypirion.com/musings/a-resilient-git-dependency-algorithm