Flox Package Database 1
CRUD Operations on Nix Package Metadata
Loading...
Searching...
No Matches
Namespaces | Functions
expr.hh File Reference

Extensions to libnix-expr, the nix expression language. More...

#include <nix/eval.hh>
#include <nix/flake/flakeref.hh>

Go to the source code of this file.

Namespaces

namespace  flox
 Interfaces for use by flox.
 

Functions

void flox::forceTrivialValue (nix::EvalState &state, nix::Value &value, const nix::PosIdx pos=nix::noPos)
 Evaluate trivial thunks to values. This has no effect on non-thunks and non-trivial values.
 
nix::FlakeRef flox::valueToFlakeRef (nix::EvalState &state, nix::Value &value, const nix::PosIdx pos=nix::noPos, const std::string &errorMsg="while parsing flake reference")
 Convert a nix::Value attribute set or string into a nix::FlakeRef.
 

Detailed Description

Extensions to libnix-expr, the nix expression language.

Adds new nix primitive operations, and provides several helper functions.