Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
nix::StorePathWithOutputs Struct Reference

#include <path-with-outputs.hh>

Public Types

typedef std::variant< StorePathWithOutputs, StorePath, std::monostate > ParseResult
 

Public Member Functions

std::string to_string (const StoreDirConfig &store) const
 
DerivedPath toDerivedPath () const
 

Static Public Member Functions

static StorePathWithOutputs::ParseResult tryFromDerivedPath (const DerivedPath &)
 

Public Attributes

StorePath path
 
std::set< std::string > outputs
 

Detailed Description

This is a deprecated old type just for use by the old CLI, and older versions of the RPC protocols. In new code don't use it; you want DerivedPath instead.

DerivedPath is better because it handles more cases, and does so more explicitly without devious punning tricks.


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