Flox Package Database 1
CRUD Operations on Nix Package Metadata
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
flox::resolver::HookRaw Struct Reference

Declares a hook to be run at environment activation. More...

#include <manifest-raw.hh>

Public Member Functions

void check () const
 Validate Hook fields, throwing an exception if its contents are invalid.
 

Public Attributes

std::optional< std::string > script
 
std::optional< std::string > file
 

Detailed Description

Declares a hook to be run at environment activation.

Member Data Documentation

◆ file

std::optional<std::string> flox::resolver::HookRaw::file

Reads activation script from a file.

◆ script

std::optional<std::string> flox::resolver::HookRaw::script

Define an inline script to be run at activation time.


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