diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-04-15 12:11:16 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-04-15 12:11:16 +0200 |
commit | a12cd535672737d40759e02356cf0b418182c619 (patch) | |
tree | e2ed9ce272bd7e144a7da6ef37b7f31e0436d800 /src/nix/command.hh | |
parent | be757d88d97656f0d8076ee4a4586bb4353e7657 (diff) | |
parent | 4bf3a8226badcdc70c013dfcfa266ee72f6cb89b (diff) |
Merge remote-tracking branch 'tweag/automatedUpdate' into flakes
Diffstat (limited to 'src/nix/command.hh')
-rw-r--r-- | src/nix/command.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nix/command.hh b/src/nix/command.hh index 56e1e6f34..a5ae56fb9 100644 --- a/src/nix/command.hh +++ b/src/nix/command.hh @@ -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()); |