Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::SearchPath Struct Reference

#include <search-path.hh>

Classes

struct  Prefix
struct  Path
struct  Elem

Static Public Member Functions

static SearchPath parse (const Strings &rawElems)

Public Attributes

std::list< SearchPath::Elemelements

Detailed Description

A "search path" is a list of ways look for something, used with builtins.findFile and < > lookup expressions.

Member Function Documentation

◆ parse()

SearchPath nix::SearchPath::parse ( const Strings & rawElems)
static

Parse a string into a SearchPath

Member Data Documentation

◆ elements

std::list<SearchPath::Elem> nix::SearchPath::elements

The list of search path elements. Each one is checked for a path when looking up. (The actual lookup entry point is in EvalState not in this class.)


The documentation for this struct was generated from the following file: