mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 22:12:43 +01:00
Automated lockfile updating with nix build
This commit is contained in:
parent
87033f2c4e
commit
4bf3a8226b
3 changed files with 24 additions and 6 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue