This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-12
Channels
- # announcements (4)
- # babashka (93)
- # beginners (43)
- # calva (56)
- # cherry (4)
- # clerk (58)
- # clj-otel (4)
- # cljs-dev (1)
- # clojure (31)
- # clojure-conj (1)
- # clojure-dev (30)
- # clojure-europe (88)
- # clojure-india (2)
- # clojure-italy (3)
- # clojure-nl (1)
- # clojure-norway (17)
- # clojure-uk (2)
- # clojurescript (5)
- # clr (13)
- # conjure (2)
- # cursive (4)
- # data-science (4)
- # datalevin (1)
- # fulcro (3)
- # gratitude (7)
- # hyperfiddle (27)
- # kaocha (3)
- # lsp (9)
- # malli (6)
- # nbb (1)
- # off-topic (41)
- # pedestal (2)
- # practicalli (1)
- # rdf (3)
- # re-frame (3)
- # reitit (10)
- # releases (1)
- # shadow-cljs (8)
- # testing (3)
- # vim (2)
- # xtdb (7)
Why won't this work on .NET 7 on Linux, I thought it was possible to use .NET standard 2.1 from .NET 7? Could not locate clojure/tools/nrepl with extensions .cljr, .cljc, .cljr, .cljr.dll, .cljc.dll, or .clj.dll on load path.
I'm starting it via:
Clojure.Main -e '(require (quote user))'
assembly-load-file is successful:
#object[RuntimeAssembly 0x3afa51b clojure.tools.nrepl, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]
I installed nrepl via standard tooling: dotnet add package clojure.tools.nrepl --version 0.1.0-alpha1
Going to see if I failed to load nrepl deps^
(println (assembly-load-file (format "%s/.nuget/packages/clojure.tools.reader/1.3.7/lib/netstandard2.1/clojure.tools.reader.dll" home-path)))
added this before loading the nrepl dll - no success.
(require 'clojure.tools.reader)
works though
@U45FQSBF1 where should I post this issue? TLDR ☝️ is: Neither core.async or tools.nrepl .NET standard 2.1 works with Linux and .NET 7 I was thinking about ask.clojure with a small repo so it’s easy to re-produce?
a small repo would be great. post to ask. if you could post a link on here, that would help . i see things more here
https://ask.clojure.org/index.php/12954/clojure-clr-nrepl-net-standard-2-1-does-not-work-with-net-7 @U45FQSBF1 got some time to create a reproducible example. Thanks!
(The link to the repo is in the post)
The docker build step fails on my every time (doing the tool install for Clojure.Main).
Thank you for the very clear example. It was easy to track down. When I added support for .cljr files, I missed a location -- that's what is failing here. (Embedded resource in loaded assembly.) https://clojure.atlassian.net/jira/software/c/projects/CLJCLR/issues/CLJCLR-155