2024-12-23 Nix team meeting minutes #205

Monday work session

Attendees: @tomberek @edolstra @roberth

Is winter the season of flakes?

Flake input `git+file:./${submodule}` no longer works · Issue #9708 · NixOS/nix · GitHub

Debugged. Conclusion:

  • Name shadowing in an assert made it unable to detect a bug earlier
  • This bug seems to have allowed relative git flake inputs to be resolved against the current working directory (as in POSIX), and this tends to work out ok in the context of flakes, but is the wrong behavior, as it should resolve against the flake.nix base directory instead.
  • Supporting relative paths in fetchTree would add significant value.
  • This behavior was used as a workaround for lacking relative flake input or “subflake” support.

Improve support for subflakes by edolstra · Pull Request #10089 · NixOS/nix · GitHub

Reviewed

CLI symlink fixes by roberth · Pull Request #12046 · NixOS/nix · GitHub

Worked on.

2 Likes