pub async fn coerce_value_to_path(
    co: &GenCo,
    v: Value,
) -> Result<Result<PathBuf, CatchableErrorKind>, ErrorKind>Expand description
Coerce a Nix Value to a plain path, e.g. in order to access the
file it points to via either builtins.toPath or an impure
builtin. This coercion can never be performed in a Nix program
without using builtins (i.e. the trick path: /. + path to
convert from a string to a path wouldn’t hit this code).
This operation doesn’t import a Nix path value into the store.