mirror of
https://github.com/NixOS/nix
synced 2025-07-08 19:23:54 +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
20 lines
239 B
Nix
20 lines
239 B
Nix
let
|
|
|
|
foobar = "foobar";
|
|
|
|
in
|
|
|
|
{
|
|
xyzzy2 ? xyzzy, # mutually recursive args
|
|
xyzzy ? "blaat", # will be overridden by --argstr
|
|
fb ? foobar,
|
|
lib, # will be set by --arg
|
|
}:
|
|
|
|
{
|
|
result = lib.concat [
|
|
xyzzy
|
|
xyzzy2
|
|
fb
|
|
];
|
|
}
|