Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
installables.hh File Reference

Go to the source code of this file.

Classes

struct  nix::ExtraPathInfo
struct  nix::DerivedPathWithInfo
struct  nix::BuiltPathWithResult
struct  nix::Installable

Typedefs

typedef std::vector< DerivedPathWithInfonix::DerivedPathsWithInfo
typedef std::vector< ref< Installable > > nix::Installables

Enumerations

enum class  nix::Realise { Outputs , Derivation , Nothing }
enum class  nix::OperateOn { Output , Derivation }

Typedef Documentation

◆ DerivedPathsWithInfo

typedef std::vector<DerivedPathWithInfo> nix::DerivedPathsWithInfo

Shorthand, for less typing and helping us keep the choice of collection in sync.

◆ Installables

typedef std::vector<ref<Installable> > nix::Installables

Shorthand, for less typing and helping us keep the choice of collection in sync.

Enumeration Type Documentation

◆ OperateOn

enum class nix::OperateOn
strong

How to handle derivations in commands that operate on store paths.

Enumerator
Output 

Operate on the output path.

Derivation 

Operate on the .drv path.

◆ Realise

enum class nix::Realise
strong
Enumerator
Outputs 

Build the derivation.

Postcondition: the derivation outputs exist.

Derivation 

Don't build the derivation.

Postcondition: the store derivation exists.

Nothing 

Evaluate in dry-run mode.

Postcondition: nothing.

Todo
currently unused, but could be revived if we can evaluate derivations in-memory.