mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 02:36:16 +02:00
Fix few duplicate word occurrences (#11381)
This commit is contained in:
parent
8e63dc4455
commit
cb4b9be458
6 changed files with 7 additions and 7 deletions
|
@ -90,7 +90,7 @@ This representation is extensible and preserves the ordering:
|
||||||
|
|
||||||
## Self-describing values
|
## Self-describing values
|
||||||
|
|
||||||
As described in the previous section, it's crucial that schemas can be extended with with new fields without breaking compatibility.
|
As described in the previous section, it's crucial that schemas can be extended with new fields without breaking compatibility.
|
||||||
However, that should *not* mean we use the presence/absence of fields to indicate optional information *within* a version of the schema.
|
However, that should *not* mean we use the presence/absence of fields to indicate optional information *within* a version of the schema.
|
||||||
Instead, always include the field, and use `null` to indicate the "nothing" case.
|
Instead, always include the field, and use `null` to indicate the "nothing" case.
|
||||||
|
|
||||||
|
|
|
@ -82,7 +82,7 @@ where
|
||||||
|
|
||||||
- if `type` = `"source:" ...`:
|
- if `type` = `"source:" ...`:
|
||||||
|
|
||||||
the the hash of the [Nix Archive (NAR)] serialization of the [file system object](@docroot@/store/file-system-object.md) of the store object.
|
the hash of the [Nix Archive (NAR)] serialization of the [file system object](@docroot@/store/file-system-object.md) of the store object.
|
||||||
|
|
||||||
- if `type` = `"output:" id`:
|
- if `type` = `"output:" id`:
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,7 @@
|
||||||
- Store object info JSON format now uses `null` rather than omitting fields [#9995](https://github.com/NixOS/nix/pull/9995)
|
- Store object info JSON format now uses `null` rather than omitting fields [#9995](https://github.com/NixOS/nix/pull/9995)
|
||||||
|
|
||||||
The [store object info JSON format](@docroot@/protocols/json/store-object-info.md), used for e.g. `nix path-info`, no longer omits fields to indicate absent information, but instead includes the fields with a `null` value.
|
The [store object info JSON format](@docroot@/protocols/json/store-object-info.md), used for e.g. `nix path-info`, no longer omits fields to indicate absent information, but instead includes the fields with a `null` value.
|
||||||
For example, `"ca": null` is used to to indicate a store object that isn't content-addressed rather than omitting the `ca` field entirely.
|
For example, `"ca": null` is used to indicate a store object that isn't content-addressed rather than omitting the `ca` field entirely.
|
||||||
This makes records of this sort more self-describing, and easier to consume programmatically.
|
This makes records of this sort more self-describing, and easier to consume programmatically.
|
||||||
|
|
||||||
We will follow this design principle going forward;
|
We will follow this design principle going forward;
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
# Run the functional tests as part of the build.
|
# Run the functional tests as part of the build.
|
||||||
, doInstallCheck ? test-client != null || __forDefaults.canRunInstalled
|
, doInstallCheck ? test-client != null || __forDefaults.canRunInstalled
|
||||||
|
|
||||||
# Check test coverage of Nix. Probably want to use with with at least
|
# Check test coverage of Nix. Probably want to use with at least
|
||||||
# one of `doCHeck` or `doInstallCheck` enabled.
|
# one of `doCHeck` or `doInstallCheck` enabled.
|
||||||
, withCoverageChecks ? false
|
, withCoverageChecks ? false
|
||||||
|
|
||||||
|
|
|
@ -77,13 +77,13 @@ The parts of a local overlay store are as follows:
|
||||||
|
|
||||||
The lower store directory and upper layer directory are combined via OverlayFS to create this directory.
|
The lower store directory and upper layer directory are combined via OverlayFS to create this directory.
|
||||||
Nix doesn't do this itself, because it typically wouldn't have the permissions to do so, so it is the responsibility of the user to set this up first.
|
Nix doesn't do this itself, because it typically wouldn't have the permissions to do so, so it is the responsibility of the user to set this up first.
|
||||||
Nix can, however, optionally check that that the OverlayFS mount settings appear as expected, matching Nix's own settings.
|
Nix can, however, optionally check that the OverlayFS mount settings appear as expected, matching Nix's own settings.
|
||||||
|
|
||||||
- **Upper SQLite database**:
|
- **Upper SQLite database**:
|
||||||
|
|
||||||
> Not directly specified.
|
> Not directly specified.
|
||||||
> The location of the database instead depends on the [`state`](#store-experimental-local-overlay-store-state) setting.
|
> The location of the database instead depends on the [`state`](#store-experimental-local-overlay-store-state) setting.
|
||||||
> It is is always `${state}/db`.
|
> It is always `${state}/db`.
|
||||||
|
|
||||||
This contains the metadata of all of the upper layer [store objects][store object] (everything beyond their file system objects), and also duplicate copies of some lower layer store object's metadta.
|
This contains the metadata of all of the upper layer [store objects][store object] (everything beyond their file system objects), and also duplicate copies of some lower layer store object's metadta.
|
||||||
The duplication is so the metadata for the [closure](@docroot@/glossary.md#gloss-closure) of upper layer [store objects][store object] can be found entirely within the upper layer.
|
The duplication is so the metadata for the [closure](@docroot@/glossary.md#gloss-closure) of upper layer [store objects][store object] can be found entirely within the upper layer.
|
||||||
|
|
|
@ -120,7 +120,7 @@ Contrary to URL-like references, path-like flake references can contain arbitrar
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
|
|
||||||
* `.`: The flake to which the current directory belongs to.
|
* `.`: The flake to which the current directory belongs.
|
||||||
* `/home/alice/src/patchelf`: A flake in some other directory.
|
* `/home/alice/src/patchelf`: A flake in some other directory.
|
||||||
* `./../sub directory/with Ûñî©ôδ€`: A flake in another relative directory that
|
* `./../sub directory/with Ûñî©ôδ€`: A flake in another relative directory that
|
||||||
has Unicode characters in its name.
|
has Unicode characters in its name.
|
||||||
|
|
Loading…
Reference in a new issue