mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 16:23:02 +00:00
7 lines
141 B
Nix
7 lines
141 B
Nix
|
let
|
||
|
as = {
|
||
|
foo = "bar";
|
||
|
};
|
||
|
pos = builtins.unsafeGetAttrPos "foo" as;
|
||
|
in { inherit (pos) column line; file = baseNameOf pos.file; }
|