Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I9d6ce6a264780f215b1b57d947b5264c6a6a6964
8 lines
198 B
Nix
8 lines
198 B
Nix
# Test ancient let syntax: let { bindings; body = expr; }
|
|
# This is equivalent to: let bindings in expr, but has been deprecated
|
|
# in newer Nix versions.
|
|
let {
|
|
x = 10;
|
|
y = 20;
|
|
body = x + y;
|
|
}
|