mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Apply suggestions from code review
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
This commit is contained in:
parent
c819375769
commit
7b0e8c5c2c
1 changed files with 2 additions and 2 deletions
|
@ -132,7 +132,7 @@ a = src-set.a; b = src-set.b; c = src-set.c;
|
||||||
when used while defining local variables in a let-expression or while
|
when used while defining local variables in a let-expression or while
|
||||||
defining a set.
|
defining a set.
|
||||||
|
|
||||||
in a let expression, inherit can be used to selectively bring specific attributes of a set into scope. For example
|
In a `let` expression, `inherit` can be used to selectively bring specific attributes of a set into scope. For example
|
||||||
|
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
|
@ -156,7 +156,7 @@ in
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
both resolve to `{ names = [ "a" "b" ]; }`.
|
both evaluate to `{ names = [ "a" "b" ]; }`.
|
||||||
|
|
||||||
## Functions
|
## Functions
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue