aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/common-eval-args.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-04-28 16:57:37 +0200
committerEelco Dolstra <edolstra@gmail.com>2023-04-28 17:03:04 +0200
commit17e6b85d05b3d32df244b1d4e89aa41fd8bdcae8 (patch)
tree2c508889b0a4e29671b71bd0474519eb513fac5f /src/libcmd/common-eval-args.hh
parent89d3cc5a47a448f624ea4c9b43eeee00dcc88a21 (diff)
nix: Support the --repair flag
Diffstat (limited to 'src/libcmd/common-eval-args.hh')
-rw-r--r--src/libcmd/common-eval-args.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcmd/common-eval-args.hh b/src/libcmd/common-eval-args.hh
index 83edcfb85..b65cb5b20 100644
--- a/src/libcmd/common-eval-args.hh
+++ b/src/libcmd/common-eval-args.hh
@@ -2,6 +2,7 @@
///@file
#include "args.hh"
+#include "common-args.hh"
namespace nix {
@@ -10,7 +11,7 @@ class EvalState;
class Bindings;
struct SourcePath;
-struct MixEvalArgs : virtual Args
+struct MixEvalArgs : virtual Args, virtual MixRepair
{
static constexpr auto category = "Common evaluation options";