mirror of
https://github.com/NixOS/nix
synced 2024-10-18 14:32:45 -04:00
f00a5eb11b
so far they did not really have a name, and were at best referred to as "angle bracket syntax".
736 B
736 B
Lookup path
Syntax
lookup-path =
<
identifier [/
identifier]
...>
A lookup path is an identifier with an optional path suffix that resolves to a path value if the identifier matches a search path entry.
The value of a lookup path is determined by builtins.nixPath
.
See builtins.findFile
for details on lookup path resolution.
Example
<nixpkgs>
/nix/var/nix/profiles/per-user/root/channels/nixpkgs
Example
<nixpkgs/nixos>
/nix/var/nix/profiles/per-user/root/channels/nixpkgs/nixos