Fork me on GitHub
#cider
<
2016-01-05
>
malabarba00:01:06

Sorry, I mean ClojureScript REPL. Which one are you using?

bostonaholic02:01:29

cider + piggieback

bostonaholic02:01:40

default cljs repl for cider looks to be rhino

robert-stuttaford07:01:51

Cider 11’s *cider-result* appears to be printing #object[datomic.query.EntityMap “0xXXXXXX” “<a pr-str’d representation of the data>”] instead of the normal map output we got before. should i file an issue?

malabarba13:01:48

@robert-stuttaford yes please. I probably messed up somehow when I added a print-method for functions

robert-stuttaford15:01:14

and thank you for your wonderful contributions to the productivity of me and my team simple_smile

bozhidar15:01:44

CIDER 0.10.1 is out!

agile_geek16:01:57

@bozhidar: Firstly, I can't keep up with CIDER releases! They are coming so fast!. Secondly, I assume your felling better Bug?

bozhidar16:01:42

wish this was the case simple_smile

bozhidar16:01:54

but I’m well enough to push a few commits 😉

danmidwood16:01:57

Hey all, is there a pleasant way to change the function call used in cider-jack-in? I'd like to start the repl inside a nix shell. My current workflow is starting the repl from the terminal with nix-shell --run "lein repl" and then remote connecting, but since I'm not using the terminal any further, I'd like to get rid of it and jack straight in

danmidwood16:01:27

I've been looking through the elisp of cider, down through subr.el and the vars shell-file-name and shell-command-switch which are used in start-file-process-shell-command (in subr), but I'm not sure if that's the best way to do it. Especially because I have my nix env vars defined in my zsh config, which is then not loaded if I don't use the default shell-file-name value

danmidwood17:01:23

I managed it in the end with:

(setq cider-lein-command "nix-shell")
(setq cider-lein-parameters "-I nixpkgs=/Users/dan/.nix-defexpr/channels/nixpkgs --run \"lein repl :headless\"")

danmidwood17:01:47

It feels messy, to blat over the lein vars that way, but it works ¯\(ツ)

pesterhazy17:01:37

danmidwood: cool, thanks for sharing

pesterhazy17:01:12

you could have a simple wrapper, lein-nix (simple bash script)

danmidwood17:01:28

Yeah, that was my first thought, and it would have been a lot simpler and easier, but with the sacrifice of emacs config portability