Get the latest tech news

Nickel Modules


Implementing an equivalent to the NixOS module system in Nickel

One of the key features of Nickel is the merge system, which is a clever way of combining records, and allows defining complex configurations in a modular way. Because it has nearly zero support from the language side, no LSP server is truly able to understand it, meaning that things like autocompletion or in-editor error messages are very much best-effort, if they exist at all. And now everything gets completely consistent, and we can confidently write a fully modular configuration, with the assurance that the language will have our back and give us early warnings in case anything goes wrong.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Nickel Modules

Nickel Modules