Skip to content

Commit f203c07

Browse files
committed
fix various typos in docs
1 parent a7862eb commit f203c07

File tree

18 files changed

+27
-27
lines changed

18 files changed

+27
-27
lines changed

doc/manual/generate-deps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# literally. since the rules for these aren't even the same for
1515
# all three we will just fail when we encounter any of them (if
1616
# asserts are off for some reason the depfile will likely point
17-
# to nonexistant paths, making everything phony and thus fine.)
17+
# to nonexistent paths, making everything phony and thus fine.)
1818
for path in glob.glob(sys.argv[1] + '/**', recursive=True):
1919
assert '\\' not in path
2020
assert ' ' not in path

doc/manual/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ subdir('source/release-notes')
6767
subdir('source')
6868

6969
# Hacky way to figure out if `nix` is an `ExternalProgram` or
70-
# `Exectuable`. Only the latter can occur in custom target input lists.
70+
# `Executable`. Only the latter can occur in custom target input lists.
7171
if nix.full_path().startswith(meson.build_root())
7272
nix_input = nix
7373
else

doc/manual/source/advanced-topics/distributed-builds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ nix store info --store ssh://username@mac
2727
```
2828

2929
To specify an SSH identity file as part of the remote store URI add a
30-
query paramater, e.g.
30+
query parameter, e.g.
3131

3232
```console
3333
nix store info --store ssh://username@mac?ssh-key=/home/alice/my-key

doc/manual/source/architecture/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The following [concept map] shows its main components (rectangles), the objects
2323
+----------|-------------------|--------------------------------+
2424
| Nix | V |
2525
| | +-------------------------+ |
26-
| | | commmand line interface |------. |
26+
| | | command line interface |------. |
2727
| | +-------------------------+ | |
2828
| | | | |
2929
| evaluated by calls manages |

doc/manual/source/command-ref/nix-env/delete-generations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This operation deletes the specified generations of the current profile.
2727
>
2828
> Older *and newer* generations will be deleted by this operation.
2929
>
30-
> One might expect this to just delete older generations than the curent one, but that is only true if the current generation is also the latest.
30+
> One might expect this to just delete older generations than the current one, but that is only true if the current generation is also the latest.
3131
> Because one can roll back to a previous generation, it is possible to have generations newer than the current one.
3232
> They will also be deleted.
3333

doc/manual/source/development/cli-guideline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ sensitive.
170170

171171

172172
```shell
173-
$ nix init --template=template#pyton
173+
$ nix init --template=template#python
174174
------------------------------------------------------------------------
175-
Error! Template `template#pyton` not found.
175+
Error! Template `template#python` not found.
176176
------------------------------------------------------------------------
177177
Initializing Nix project at `/path/to/here`.
178178
Select a template for you new project:

doc/manual/source/glossary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@
320320

321321
See [Nix Archive](store/file-system-object/content-address.html#serial-nix-archive) for details.
322322

323-
- [``]{#gloss-emtpy-set}
323+
- [``]{#gloss-empty-set}
324324

325325
The empty set symbol. In the context of profile history, this denotes a package is not present in a particular version of the profile.
326326

doc/manual/source/language/advanced-attributes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ All other combinations are invalid.
280280
281281
<!--
282282
283-
`__contentAddressed` is ignored, becaused fixed-output derivations always content-address their outputs, by definition.
283+
`__contentAddressed` is ignored, because fixed-output derivations always content-address their outputs, by definition.
284284
285285
**TODO CHECK**
286286
@@ -333,7 +333,7 @@ Here is more information on the `output*` attributes, and what values they may b
333333
334334
- [`outputHashAlgo`]{#adv-attr-outputHashAlgo}
335335
336-
This specifies the hash alorithm used to digest the [file system object] data of a content-addressing derivation output.
336+
This specifies the hash algorithm used to digest the [file system object] data of a content-addressing derivation output.
337337
338338
This works in conjunction with [`outputHashMode`](#adv-attr-outputHashAlgo).
339339
Specifying one without the other is an error (unless [`outputHash` is also specified and includes its own hash algorithm as described below).

doc/manual/source/language/string-context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ It creates an [attribute set] representing the string context, which can be insp
115115
116116
## Clearing string contexts
117117
118-
[`buitins.unsafeDiscardStringContext`](./builtins.md#builtins-unsafeDiscardStringContext) will make a copy of a string, but with an empty string context.
118+
[`builtins.unsafeDiscardStringContext`](./builtins.md#builtins-unsafeDiscardStringContext) will make a copy of a string, but with an empty string context.
119119
The returned string can be used in more ways, e.g. by operators that require the string context to be empty.
120120
The requirement to explicitly discard the string context in such use cases helps ensure that string context elements are not lost by mistake.
121121
The "unsafe" marker is only there to remind that Nix normally guarantees that dependencies are tracked, whereas the returned string has lost them.

doc/manual/source/protocols/json/derivation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ is a JSON object with the following fields:
2424

2525

2626
* `method`:
27-
For an output which will be [content addresed], a string representing the [method](@docroot@/store/store-object/content-address.md) of content addressing that is chosen.
27+
For an output which will be [content addressed], a string representing the [method](@docroot@/store/store-object/content-address.md) of content addressing that is chosen.
2828
Valid method strings are:
2929

3030
- [`flat`](@docroot@/store/store-object/content-address.md#method-flat)
@@ -35,7 +35,7 @@ is a JSON object with the following fields:
3535
Otherwise, `null`.
3636

3737
* `hashAlgo`:
38-
For an output which will be [content addresed], the name of the hash algorithm used.
38+
For an output which will be [content addressed], the name of the hash algorithm used.
3939
Valid algorithm strings are:
4040

4141
- `blake3`

0 commit comments

Comments
 (0)