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
assertmade it unable to detect a bug earlier - This bug seems to have allowed relative
gitflake 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 theflake.nixbase directory instead. - Supporting relative paths in
fetchTreewould add significant value. - This behavior was used as a workaround for lacking relative flake input or “subflake” support.
Improve support for relative path inputs by edolstra · Pull Request #10089 · NixOS/nix · GitHub
Reviewed
https://github.com/NixOS/nix/pull/12046
Worked on.