# numtide/flake-utils

Pure Nix flake utility functions [maintainer=@zimbatm]

Repository: https://github.com/numtide/flake-utils
Canonical: https://ross.abutalabs.com/products/flake-utils
Language: Nix
License: MIT
License Family: permissive
Topics: nix, flake, nix-flake
Last push: 2024-11-13T21:27:18+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2335, "days_push": 658, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1624, forks 83 (observed 2026-08-28T04:05:12.782090+00:00)

## What it is
A collection of pure Nix utility functions for writing Nix flakes, with no dependency on nixpkgs. It provides helpers like eachSystem and eachDefaultSystem to reduce boilerplate when generating per-system flake outputs.

## Use cases
- reduce boilerplate in flake.nix outputs
- iterate flake outputs over multiple systems
- customize the list of supported systems in a flake
- write nixpkgs-independent flake helpers
- avoid typos when referencing system strings in flakes

## When to choose
- you are authoring a Nix flake and want to avoid repetitive per-system boilerplate
- you want small, pure Nix functions without pulling in nixpkgs

## When to avoid
- you are not using Nix or Nix flakes
- you prefer writing flake outputs manually or using newer built-in Nix features

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools, build-tool
- domain: developer-tools, programming-languages
- platform: cross-platform
- tags: nix, nix-flakes, nixpkgs, linux, macos

## Member repositories
- numtide/flake-utils (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:12.782090+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:48:47.689977+00:00, confidence not recorded.
  - readme: https://github.com/numtide/flake-utils (fetched 2026-08-28T04:05:12.782090+00:00, sha 826123b95de6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
