aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/common-args.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmain/common-args.hh')
-rw-r--r--src/libmain/common-args.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libmain/common-args.hh b/src/libmain/common-args.hh
index 8e53a7361..31bdf527a 100644
--- a/src/libmain/common-args.hh
+++ b/src/libmain/common-args.hh
@@ -7,10 +7,14 @@ namespace nix {
//static constexpr auto commonArgsCategory = "Miscellaneous common options";
static constexpr auto loggingCategory = "Logging-related options";
-struct MixCommonArgs : virtual Args
+class MixCommonArgs : public virtual Args
{
+ void initialFlagsProcessed() override;
+public:
string programName;
MixCommonArgs(const string & programName);
+protected:
+ virtual void pluginsInited() {}
};
struct MixDryRun : virtual Args