nowfound

Life & fun · August 31, 2023

Flake schemas – teaching Nix about your flake outputs

Flake schemas enable you to teach Nix about new flake output types.

Flake schemas – teaching Nix about your flake outputs launched on August 31, 2023 with 32 votes, #1,498 of 4,347 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 3 years on.

In plain words

Flake schemas is a tool that helps developers document and validate the outputs of Nix flakes. It allows flake creators to define what their flakes produce and enables consumers to understand flake contents at a glance. The tool is designed for Nix users working with flakes who need clearer organization and verification of their project outputs.

written from the facts on this page · September 2026

From the sources

Flakes are a generic way to package Nix artifacts. Flake output attributes are arbitrary Nix values, so they can be packages , NixOS modules , CI jobs , and so on. While there are a number of “well-known” flake output types that are recognized by tools like the nix CLI — nix develop , for example, operates on the devShells output—nothing prevents you from defining your own flake output types. Unfortunately, such “non-standard” flake output types have a big problem: tools like nix flake show and nix flake check don’t know anything about them, so they can’t display or check anything about those outputs. The nixpkgs flake, for instance, has a lib output that Nix knows nothing about: This was a…from determinate.systems

Does a similar job

all alternatives →

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, August 2023

the whole month →
  • Resend▲1,325

    An entire collection of pre-built components with a much faster development experience.

    Dev tools · 2023 · resend.com

  • STORI AI▲1,316

    Your ideas become visually compelling branded social posts

    AI · 2023 · storiai.com

  • Kombai▲1,079

    A new AI model that you can prompt with UI designs

    AI · 2023 · kombai.com

  • Understand your audience without 50 interviews

    AI · 2023 · founderpal.ai

  • Lottielab▲869

    Create and ship lottie animations to sites and apps faster

    Dev tools · 2023 · lottielab.com

  • Outlines is a Python library that focuses on text generation with large language models. Brandon and I are not LLM experts and started the project a few months ago because we wanted to understand better how the generation process works. Our original background is probabilistic, relational and symbolic programming. Recently we came up with a fast way to generate text that matches a regex (https://blog.normalcomputing.ai/posts/2023-07-27-regex-guide...). The basic idea is simple: regular expressions have an equivalent Deterministic-Finite Automaton (DFA) representation. We…

    AI · 2023 · github.com