mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 14:02:42 +01:00
Merge remote-tracking branch 'tweag/automatedUpdate' into flakes
This commit is contained in:
commit
a12cd53567
3 changed files with 22 additions and 7 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include "args.hh"
|
||||
#include "primops/flake.hh"
|
||||
#include "common-eval-args.hh"
|
||||
#include <optional>
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
@ -66,6 +67,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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue