!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

200 Members
Running Doom Emacs with Nix | You probably want https://github.com/nix-community/nix-doom-emacs42 Servers

Load older messages


SenderMessageTime
11 Oct 2022
@k0kada:matrix.orgk0kada (he/him)
In reply to @jamie-howlie:monero.social
I do not have this issue if I use doom emacs directly (without nix-doom)
This does not say much, for example, which commit of doomemacs are you using?
20:29:02
@k0kada:matrix.orgk0kada (he/him)I would say that there is a good change that the problem is our now kinda old pin of doomemacs20:29:31
@k0kada:matrix.orgk0kada (he/him) However, the issue right now involves some expertise in Emacs that I don't really have to fix, and ckie (they/them) seems quite busy too 20:30:09
@hdzki:hdzki.kozow.comhdzki ⚡️
In reply to@jamie-howlie:monero.social
I do not have this issue if I use doom emacs directly (without nix-doom)
I'm kinda working on my end, it's not crashing at least
21:13:10
@hdzki:hdzki.kozow.comhdzki ⚡️lsp-mode + rust-analyzer21:13:18
@hdzki:hdzki.kozow.comhdzki ⚡️ although i'm just using lsp-rust-analyzer-inlay-hints-mode, it's not giving me useful hints but there are hints anyways 21:13:47
12 Oct 2022
@jamie-howlie:monero.social@jamie-howlie:monero.social
In reply to @hdzki:hdzki.kozow.com
although i'm just using lsp-rust-analyzer-inlay-hints-mode, it's not giving me useful hints but there are hints anyways
I'm now using doom without nix-doom and all inferenced types are shown to me in my code.
08:23:21
@ckie:ckie.devmei 🌒&
Error processing message (wrong-type-argument stringp [#s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("value" "fn default" "location" #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("uri" "file:///home/ckie/git/desk-fcobs/ledc/src/main.rs" "range" #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("start" #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("line" 49 "character" 7)) "end" #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("line" 49 "character" 14))))))))]).
Lsp-Rust-Analyzer-Inlay-Hints mode disabled in current buffer
Lsp-Rust-Analyzer-Inlay-Hints mode enabled in current buffer
Error processing message (wrong-type-argument stringp [#s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("value" "fn default" "location" #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("uri" "file:///home/ckie/git/desk-fcobs/ledc/src/main.rs" "range" #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("start" #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("line" 49 "character" 7)) "end" #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("line" 49 "character" 14))))))))]).
08:25:55
@ckie:ckie.devmei 🌒& k0kada: a better straight stub would fix most of these issues 08:28:29
@ckie:ckie.devmei 🌒&but emacs is not an enjoyable thing for me 08:28:46
@ckie:ckie.devmei 🌒&lisp pile too big..08:28:57
@ckie:ckie.devmei 🌒&(and doom "helpfully" catches the stack trace and trims most of it, so that's a thing)08:31:23
@yusu:matrix.orgJosefine joined the room.11:27:11
@hab25:matrix.org@hab25:matrix.org
In reply to @qe7ftcyrpg:matrix.org
If you make a minor change to config.el, nix has to rebuild a lot of things. For me it builds 30 minutes to 1 hour, if I remember correctly.
could content-adressed nix be a big help regarding this?
17:40:35
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
lisp pile too big..
Nothing against Lisp, I programmed in Clojure for a time in my previous company and I would say that I love the language (probably still my favorite language, however Nix is a close second)
19:39:13
@k0kada:matrix.orgk0kada (he/him)But I hate Emacs Lisp19:39:21
@k0kada:matrix.orgk0kada (he/him)Too much state19:39:30
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
(and doom "helpfully" catches the stack trace and trims most of it, so that's a thing)

Yeah, there is that

And to think that I would find something worse the Clojure stack traces....

19:40:09
@ckie:ckie.devmei 🌒&i think i played with clojure or maybe racket a few times but no good library support like rust..19:40:13
@k0kada:matrix.orgk0kada (he/him)I need to try Rust again, but I much prefer dynamic languages 19:41:11
@k0kada:matrix.orgk0kada (he/him)Specially ones that are flexible enough to allow me typing when I want/need19:41:53
@ckie:ckie.devmei 🌒&having to look up types in my head kind of breaks my flow19:42:35
@ckie:ckie.devmei 🌒&rust-analyzer is great19:42:39
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
having to look up types in my head kind of breaks my flow

Yeah, I mean nowadays I like to have some kinda of typing

I just feel that most type systems are to restrictive

19:43:30
@ckie:ckie.devmei 🌒&rust takes an interesting direction with that19:43:45
@k0kada:matrix.orgk0kada (he/him)I actually kinda like mypy for typing Python19:43:45
@ckie:ckie.devmei 🌒&like from that pov it's very restrictive but it seems the more restrictive it is the freer it is in another way19:44:02
@k0kada:matrix.orgk0kada (he/him)Or for Clojure I like spec/schema19:44:10
@ckie:ckie.devmei 🌒&like it's more expressive because it doubles down on forcing you to use it19:44:23
@ckie:ckie.devmei 🌒&still not there imo, but is a neat experience to have19:44:39

Show newer messages


Back to Room ListRoom Version: 9