#include <variant>
#include "hash.hh"
#include "path.hh"
#include "derived-path.hh"
#include <nlohmann/json_fwd.hpp>
#include "comparator.hh"
#include "signature/signer.hh"
Go to the source code of this file.
Classes | |
struct | nix::DrvOutput |
struct | nix::Realisation |
struct | nix::OpaquePath |
struct | nix::RealisedPath |
class | nix::MissingRealisation |
Typedefs | |
typedef std::map< OutputName, Realisation > | nix::SingleDrvOutputs |
typedef std::map< DrvOutput, Realisation > | nix::DrvOutputs |
Functions | |
SingleDrvOutputs | nix::filterDrvOutputs (const OutputsSpec &wanted, SingleDrvOutputs &&outputs) |
typedef std::map<DrvOutput, Realisation> nix::DrvOutputs |
Collection type for multiple derivations' outputs' Realisation
s.
DrvOutput
is used because in general the derivations are not all the same, so we need to identify firstly which derivation, and secondly which output of that derivation.
typedef std::map<OutputName, Realisation> nix::SingleDrvOutputs |
Collection type for a single derivation's outputs' Realisation
s.
Since these are the outputs of a single derivation, we know the output names are unique so we can use them as the map key.
SingleDrvOutputs nix::filterDrvOutputs | ( | const OutputsSpec & | , |
SingleDrvOutputs && | ) |
Filter a SingleDrvOutputs to include only specific output names
Moves the outputs
input.