2024-02-19 Nix team meeting minutes #126

Pluggable authentication by edolstra · Pull Request #9857 · NixOS/nix · GitHub

Installables syntax

Extra proposal:

  • Allow arbitrary fetcher refs as argument to --tree

    • --tree <fetchref>#attr.path, similar to --file $(nix flake prefetch <fetchref>) attr.path
    • Does --tree /path copy /path into the Nix store? NO (as an exception/optimization)
    • Does this imply --impure? YES
    • Note: the CLI already supports something like this: nix build --file flake:github:NixOS/nix - we can remove support for this when we have --tree
  • Search for a default.nix if no flake.nix found (unless there’s an explicit --flake)

    • Warn if not explicitly specified (at least for the time being)
  • For --expr

    • --expr "Nix expression"
  • Decision:

Cleaning up experimental features

FetchTree

  • @thufschmitt: We committed to stabilize after the previous release. Should do it now

NoURlLiterals

Shouldn’t be an “experimental” feature, rather a deprecated one.
Need a mechanism for deprecated features

FetchClosure

Already discussed in length. Recent behaviour change.

Depending on the feedback after that change, we could stabilize at leat part of it.
The pure CA part should (hopefully) be good to go

ReplFlake

Was here to provide a smooth transition for a breaking change.
Should flip the switch now.

@tomberek will take over.

AutoAllocateUids

  • Can remove the experimental flag (still won’t enable the option by default)
  • Doesn’t fully work on MacOS (because can’t fake /etc/passwd, so breaks whoami and friends)
2 Likes