lix/doc/manual/rl-next
Delan Azabani b2944d93a6 Reject fully-qualified URLs in 'from' argument of nix registry add
We previously allowed you to map any flake URL to any other flake URL,
including shorthand flakerefs, indirect flake URLs like `flake:nixpkgs`,
direct flake URLs like `github:NixOS/nixpkgs`, or local paths.

But flake registry entries mapping from direct flake URLs often come
from swapping the 'from' and 'to' arguments by accident, and even when
created intentionally, they may not actually work correctly.

This patch rejects those URLs (and fully-qualified flake: URLs), making
it harder to swap the arguments by accident.

Fixes #181.

Change-Id: I24713643a534166c052719b8770a4edfcfdb8cf3
2024-06-29 05:11:31 +00:00
..
.gitkeep release: release notes for 2.90.0 2024-06-15 18:46:18 -07:00
build-dir.md Add build-dir setting, clean up default TMPDIR handling 2024-06-24 11:30:32 +03:00
multiline-log-format.md libmain: add progress bar with multiple status lines 2024-06-22 14:20:27 +02:00
nix-copy-is-fast.md Add some release notes for things we did 2024-06-24 16:26:12 -07:00
old-protocol-removal.md Add some release notes for things we did 2024-06-24 16:26:12 -07:00
registry-add-shorthand-only.md Reject fully-qualified URLs in 'from' argument of nix registry add 2024-06-29 05:11:31 +00:00
repl-complete-colon.md repl: implement tab completing :colon commands 2024-06-17 13:08:02 +00:00
sanitizers.md Add some release notes for things we did 2024-06-24 16:26:12 -07:00