mirror of
https://github.com/NixOS/nix
synced 2025-07-02 21:51:50 +02:00
This does not include any automation for the release branch, but is based on the configuration of https://github.com/NixOS/nix/pull/12349 pre-commit run -a nixfmt-rfc-style
15 lines
132 B
Nix
15 lines
132 B
Nix
let {
|
|
|
|
x = "a";
|
|
y = "b";
|
|
|
|
f =
|
|
{
|
|
x ? y,
|
|
y ? x,
|
|
}:
|
|
x + y;
|
|
|
|
body = f { x = "c"; } + f { y = "d"; };
|
|
|
|
}
|