nickel VS nix-doc

Compare nickel vs nix-doc and see what are their differences.

nix-doc

An interactive Nix documentation tool providing a CLI for function search, a Nix plugin for docs in the REPL, and a ctags implementation for Nix script (by lf-)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
nickel nix-doc
46 3
2,137 186
4.1% -
9.5 6.8
3 days ago about 1 month ago
Rust Rust
MIT License GNU Lesser General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nickel

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-04-06.
  • 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.
  • Rewrite it in Rust: Kubernetes
    8 projects | /r/rust | 3 Jun 2023
    Have you considered using a different language for templating? this could be a BIG selling point. Some good ones are cue-lang (though I haven't seen support for rust), kcl or nickel-lang.
  • Nickel v1.0.0
    1 project | news.ycombinator.com | 17 May 2023
  • Design rationale for the Nickel configuration language
    1 project | news.ycombinator.com | 27 Mar 2023

nix-doc

Posts with mentions or reviews of nix-doc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-02.
  • We want to make Nix better
    17 projects | news.ycombinator.com | 2 Sep 2022
    I love nix, I've been using it for the last 2 years, I have a very stable setup from these 2 years of effort [0], and I just can't recommend Nix for Linux beginners, why?

    It's not because of the nix language, It's not because of the CLI, it's because everything is scattered, you have to consult many places to find out how to do things with Nix, here is an example:

    Usually, when I need a new complex program, like Steam, I first check the system-wide configuration [1], the wiki [2] and the package list [3], if I just want it on my user, I need to check if Home Manager has an option [4], if it doesn't, I can try using the "home.packages" option. Now, if I need to override something on the package, I need to remember how to do it with [5] [6] (while checking the source code for the package in parallel to find the options).

    And then sometimes, on very rare occasions, I need to fine tune something with the nix language, so I need to check the builtins/lib docs [7], but some builtins are not there, so I need to either use nix-doc [8] or find the docs inside the code-bases [9] [10] (they are split between both repos)

    For me, this is one of the main pain points of using Nix / NixOS that needs to be solved.

    [0] - https://github.com/shiryel/nixos-dotfiles

    [1] - https://search.nixos.org/options

    [2] - https://nixos.wiki/wiki/Steam

    [3] - https://search.nixos.org/packages

    [4] - https://mipmip.github.io/home-manager-option-search/

    [5] - https://nixos.org/manual/nixos/stable/#sec-customising-packa...

    [6] - https://nixos.org/guides/nix-pills/nixpkgs-overriding-packag...

    [7] - https://teu5us.github.io/nix-lib.html

    [8] - https://github.com/lf-/nix-doc

    [9] - https://github.com/NixOS/nix

    [10] - https://github.com/NixOS/nixpkgs

  • Our Roadmap for Nix
    22 projects | news.ycombinator.com | 7 Aug 2022
  • nix-doc v0.5 released, adding ctags generation for Nix scripts
    1 project | /r/Nix | 3 Jul 2021

What are some alternatives?

When comparing nickel and nix-doc you can also consider the following projects:

rnix-lsp - WIP Language Server for Nix! [maintainer=@aaronjanse]

nix-index - Quickly locate nix packages with specific files [maintainers=@bennofs @figsoda @raitobezarius]

nixos - My NixOS Configurations

deploy-rs - A simple multi-profile Nix-flake deploy tool.

nix-gui - Use NixOS Without Coding

colmena - A simple, stateless NixOS deployment tool

AppImageKit - Package desktop applications as AppImages that run on common Linux-based operating systems, such as RHEL, CentOS, openSUSE, SLED, Ubuntu, Fedora, debian and derivatives. Join #AppImage on irc.libera.chat

nix-portable - Nix - Static, Permissionless, Installation-free, Pre-configured

nix - Nix, the purely functional package manager

nix - Nix, the purely functional package manager

nix-home - Nix + HM = <3

kubernix - Single dependency Kubernetes clusters for local testing, experimenting and development