1
0
Fork 0
mirror of https://github.com/NixOS/nix-pills synced 2024-09-19 04:00:13 -04:00
nix-pills/pills/13/get-args-function.txt

4 lines
95 B
Plaintext
Raw Permalink Normal View History

2017-08-17 21:03:42 -04:00
nix-repl> add = { a ? 3, b }: a+b
nix-repl> builtins.functionArgs add
{ a = true; b = false; }