flake-parts VS nvfetcher

Compare flake-parts vs nvfetcher and see what are their differences.

flake-parts

❄️ Simplify Nix Flakes with the module system (by hercules-ci)

nvfetcher

Generate nix sources expr for the latest version of packages (by berberman)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
flake-parts nvfetcher
5 6
586 149
9.0% -
7.5 5.9
14 days ago 12 days ago
Nix Haskell
MIT 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.

flake-parts

Posts with mentions or reviews of flake-parts. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-15.
  • Nix is a better Docker image builder than Docker's image builder
    21 projects | news.ycombinator.com | 15 Mar 2024
    There are attempts like

    https://flake.parts/

    or

    https://github.com/nix-community/flakelight

    Their aim is to create an ecosystem of reusable Nix libraries. But it is tiny.

  • Nix noob question
    2 projects | /r/Nix | 6 Jul 2023
    You can also just install flakes doing nix profile install . I wrote a tool to make it a bit easier, npt but it's completely optional. Once you install the packages with nix profile. Then in your repos you can use a flake with a devShell and run nix develop. Check https://flake.parts to write your flakes.
  • I'm getting on the hype train. What do you recommend to beginner?
    4 projects | /r/NixOS | 25 Jun 2023
    Definitely use flakes from the get-go. It's much more sane. Nix's documentation can be unorganized, but read through it when you can. Modules and other projects tend to have their own documentation as well, like Home Manager and flake-parts
  • Why you don't need flake-utils
    4 projects | /r/NixOS | 21 May 2023
    That's not a typo, there OP is referring to https://github.com/hercules-ci/flake-parts

nvfetcher

Posts with mentions or reviews of nvfetcher. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-21.
  • Why you don't need flake-utils
    4 projects | /r/NixOS | 21 May 2023
    Pinning can be done without flakes, be it manually or with codegen (nvfetcher)
  • Accessing contents of non-flake repo input to a flake?
    2 projects | /r/NixOS | 14 Feb 2023
    You should instead use the regular fetchGit, fetchFromGitHub etc. fetchers in fairly vanilla code, and yes, that often means dealing with checksums in some form. If you truly just want to yeet the latest revision into place no matter what it is, there are ways to automate that still, such as berberman/nvfetcher, or Mic92/nix-update.
  • Will you move from Packer to Lazy ?
    8 projects | /r/neovim | 5 Feb 2023
    Yes, however one downside is that, afaik, the inputs are downloaded eagerly, not lazily. Alternatively there are things like nix-update and nvfetcher.
  • Nix VSCode Marketplace
    4 projects | /r/NixOS | 12 Jul 2022
    The fetcher for this is https://github.com/berberman/nvfetcher. And if you want to simply map all the sources to extension packes, you could use http://github.com/divnix/devos-ext-lib and follow the readme. This is how I do it.
  • Nix flake of Vim/Neovim plugins, part of them are auto-generated from Awesome Neovim
    7 projects | /r/NixOS | 28 Dec 2021
    It has support for passthru so you can expose description, homepage and other meta attributes. You (currently) can't directly pass a attribute set to the nix source because nvfetcher is using string interpolation to generate it, so only string is allowed. There is a tracking issue for this: github.com/berberman/nvfetcher/issues/40. For now, you can use mapAttrs sources (sources = import ./_sources/generated.nix { inherit (final) fetchurl fetchgit fetchFromGitHub; }) to generate the appropriate meta from passthru.

What are some alternatives?

When comparing flake-parts and nvfetcher you can also consider the following projects:

nix-beam-flakes - Nix-based BEAM toolchain management

flake-awesome-neovim-plugins - Nix flake of Awesome Neovim plugins

dev-templates - Dev environments for numerous languages based on Nix flakes [maintainer=@lucperkins]

openvsx - An open-source registry for VS Code extensions

treefmt-nix - treefmt nix configuration

devos-ext-lib - A kick ass library to dominate your Extensions (with DevOS).

haumea - Filesystem-based module system for Nix [maintainer=@figsoda]

LazyVim - Neovim config for the lazy

nixt - Simple unit-testing for Nix [maintainer=@Lord-Valen]

nixos-configuration

Nix-Config - My Nix Config

commander-cli - A simple library I wrote to allow me to quickly and easily construct command line interfaces.