nix-diff VS niv

Compare nix-diff vs niv and see what are their differences.


Explain why two Nix derivations differ (by Gabriel439)


Easy dependency management for Nix projects (by nmattia)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
nix-diff niv
0 8
137 835
- -
4.0 4.7
about 1 month ago 29 days ago
Haskell Haskell
BSD 3-clause "New" or "Revised" License MIT License
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.


Posts with mentions or reviews of nix-diff. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning nix-diff yet.
Tracking mentions began in Dec 2020.


Posts with mentions or reviews of niv. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-22.
  • Compiling emacs is killing me | 2021-10-22
  • Ditch Your Version Manager | 2021-09-19
    This... This is laughable. How do I install ruby 2.6.8? Oh, there's no ruby_2_6_8, because of course there isn't. And this could be difference between a secure system and all your base are belong to us.

    And they call this reproducible builds?

    And that's before getting into the ridiculous

    --- start quote ---

    All the software that we installed depends on the specific version of the nixpkgs channel that we installed on our system [whose only version is a commit hash in a git repo]

    --- end quote ---

    So you need an extra tool [2] for, quote, "painless dependencies for Nix projects."

    Yes, sure. I'm definitely ditching my version managers in favor of this tool, that hasn't solved these issues in 18 years of its existence.



  • As an imperative package manager? | 2021-06-01
    What about something like this?
  • Fearless tinkering | 2021-05-21
    Here is link number 1 - Previous text "b'niv'" | 2021-05-21
    What is the upside of using Flakes instead of niv?
  • Niv: Easy dependency management for Nix projects | 2021-04-18
  • Niv: Painless Dependencies for Nix Projects | 2021-04-09
  • A minimal shell.nix is taking hours to build. | 2021-03-25

What are some alternatives?

When comparing nix-diff and niv you can also consider the following projects:

leksah - Haskell IDE

xmobar - A minimalistic status bar

update-nix-fetchgit - A program to automatically update fetchgit values in Nix expressions

ghcid - Very low feature GHCi based IDE

hadolint - Dockerfile linter, validate inline bash, written in Haskell


ihaskell - A Haskell kernel for IPython.

clock - High-resolution clock functions: monotonic, realtime, cputime.