tvl-depot/users/sterni
sterni f59ab9aba5 feat(sterni/nix/fun): add hasEllipsis
As a complementation to builtins.functionArgs this function checks if
the function has a set pattern that contains an ellipsis
(i. e. `{ [arg, [ arg1, [ … ]]] ... }:`). The implementation of this is
pretty cursed however since there is no clean way to do this in vanilla
nix: We need to match on the output of builtins.toXML which does try to
serialize functions by outputting their argument and information about
it (whether it is a normal argument or a attribute set pattern, in the
latter case it also serialize every component of the pattern).

Change-Id: I0f33721811a3180cec205a0c98e6d92e10e92075
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2950
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2021-04-12 17:47:53 +00:00
..
clhs-lookup feat(users/sterni): move clhs.clhs-lookup to clhs-lookup 2021-01-29 17:36:40 +00:00
dot-time-man-pages feat(sterni/dot-time-man-pages): mdoc port of dotti.me 2021-04-02 09:14:28 +00:00
htmlman feat(users/sterni/htmlman): hyperlink .Xr macro in output 2021-03-11 14:31:19 +00:00
nint chore: move all 3p buildRustCrate derivations to //third_party 2021-04-03 22:16:35 +00:00
nix feat(sterni/nix/fun): add hasEllipsis 2021-04-12 17:47:53 +00:00
keys.nix feat(ops/nixos/whitby): add sterni user 2021-01-13 22:05:33 +00:00
OWNERS chore(sterni): init user folder 2021-01-11 11:43:33 +00:00