summaryrefslogtreecommitdiff
path: root/.trash/3 resources/nix/language/keyword-let.md
blob: 3b2f40111305fca613eeacfc65a0d4d029b767d7 (plain)
1
2
3
4
5
6
7
8
9
Keyword: `let`
Used to assign variables that can be used in an expression immediately following the let-binding.
```nix
let
  one = 1;
in {
  two = one + 1;
}
```