nickel VS nix-index

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

nix-index

Quickly locate nix packages with specific files [maintainers=@bennofs @figsoda @raitobezarius] (by nix-community)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
nickel nix-index
46 11
2,137 715
4.1% 7.1%
9.5 5.6
2 days ago 10 days ago
Rust Rust
MIT License GNU General Public License v3.0 or later
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-index

Posts with mentions or reviews of nix-index. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-24.
  • Where to find SAR in the package manager?
    3 projects | /r/NixOS | 24 Jun 2023
    nix-index can be used to provide this functionality, and to automate this process you can use nix-index-database (setup instructions are in the README).
  • Nix journey part 0: Learning and reference materials
    11 projects | news.ycombinator.com | 1 Mar 2023
    Are you using flakes? AFAIK `command-not-found` does not work with them. See https://github.com/NixOS/nixpkgs/issues/171054 and https://discourse.nixos.org/t/why-isnt-there-an-official-bui...

    I think `nix-index` works as a replacement: https://github.com/bennofs/nix-index

  • spd-say on NixOS
    1 project | /r/NixOS | 20 Jan 2023
    If you are on another distro or mac os there is also nix-index
  • Nix Package Search
    2 projects | /r/NixOS | 5 Nov 2022
    nix-index is another option for searching for pkgs. You can search by name, or by specific files within a pkg.
  • Alternative to the "dnf provides"
    2 projects | /r/NixOS | 15 Oct 2022
  • Building a program in NixOS
    1 project | /r/NixOS | 4 Aug 2022
    You can use nix-locate from https://github.com/bennofs/nix-index to find files on NixOS:
  • What is the package to install the gsettings binary?
    1 project | /r/NixOS | 11 Jun 2022
    nix-index makes it trivial to find which package contains a given file.
  • How to properly setup git clang-format in a shell.nix
    2 projects | /r/NixOS | 6 Jun 2022
    There are two ways I know of: - If you use old-school channels, there's an index in the channel. In particular, the command-not-found hook is able to use that. In this particular case, you would have to guess that git will look for the git-clang-tools, and command-not-found that. This looks like it only works for programs, not arbitrary files. - In any case, you can use the more general nix-index. That's what I did because I use flakes.
  • An automatically-updated nix-index
    2 projects | /r/NixOS | 15 May 2022
    I use nix-index a lot to find which derivation a file belongs to, but building the index takes a while and so I end up not updating it very frequently.
  • Rant: I want nix, but I'm almost done
    2 projects | /r/NixOS | 29 Jan 2022
    Look at the library missing say X Use nix-locate to find the derivation that includes libX.dylib file (if it can’t find the macOS dylib version of the file try using the same name for linux by changing dylib for so) Add the derivation to you environmental and try again It will find the next missing library on the next compile.

What are some alternatives?

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

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

nix-index-database - Weekly updated nix-index database [maintainer=@Mic92]

nixos - My NixOS Configurations

colmena - A simple, stateless NixOS deployment tool

nix-gui - Use NixOS Without Coding

persway - Petite Puppeteer of Pandemonium - your very own Sway IPC Imp

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

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

cue - The home of the CUE language! Validate and define text-based and dynamic configuration

nix - Nix, the purely functional package manager

nixos-search - Search NixOS packages and options