This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-31
Channels
- # announcements (22)
- # asami (19)
- # aws-lambda (4)
- # babashka (42)
- # beginners (43)
- # calva (28)
- # cider (1)
- # clerk (79)
- # clj-kondo (12)
- # clojure (47)
- # clojure-berlin (1)
- # clojure-brasil (1)
- # clojure-dev (12)
- # clojure-europe (40)
- # clojure-nl (2)
- # clojure-norway (5)
- # clojure-uk (3)
- # clojurescript (56)
- # clr (12)
- # conjure (8)
- # cursive (4)
- # datomic (78)
- # dev-tooling (6)
- # exercism (1)
- # fulcro (9)
- # hoplon (3)
- # jobs (3)
- # jobs-discuss (4)
- # lambdaisland (3)
- # leiningen (1)
- # london-clojurians (1)
- # lsp (125)
- # malli (32)
- # matcher-combinators (3)
- # nrepl (1)
- # off-topic (6)
- # pathom (39)
- # re-frame (13)
- # releases (2)
- # remote-jobs (3)
- # sci (7)
- # shadow-cljs (117)
- # sql (6)
- # squint (7)
- # tools-build (15)
- # tools-deps (12)
@dmiller is there a way to influence the code search path for ClojureCLR? Must it always run in the root of a namespace or can it be told where code/binaries are while staying in the "current directory" (asking for a friend who is building a tool that will need other artifacts relative to current directory)?
Try environment variable CLOJURE_LOAD_PATH. Like any windows path, semicolon-separated list of directory names.
if that works I can undo something I was undoing that made me take lots of showers. not that showers are bad. just that one only needs so many in a day.
Yes. Load is given just the filename, not the extensions. It checks the standard places, then CLOJURE_LOAD_PATH. (should be the other way around?) Looks for cljr, cljc, clj i that order in each directory it touches.
works great - I compute it in cljr on startup based on any current value in that env var plus what I find in deps.edn, set it for the current process, and it works.