Automated lockfile updating with nix build
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "args.hh"
|
||||
#include "common-eval-args.hh"
|
||||
#include <optional>
|
||||
|
||||
namespace nix {
|
||||
|
||||
@@ -65,6 +66,11 @@ struct Installable
|
||||
|
||||
Buildable toBuildable();
|
||||
|
||||
virtual std::optional<std::string> installableToFlakeUri()
|
||||
{
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
virtual Value * toValue(EvalState & state)
|
||||
{
|
||||
throw Error("argument '%s' cannot be evaluated", what());
|
||||
|
||||
Reference in New Issue
Block a user