diff options
author | julia <midnight@trainwit.ch> | 2024-05-15 19:11:32 +1000 |
---|---|---|
committer | julia <midnight@trainwit.ch> | 2024-05-18 12:27:23 +1000 |
commit | 7a3745b07607d3fc85fb5a0a08832ab078080884 (patch) | |
tree | bc82a0a28077bb320a7a32c9d4bc7de9b213b47d /doc/manual/rl-next/deprecate-online-flake-registry.md | |
parent | 236466faf385f98f3639ec04147c171774d03726 (diff) |
Deprecate the online flake registries and vendor the default registry
Fixes #183, #110, #116.
The default flake-registry option becomes 'vendored', and refers
to a vendored flake-registry.json file in the install path.
Vendored copy of the flake-registry is from github:NixOS/flake-registry
at commit 9c69f7bd2363e71fe5cd7f608113290c7614dcdd.
Change-Id: I752b81c85ebeaab4e582ac01c239d69d65580f37
Diffstat (limited to 'doc/manual/rl-next/deprecate-online-flake-registry.md')
-rw-r--r-- | doc/manual/rl-next/deprecate-online-flake-registry.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/manual/rl-next/deprecate-online-flake-registry.md b/doc/manual/rl-next/deprecate-online-flake-registry.md new file mode 100644 index 000000000..eb2a9e544 --- /dev/null +++ b/doc/manual/rl-next/deprecate-online-flake-registry.md @@ -0,0 +1,16 @@ +--- +synopsis: "Deprecate the online flake registries and vendor the default registry" +cls: 1127 +credits: midnightveil +issues: [fj#183, fj#110, fj#116, 8953, 9087] +category: Breaking Changes +--- + +The online flake registry [https://channels.nixos.org/flake-registry.json](https://channels.nixos.org/flake-registry.json) is not pinned in any way, +and the targets of the indirections can both update or change entirely at any +point. Furthermore, it is refetched on every use of a flake reference, even if +there is a local flake reference, and even if you are offline (which breaks). + +For now, we deprecate the (any) online flake registry, and vendor a copy of the +current online flake registry. This makes it work offline, and ensures that +it won't change in the future. |