Remix.run Logo
oasisaimlessly 5 days ago

Instead, put up with a flavor of Scheme that looks suspiciously like Nix with some extra parentheses...

eikenberry 5 days ago | parent | next [-]

How the errors/debugging compare? From what I've read this is the main pain point with Nix where a more mature language like Guile should have a much better experience here. The article touches on this but I'd be curious of a more extensive comparison about this aspect.

assbuttbuttass 5 days ago | parent | next [-]

Just a personal anecdote, but the errors from Guix are terrible. I had to reinstall because I couldn't figure out the scheme errors for my system config

Pay08 4 days ago | parent [-]

It's generally a problem with Guile. If you get decently good with Geiser or stare at the stack traces long enough, you can figure out the problem but I shouldn't have to do either.

anthk 5 days ago | parent | prev [-]

Emacs + Geiser can do everything from a REPL in order to debug it. Emacs and Guile integration both come for free since decades.

bsder 5 days ago | parent | prev | next [-]

And which an LLM/AI model can apply the huge training set of Lisp/Scheme to help solve your problem.

Nixlang is so infuriatingly obtuse that I generally have to fire up Discord and bug the local Nix acolyte when something goes wrong. I've bounced Nixlang off of the LLM/AIs, but I have learned that if the AI doesn't give you the correct answer immediately for Nixlang then you need to stop; everything forward will be increasingly incorrect hallucinations.

I suspect LLM/AIs will hallucinate far, far less with the Scheme from Guix.

MarsIronPI 4 days ago | parent | prev [-]

What? From what I've seen Nix configs and Guix configs look nothing alike in terms of structure. Guix uses Scheme modules whereas Nix modules are just fancy dicts merged together lazily. Which is sad because I like Lisps but I prefer the Nix way of structuring the config.