niv

Easy dependency management for Nix projects (by nmattia)

Niv Alternatives

Similar projects and alternatives to niv

  1. nixpkgs

    1,031 niv VS nixpkgs

    Nix Packages collection & NixOS

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. nix

    408 niv VS nix

    Nix, the purely functional package manager

  4. age

    230 niv VS age

    A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.

  5. nickel

    51 niv VS nickel

    Better configuration for less

  6. nix-direnv

    29 niv VS nix-direnv

    A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]

  7. repology-rules

    Package normalization ruleset for Repology

  8. poetry2nix

    Convert poetry projects to nix automagically [maintainer=]

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. .dots

    26 niv VS .dots

    just my .dotfiles

  11. anarki

    24 niv VS anarki

    Community-managed fork of the Arc dialect of Lisp; for commit privileges submit a pull request.

  12. nixery

    18 niv VS nixery

    Container registry which transparently builds images using the Nix package manager. Canonical repository is https://cs.tvl.fyi/depot/-/tree/tools/nixery

  13. flake-utils-plus

    Use Nix flakes without any fluff.

  14. sops-nix

    14 niv VS sops-nix

    Atomic secret provisioning for NixOS based on sops

  15. leksah

    4 niv VS leksah

    Haskell IDE

  16. update-nix-fetchgit

    A program to automatically update fetchgit values in Nix expressions

  17. flake-utils

    8 niv VS flake-utils

    Pure Nix flake utility functions [maintainer=@zimbatm]

  18. ghcid

    13 niv VS ghcid

    Very low feature GHCi based IDE

  19. rnix-lsp

    7 niv VS rnix-lsp

    Discontinued WIP Language Server for Nix! [maintainer=@aaronjanse]

  20. elm-make

    0 niv VS elm-make
  21. lorri

    6 niv VS lorri

    Discontinued Your project's nix-env

  22. nixkell

    5 niv VS nixkell

    A simple Nix-Haskell skeleton

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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

niv discussion

Log in or Post with

niv reviews and mentions

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 2025-02-21.
  • NixOS. Managing secrets with sops-nix
    4 projects | dev.to | 21 Feb 2025
    For use on a local machine. We will use niv to install sops-nix.
  • Using niv to Manage Haskell Dependencies
    5 projects | dev.to | 6 Aug 2024
    Sometimes, nixpkgs does not have the Haskell package version I need. In this case, I override the package with a custom one in the Haskell package set. I use niv to pin the version of the package I want to use. If I want to add it from GitHub, that is easy:
  • NixOS + Haskell best practices circa March 2023
    6 projects | /r/haskell | 7 Mar 2023
    niv
  • Pulling themes from a git project: the nix way?
    1 project | /r/NixOS | 9 Oct 2022
    Flakes work. An alternative is niv which was once popular and provides a good developer experience.
  • What are the biggest Pain Points with NIX? And what makes it worth the pain?
    2 projects | /r/NixOS | 17 Aug 2022
    Essentially you can just think of it as a standardized default.nix/shell.nix with built-in Niv integration.
  • Our Roadmap for Nix
    22 projects | news.ycombinator.com | 7 Aug 2022
    I agree that the FP part is not the only issue. It's that the community feels a bit more academic/I'll fix this for myself in the way that works best for me.

    You can indeed achieve some reproducibility with Docker. It's tricky though, as you'd have to pin exact package versions of software. If you'd `FROM ubuntu:$VERION`, and would run an `apt-get update`, you're not guaranteed to get the same software.

    Nix is like ZFS, as that it breaks the wall between two previously distinct area's. Those being building software, and installing/configuration software on your OS. It's quite different from the snapshot-everything methodology that Docker uses. Yeah, one can split in multi-stage images etc, but than you'll be keeping track of which dependencies need to be moved between the stages yourself, in a manner that cannot be abstracted away, so you're doomed to repeat the same patterns over and over again.

    People also state that LVM + ext3 is more than sufficient compared to the complexity of ZFS. They miss out on the fact on how much more fine grained solutions are possible with ZFS.

    I've used niv [0] before flakes arrived, and am actually still using that instead of flakes. The experimental nature of them has scared me away from them, as I'm not daily involved in this ecosystem at the moment.

    [0] https://github.com/nmattia/niv#niv

  • Simplest way to set up neovim
    5 projects | /r/NixOS | 26 Jun 2022
    You can use something like Niv to manage additional sources. I use it to fetch some Emacs packages, for example ligature.el. Then you update the package using $ niv update.
  • Unstable vs Stable channels
    3 projects | /r/NixOS | 6 Jun 2022
    One thing that made this easier was switching from using Nix channels to explicitly pinning my dependencies with Niv. I honestly never fully understood how channels worked, and it's just much nicer to have everything specified in my Git repo. The exact commit of Nixpkgs that I'm using is in my sources.json file, so "reverting" just means checking out an older commit of my configs from Git then running nixos-rebuild switch. If I were redoing my dotfiles today I'd probably use Nix Flakes rather than Niv, but I suspect that Niv is still an easier option to get started with.
  • Remove unused niv packages
    1 project | /r/NixOS | 5 Feb 2022
    Does someone know of a way to remove unused pinned packages via [niv](https://github.com/nmattia/niv)?
  • How to downgrade single package?
    2 projects | /r/NixOS | 31 Jan 2022
    Pin nixpkgs, and version control it. If you're using flakes, then just version control the flake.lock alongside your configuration. If you're not using flakes, you can use niv to easily pin nipxkgs, at the expense of some boiler plate.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 13 May 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Stats

Basic niv repo stats
18
1,706
5.2
2 months ago

nmattia/niv is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of niv is Haskell.


Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Haskell is
the 25th most popular programming language
based on number of references?