Fork me on GitHub
#cider
<
2019-07-05
>
PB15:07:40

I seem to be getting lots of errors with piggieback once I've upgraded cider to above 0.18.0. Are the two incompatible?

dpsutton15:07:34

which version of piggieback? you probably want to make sure you are using cider/piggieback "0.4.1"

dpsutton15:07:49

if you're targeting the older cemerick coordinate that's most likely your problem

PB15:07:05

I am using 0.4.0

dpsutton15:07:23

which version of lein?

dpsutton15:07:53

there's your problem. go to 2.9.1 if possible. lein upgrade 2.9.1

PB15:07:04

OH man. That's unfortunate. Can't upgrade lein because our nexus repository doesn't use ssl 😕

dpsutton15:07:31

I think there’s a way to tell lein not to use it

PB18:07:23

Thanks for this. I've decided to see if I can do this with deps.edn!

PB18:07:20

Can anybody tell me how to set enable an alias when jacking in with emacs? (using clj-cli)

dpsutton18:07:56

Easy one off way is to give a prefix when jacking in and you can edit the command directly. Let me look up the Vars you can set in a second

PB18:07:07

Thank you!

dpsutton18:07:50

cider-lein-global-options for profiles and cider-clojure-cli-global-options for deps.edn aliases i think. https://docs.cider.mx/cider/basics/up_and_running.html#_customizing_the_jack_in_command_behaviour

thanks3 4
dpsutton18:07:10

if you want to have it automatic. these are usually set in dirlocals.el

PB18:07:28

Interesting. I don't have cider-clojure-cli-global-options

dpsutton19:07:13

are you on version 0.18? let me check out that branch and see what it was called at the time

PB19:07:55

I thought I was on 0.21.1

dpsutton19:07:55

cider-clojure-cli-parameters cider-lein-global-options ?

dpsutton19:07:23

that's nrepl i think. or did CIDER have that release. there's lots of versions 🙂

dpsutton19:07:32

in 0.21.0 i see cider-clojure-cli-global-options. in either case you can check out cider.el in your elpa directory around line 150 and see what they are called for you.

PB19:07:56

Hmm i see it in my cider.el file

PB19:07:24

M-x cider-version says 0.22.0-snapshot

PB19:07:02

package: 20190626.1317

dpsutton19:07:48

then you should see cider-clojure-cli-global-options

PB19:07:12

Yeah, I agree. I am a little confused