diff options
author | Delan Azabani <delan@azabani.com> | 2024-07-02 07:20:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@localhost> | 2024-07-02 07:20:01 +0000 |
commit | 865a3732faca16a79bf24982011adf100de04463 (patch) | |
tree | 8021062dbf69743071847d4f3337f4be6ee984b1 /doc | |
parent | d3286d0990da111c536c2f879d8f9cbbd650ebae (diff) | |
parent | b2944d93a6d95810f0aef09e9ac44b95e2712554 (diff) |
Merge "Reject fully-qualified URLs in 'from' argument of `nix registry add`" into main
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual/change-authors.yml | 5 | ||||
-rw-r--r-- | doc/manual/rl-next/registry-add-shorthand-only.md | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/doc/manual/change-authors.yml b/doc/manual/change-authors.yml index 5894ce821..28a20b25f 100644 --- a/doc/manual/change-authors.yml +++ b/doc/manual/change-authors.yml @@ -44,6 +44,11 @@ cole-h: display_name: Cole Helbling github: cole-h +delan: + display_name: delan + forgejo: delan + github: delan + edolstra: display_name: Eelco Dolstra github: edolstra diff --git a/doc/manual/rl-next/registry-add-shorthand-only.md b/doc/manual/rl-next/registry-add-shorthand-only.md new file mode 100644 index 000000000..72f972b0a --- /dev/null +++ b/doc/manual/rl-next/registry-add-shorthand-only.md @@ -0,0 +1,10 @@ +--- +synopsis: "`nix registry add` now requires a shorthand flakeref on the 'from' side" +cls: 1494 +credits: delan +category: Improvements +--- + +The 'from' argument must now be a shorthand flakeref like `nixpkgs` or `nixpkgs/nixos-20.03`, making it harder to accidentally swap the 'from' and 'to' arguments. + +Registry entries that map from other flake URLs can still be specified in registry.json, the `nix.registry` option in NixOS, or the `--override-flake` option in the CLI, but they are not guaranteed to work correctly. |