Files
lix/src/libfetchers/fetch-settings.hh
T
Jade Lovelace 103cd44a04 Include rearrangement: rest
Change-Id: If9b5502ff348d358d7007b885e26e98a0d228f39
2024-11-18 12:31:19 -08:00

30 lines
532 B
C++

#pragma once
///@file
#include "lix/libutil/types.hh"
#include "lix/libutil/config.hh"
#include <map>
#include <limits>
#include <sys/types.h>
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();
#include "libfetchers-settings.gen.inc"
};
// FIXME: don't use a global variable.
extern FetchSettings fetchSettings;
}