-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9232 from fricklerhandwerk/doc-store-object
document store objects in terms of their constituent parts
- Loading branch information
Showing
5 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# Nix Store | ||
|
||
The *Nix store* is an abstraction used by Nix to store immutable filesystem artifacts (such as software packages) that can have dependencies (*references*) between them. | ||
There are multiple implementations of the Nix store, such as the actual filesystem (`/nix/store`) and binary caches. | ||
The *Nix store* is an abstraction to store immutable file system data (such as software packages) that can have dependencies on other such data. | ||
|
||
There are multiple implementations of Nix stores with different capabilities, such as the actual filesystem (`/nix/store`) or binary caches. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
## Store Object | ||
|
||
A Nix store is a collection of *store objects* with *references* between them. | ||
A store object consists of | ||
|
||
- A [file system object](./file-system-object.md) as data | ||
- A set of [store paths](@docroot@/glossary.md#gloss-store-path) as references to other store objects | ||
|
||
Store objects are [immutable](https://en.wikipedia.org/wiki/Immutable_object): | ||
Once created, they do not change until they are deleted. |