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
6
7#include <map>
8#include <limits>
9
10#include <sys/types.h>
11
12namespace nix {
13
14enum class AcceptFlakeConfig { False, Ask, True };
15
16void to_json(JSON & j, const AcceptFlakeConfig & e);
17void from_json(const JSON & j, AcceptFlakeConfig & e);
18
19struct FetchSettings : public Config
20{
21 FetchSettings();
22
23 #include "libfetchers-settings.gen.inc"
24};
25
26// FIXME: don't use a global variable.
27extern FetchSettings fetchSettings;
28
29}
Definition fetch-settings.hh:20