nix-book VS flake-utils

Compare nix-book vs flake-utils and see what are their differences.

nix-book

Nix documentation – centralized community online learning resource for Nix (by NixOS)

flake-utils

Pure Nix flake utility functions [maintainer=@zimbatm] (by numtide)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
nix-book flake-utils
5 8
209 1,018
- 3.1%
0.6 5.8
about 1 year ago about 2 months ago
Nix
GNU General Public License v3.0 or later 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.

nix-book

Posts with mentions or reviews of nix-book. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-31.
  • A configuration management system for pets, not cattle
    6 projects | news.ycombinator.com | 31 Oct 2022
    This seems more approachable than NixOS/Guix, which I see as state or the art for declarative hosts.

    https://discourse.nixos.org/t/documentation-team-flattening-... aims to flatten the learning curve for NixOS.

  • Our Roadmap for Nix
    22 projects | news.ycombinator.com | 7 Aug 2022
    We're onto the pedagogy thing. Check out the Nix book efforts: https://discourse.nixos.org/t/documentation-team-flattening-....

    Regarding the language and "configurations" specifically, you might like what we do with Nickel: https://github.com/tweag/nickel. Research project showing a potential future for Nix.

  • Why the Windows Registry sucks technically (2010)
    6 projects | news.ycombinator.com | 29 Jul 2022
    Wouldn't say there's a steep learning curve for the language itself, it's pretty easy to get a grasp around it imo. Here's a helpful page I used to quickly get familiar with the language: https://github.com/tazjin/nix-1p

    What's rather messy about Nix is nixpkgs with its helper functions all over the place alongside pretty shallow / non-existent documentation (which is unrelated to the language). Thankfully they've started to work on that recently: https://discourse.nixos.org/t/documentation-team-flattening-...

  • Gui installer (Calamares) seems to be available in the unstable iso
    1 project | /r/NixOS | 3 Jun 2022
    yess https://github.com/NixOS/nix-book
  • How should nix be used?!
    2 projects | /r/Nix | 24 May 2022
    there are efforts to better document the whole ecosystem (https://github.com/NixOS/nix-book)

flake-utils

Posts with mentions or reviews of flake-utils. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-29.
  • Nix Flakes
    5 projects | /r/NixOS | 29 Dec 2022
  • Our Roadmap for Nix
    22 projects | news.ycombinator.com | 7 Aug 2022
    The ‘flake-utils’ readme is a pretty good jumping off point: https://github.com/numtide/flake-utils

    I have this or that nitpick with FL and FLP but overall it’s very solid stuff. FLP is a little more “magical”, and that’s not always the best starting out, but you really can’t go wrong with either.

  • Rust Environment and Docker Build with Nix Flakes
    6 projects | dev.to | 18 May 2022
    We added two inputs, the first is nixpkgs which lets us specify which version of nixpkgs we should use. There are many thousands of packages in the nixpkg repository, and they are updated often so here will use the unstable branch. We also added flake-utils which helps us generalize the flake to support multiple systems, not just Linux.
  • Getting Started Using Nix Flakes As An Elixir Development Environment
    2 projects | dev.to | 9 Jan 2022
    The inputs is how you can import external sources of other flakes into the flake project you have. In other words, any project you may need or tools required to get started, this is where you will define their source. Example below is using the standard nixpkgs and a tool called flake-utils, which provides a set of functions to make flake nix packages simpler to set up without external dependencies.
  • Flake equivalent to `nix-shell --pure`?
    1 project | /r/NixOS | 5 Jan 2022
    I'm not sure what nix-shell --pure does, but is it equivalent to using a flakes.nix in your projects? Ie i use https://github.com/numtide/flake-utils and direnv to replicate the old shell.nix with a Flakes setup. Per project i have a flakes.nix and a flakes.lock, so it feels just like my old shell.nix setup, but using flakes instead.
  • Workspace Management With Nix Flakes: Jupyter Notebook Example
    4 projects | dev.to | 30 Oct 2021
    A Nix Flake is just an object - check out those surrounding curly braces. This object has two keys, inputs and outputs. The inputs are where we define the flake's dependencies and where to find all the tools we use. This one has two, nixpkgs and flake-utils. Each of these just points to a GitHub URL, and if you follow those links, you'll see each repo provides its own flake.nix. The outputs of each remote flake get piped into the inputs of my flake, so we can use what they provide.
  • How to transition from shell.nix to flake.nix?
    4 projects | /r/NixOS | 28 Oct 2021
    You can easily transition your shell.nix (and default.nix) to a flake-based one by using flake-utils and flake-compat. The former is actually unnecessary, but I would recommend it for typical project environments. Unless you have an impure dependency, this transition would be easy.
  • Is there a way to use flakes to nix run emacsgcc?
    3 projects | /r/NixOS | 31 May 2021
    Flakes can provide different types of things: - some flakes provide applications that you can nix run, - some flakes provide functions that you can import (e.g. https://github.com/numtide/flake-utils), - some flakes provide overlays to use with nixpkgs (e.g. that emacs-overlay you posted).

What are some alternatives?

When comparing nix-book and flake-utils you can also consider the following projects:

nickel-nix - An experimental Nix toolkit to use nickel as a language for writing nix packages, shells and more. [Moved to: https://github.com/nickel-lang/organist]

emacs-overlay - Bleeding edge emacs overlay [maintainer=@adisbladis]

dirs-rs - a low-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows

flake-utils-plus - Use Nix flakes without any fluff.

sqlfs - Sqlite FUSE filesystem with sqlcipher support

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

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

solana-nix - The Solana CLI tools packaged up with Nix

libsqlfs - a library that implements a POSIX style filesystem on top of an SQLite database

nixos - A fully automated replicable nixos configuration set

nixpkgs - Nix Packages collection & NixOS