nix-helpers

Mirror of http://chriswarbo.net/git/nix-helpers.git (by Warbo)

Nix-helpers Alternatives

Similar projects and alternatives to nix-helpers

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

nix-helpers reviews and mentions

Posts with mentions or reviews of nix-helpers. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-12.
  • NixOS RFC 136 accepted: A plan to stabilize the new CLI and Flakes incrementally
    11 projects | news.ycombinator.com | 12 Aug 2023
    Yes, to get Nixpkgs it's much faster to use `fetchTarball`.

    You're right that `builtins.fetchTarball` is faster than `builtins.fetchGit` (due to the ridiculous amount of commits in the Nixpkgs repo). I like to keep such definitions in a single, company-wide/project-agnostic git repo (what the Nix Pills series calls the "repository pattern"), and have individual projects import them via `builtins.fetchGit`.

    Many years ago we didn't have `builtins.fetchGit`, so had to use the 'fetchgit' function from Nixpkgs instead. That created a chicken-and-egg situation if we wanted to take the Nixpkgs version from some other git repo; hence needing to "bootstrap" via `(import { config = {}; }).fetchgit`, and cross our fingers that `NIX_PATH` wasn't set to some crazy value (which, of course, I would inevitably do... https://github.com/Warbo/haskell-te/blob/24475a229908caa3447... )

    Note that we need `config = {};` when importing Nixpkgs to avoid an impurity which tries to read files in $HOME. More recent versions of Nixpkgs also need `overlays = [];` to avoid another impurity (looks like this changed at Nixpkgs 17.03, according to https://github.com/Warbo/nix-helpers/blob/master/nixpkgs.nix )

  • The Curse of NixOS
    35 projects | news.ycombinator.com | 24 Jan 2022
    Where nixpkgs2105 is a pinned revision of the Nixpkgs repo, defined in another overlay. My current Nix config has pinned Nixpkgs versions going back to 2016. For example, here's a bunch of such overrides:

    https://github.com/Warbo/nix-config/blob/master/overrides/fi...

    At the moment I'm using niv to manage the pinned Nixpkgs versions (the 'repoXXXX' entries):

    https://github.com/Warbo/nix-helpers/blob/master/nix/sources...

Stats

Basic nix-helpers repo stats
2
8
7.5
3 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com