mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
treewide: fix typos in comments (#413240)
This commit is contained in:
commit
6d9d3014ba
88 changed files with 110 additions and 110 deletions
|
@ -1747,7 +1747,7 @@ rec {
|
|||
|
||||
/**
|
||||
Get the first of the `outputs` provided by the package, or the default.
|
||||
This function is alligned with `_overrideFirst()` from the `multiple-outputs.sh` setup hook.
|
||||
This function is aligned with `_overrideFirst()` from the `multiple-outputs.sh` setup hook.
|
||||
Like `getOutput`, the function is idempotent.
|
||||
|
||||
# Inputs
|
||||
|
|
|
@ -389,7 +389,7 @@ rec {
|
|||
|
||||
extensions = composeManyExtensions [ overlayA overlayB ];
|
||||
|
||||
# Caluculate the fixed point of all composed overlays.
|
||||
# Calculate the fixed point of all composed overlays.
|
||||
fixedpoint = lib.fix (lib.extends extensions original );
|
||||
|
||||
in fixedpoint
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -75,7 +75,7 @@ let
|
|||
if pos == null then "" else " at ${pos.file}:${toString pos.line}:${toString pos.column}";
|
||||
|
||||
# Internal functor to help for migrating functor.wrapped to functor.payload.elemType
|
||||
# Note that individual attributes can be overriden if needed.
|
||||
# Note that individual attributes can be overridden if needed.
|
||||
elemTypeFunctor =
|
||||
name:
|
||||
{ elemType, ... }@payload:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue