Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
downstream-placeholder.hh File Reference

Go to the source code of this file.

Classes

class  nix::DownstreamPlaceholder
struct  nlohmann::adl_serializer< nix::DrvRef< Item > >

Typedefs

template<typename Input>
using nix::DrvRef = std::variant<OutputName, Input>

Typedef Documentation

◆ DrvRef

template<typename Input>
using nix::DrvRef = std::variant<OutputName, Input>

A reference is either to a to-be-registered output (by name), or to an already-registered store object (by Input).

Ref<SingleDerivedPath is a representation of something that can be turned into a placeholder. (Regular own-output placeholder in the first case, DownstreamPlaceholder in the second case.)