aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/fetch-settings.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libfetchers/fetch-settings.hh')
-rw-r--r--src/libfetchers/fetch-settings.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libfetchers/fetch-settings.hh b/src/libfetchers/fetch-settings.hh
index 93123463c..0bdc707ec 100644
--- a/src/libfetchers/fetch-settings.hh
+++ b/src/libfetchers/fetch-settings.hh
@@ -13,6 +13,9 @@ namespace nix {
enum class AcceptFlakeConfig { False, Ask, True };
+void to_json(nlohmann::json & j, const AcceptFlakeConfig & e);
+void from_json(const nlohmann::json & j, AcceptFlakeConfig & e);
+
struct FetchSettings : public Config
{
FetchSettings();