15#include <nix/flake/flakeref.hh>
35 const nix::PosIdx pos = nix::noPos );
44[[nodiscard]] nix::FlakeRef
47 const nix::PosIdx pos = nix::noPos,
48 const std::string & errorMsg
49 =
"while parsing flake reference" );
Interfaces for use by flox.
Definition: command.cc:29
void forceTrivialValue(nix::EvalState &state, nix::Value &value, const nix::PosIdx pos)
Evaluate trivial thunks to values. This has no effect on non-thunks and non-trivial values.
Definition: expr.cc:25
nix::FlakeRef valueToFlakeRef(nix::EvalState &state, nix::Value &value, const nix::PosIdx pos, const std::string &errorMsg)
Convert a nix::Value attribute set or string into a nix::FlakeRef.
Definition: expr.cc:39