Nix  2.93.0-dev
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::EvalPaths::PathResult< T, E > Struct Template Reference

#include <eval.hh>

Inheritance diagram for nix::EvalPaths::PathResult< T, E >:
[legend]
Collaboration diagram for nix::EvalPaths::PathResult< T, E >:
[legend]

Public Member Functions

 PathResult (T p)
 
 PathResult (EvalErrorBuilder< E > e)
 
unwrap (NeverAsync={}) &&
 

Detailed Description

template<typename T, typename E>
struct nix::EvalPaths::PathResult< T, E >

findFile wants to throw a debuggable error when the requested file is not found, but it can't invoke the debugger itself because it's async code. This wraps the result-or-error to allow it regardless. This happens for copyPathToStore as well, with another error type.


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