Skip to content

Commit

Permalink
Document
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Dec 9, 2024
1 parent be49fe3 commit 090a5d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/nix/flake.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ can occur in *locked* flake references and are available to Nix code:

Currently the `type` attribute can be one of the following:

* `indirect`: *The default*. Indirection through the flake registry.
* `indirect`: *The default*. These are symbolic references to flakes
that are looked up in [the flake registries](./nix3-registry.md).
These have the form

```
Expand Down
2 changes: 2 additions & 0 deletions src/nix/registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ highest precedence:
* Overrides specified on the command line using the option
`--override-flake`.

Note that the system and user registries are not used to resolve flake references in `flake.nix`. They are only used to resolve flake references on the command line.

# Registry format

A registry is a JSON file with the following format:
Expand Down

0 comments on commit 090a5d8

Please sign in to comment.