mirror of
https://github.com/NixOS/nix
synced 2025-06-25 23:11:16 +02:00
This is needed to avoid this https://github.com/mesonbuild/meson/issues/13774 when we go back to making our subproject directory `src`.
716 B
716 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 in builtins.nixPath
.
The algorithm for lookup path resolution is described in the documentation on builtins.findFile
.
Example
<nixpkgs>
/nix/var/nix/profiles/per-user/root/channels/nixpkgs
Example
<nixpkgs/nixos>
/nix/var/nix/profiles/per-user/root/channels/nixpkgs/nixos