Nix
2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
fetch-settings.hh
Go to the documentation of this file.
1
#pragma once
3
4
#include "
lix/libutil/types.hh
"
5
#include "
lix/libutil/config.hh
"
6
7
#include <map>
8
#include <limits>
9
10
#include <sys/types.h>
11
12
namespace
nix {
13
14
enum class
AcceptFlakeConfig { False, Ask, True };
15
16
void
to_json(JSON & j,
const
AcceptFlakeConfig & e);
17
void
from_json(
const
JSON & j, AcceptFlakeConfig & e);
18
19
struct
FetchSettings :
public
Config
20
{
21
FetchSettings();
22
23
#include "libfetchers-settings.gen.inc"
24
};
25
26
// FIXME: don't use a global variable.
27
extern
FetchSettings
fetchSettings;
28
29
}
config.hh
nix::FetchSettings
Definition
fetch-settings.hh:20
types.hh
lix
libfetchers
fetch-settings.hh
Generated by
1.15.0