flake: add flake feedback info for nix devs/readers

This commit is contained in:
colin 2023-01-14 23:20:38 +00:00
parent 40fc37930f
commit c0f76ea8d8
1 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,13 @@
# docs:
# FLAKE FEEDBACK:
# - flake input url schemes (like `github:nixos/nixpkgs`, or `nixpkgs/nixos-22.11`) are confusing and opaque.
# - use established URI formats like https://github.com/<owner>/<repo>.
# - or reuse `fetchGit*` idioms from nixpkgs.
# - but please don't just invent something new.
# - need a way to apply local patches to inputs.
# - this could be part of the `inputs` proper, or something like `builtins.applyPatches`.
#
#
# DEVELOPMENT DOCS:
# - <https://nixos.wiki/wiki/Flakes>
# - <https://serokell.io/blog/practical-nix-flakes>