nickel

Better configuration for less (by tweag)

Nickel Alternatives

Similar projects and alternatives to nickel

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better nickel alternative or higher similarity.

nickel discussion

Log in or Post with

nickel reviews and mentions

Posts with mentions or reviews of nickel. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-10-01.
  • NixOS is a good server OS, except when it isn't
    18 projects | news.ycombinator.com | 1 Oct 2024
    I find the nix language to be quite pleasant. There are some syntax quirks and types would be nice, but in general the “json with functions” vibe is imo great and a very nice fit for the domain. Lots of other modern config languages (e.g. dhall, jsonnet) have ended up in this part of the design space too.

    With that said tweag has been working on a kind of nix 2.0 / nix with types for a while with the aim (I think) of being able to use it in nixpkgs: https://github.com/tweag/nickel

  • Adding algebraic data types to Nickel
    3 projects | news.ycombinator.com | 7 Sep 2024
    There’s an issue for this :)

    https://github.com/tweag/nickel/issues/357

  • Nickel Modules
    2 projects | news.ycombinator.com | 26 Jun 2024
    I think the answer is yes and no. As a language (and as far as tooling is involved), I think Nickel is entirely suitable to fill the same role as the Nix language (maybe at the same scale as Nixpkgs the performance will need some work, but that's it).

    Unfortunately, being a Nix replacement involves much more than just being a good language for configuration. It requires to interact tightly with all the existing Nix code that has been produced (basically, Nixpkgs). This is the hard part, which isn't there yet. Some design document that was started a long time ago can give you more details: https://github.com/tweag/nickel/pull/693.

    The best current take is organist (https://github.com/nickel-lang/organist), which is much more limited in scope (basically development shell), but has some form of interaction with Nix and Nixpkgs, albeit limited. I think the recent development around json-schema-to-nickel and the availability of JSON schemas for NixOS modules (as mentioned at the end of the post) might make it realistic to write boring NixOS configs in Nickel (and have the nice in-LSP validation), but we haven't had the time to try this combination yet.

  • Nix – A One Pager
    6 projects | news.ycombinator.com | 6 Apr 2024
    So, its key features are:

    1. domain-specific: designed for conveniently creating and composing derivations. This reason alone already justifies a new language, or an embedded domain-specific language (such as the Guile/Scheme for guix), or a mix of both (Starlark, the build language of Bazel embedded in a restricted Python-variant).

    2. purely functional: this ties well into the philosophical backing of Nix the package manager, which aims to be purely functional, also known as hermeticity in other build systems (Bazel).

    3. lazily evaluated: similar to other build systems (including Bazel), so that you can build only what you need on demand.

    4. dynamically typed: this one is controversial. Being dynamically typed—in other words, not developing a type system—gets Nix out of the door first. But users often complain about the lack of proper types and modularity. There are experiments to address this, such as Nickel (https://github.com/tweag/nickel).

    It is understandable that a one-pager may not have space for the whys.

  • 10 Ways for Kubernetes Declarative Configuration Management
    23 projects | dev.to | 1 Jan 2024
    Nickel:Nickel is a straightforward configuration language aimed at automatically generating static configuration files. Essentially, it's akin to JSON with the addition of functions and types.
  • Show HN: Togomak – declarative pipeline orchestrator based on HCL and Terraform
    12 projects | news.ycombinator.com | 24 Oct 2023
    Also look at nickel which is an evolution of nix. It's my favorite in this space.

    nickel-lang.org

    https://github.com/tweag/nickel

  • Show HN: Flake schemas – teaching Nix about your flake outputs
    2 projects | news.ycombinator.com | 31 Aug 2023
  • What config format do you prefer?
    11 projects | /r/rust | 4 Jul 2023
    Or this https://github.com/tweag/nickel
  • Nickel 1.0
    1 project | news.ycombinator.com | 16 Jun 2023
    Nickel is a programming language. While HCL is just a configuration format, so not really comparable.

    Here's a comparison with similar tools: https://github.com/tweag/nickel#comparison

  • Announcing Nickel 1.0, a configuration language written in (and usable from) Rust
    11 projects | /r/rust | 8 Jun 2023
    As for 'providence', I suppose you meant provenance :) it's been delayed because this was less critical for 1.0 to decide on or to implement (as it: it doesn't break backward compatibility in any way to add this feature in the short term), but this is very much on the roadmap: Issue #235. That's a must-have in a language with merging like Nickel.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 13 Jan 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic nickel repo stats
49
2,459
9.3
4 days ago

tweag/nickel is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of nickel is Rust.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you konow that Rust is
the 5th most popular programming language
based on number of metions?