mirror of
https://github.com/NixOS/nix.git
synced 2025-02-23 04:13:40 +00:00

This allows querying the location of function arguments. E.g. builtins.unsafeGetAttrPos "x" (builtins.functionArgs ({ x }: null)) => { column = 57; file = "/home/infinisil/src/nix/inst/test.nix"; line = 1; }
2 lines
75 B
Plaintext
2 lines
75 B
Plaintext
{ column = 11; file = "eval-okay-getattrpos-functionargs.nix"; line = 2; }
|