query
On this page

unsafeGetAttrPos

builtins.unsafeGetAttrPos

Primop
Docs pulled from | This Revision | 1 day ago

Takes 2 arguments


unsafeGetAttrPos returns the position of the attribute named s from set. This is used by Nixpkgs to provide location information in error messages.

This function is not defined in a .nix file. It is likely a builtins function or an alias of a builtins function. builtins functions are predefined functions provided by Nix.

Noogle detected

Aliases

Implementation

This function is implemented in c++ and is part of the native nix runtime.