mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
treewide: fix typos
This commit is contained in:
parent
16bc4259a8
commit
c77ac9dfc3
88 changed files with 110 additions and 110 deletions
|
@ -404,7 +404,7 @@ rec {
|
|||
```nix
|
||||
myType = mkOptionType {
|
||||
name = "myType";
|
||||
merge = mergeDefaultOption; # <- This line is redundant. It is the default aready.
|
||||
merge = mergeDefaultOption; # <- This line is redundant. It is the default already.
|
||||
};
|
||||
```
|
||||
|
||||
|
@ -470,7 +470,7 @@ rec {
|
|||
args@{
|
||||
message,
|
||||
# WARNING: the default merge function assumes that the definition is a valid (option) value. You MUST pass a merge function if the return value needs to be
|
||||
# - type checked beyond what .check does (which should be very litte; only on the value head; not attribute values, etc)
|
||||
# - type checked beyond what .check does (which should be very little; only on the value head; not attribute values, etc)
|
||||
# - if you want attribute values to be checked, or list items
|
||||
# - if you want coercedTo-like behavior to work
|
||||
merge ? loc: defs: (head defs).value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue