2023-10-07 04:10:20 +03:00
# Lookup path
> **Syntax**
>
2023-10-10 01:32:36 +03:00
> *lookup-path* = `<` *identifier* [ `/` *identifier* ]... `>`
2023-10-07 04:10:20 +03:00
2024-07-03 10:03:41 +03:00
A lookup path is an identifier with an optional path suffix that resolves to a [path value ](@docroot@/language/types.md#type-path ) if the identifier matches a search path entry.
2023-10-07 04:10:20 +03:00
2024-07-07 22:57:23 +03:00
The value of a lookup path is determined by [`builtins.nixPath` ](@docroot@/language/builtins.md#builtins-nixPath ).
2023-10-07 04:10:20 +03:00
See [`builtins.findFile` ](@docroot@/language/builtins.md#builtins-findFile ) for details on lookup path resolution.
> **Example**
>
> ```nix
> <nixpkgs>
>```
>
> /nix/var/nix/profiles/per-user/root/channels/nixpkgs
> **Example**
>
> ```nix
> <nixpkgs/nixos>
>```
>
> /nix/var/nix/profiles/per-user/root/channels/nixpkgs/nixos