3 ms·
Man i can't wait for Nickel to work with Nix. Feels impossibly difficult though. I often think that making Nix logic + configuration is just a mistake. I kinda
by unshavedyak 3y ago
Man i can't wait for Nickel to work with Nix. Feels impossibly difficult though.
I often think that making Nix logic + configuration is just a mistake. I kinda feel like i'd prefer something that output a JSON-like config, and that config was a deterministic instruction for my stuff.
I know why that sounds impossible or big or difficult or etc. but as a user, i often am writing something that walks and talks almost and so damn close to JSON. Most of it looks like simple configuration. But can i print a damn JSON object? Hell no. Because there's lazy function calls all over the place.
They managed to make something (and other similar langs) that looks like clean readable configuration, but acts like some obtuse bespoke logic where you can't know what anything is without running it - and running it to see output is weirdly difficult.
I am on Nix, but i kinda think there's more than one fatal flaw. I adore what they've done, but there has to be something better and more enjoyable as a system configuration.. i hope.
It's probably a tooling problem. I get that. But still.. i just want to see some configuration output. Why is that so hard?