/
ne1ghost
/
nix
Обзор
Документация
Войти
/
ne1ghost
/
nix
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/libflake/flake/settings.hh
50 строк
1014 B
John Ericson
No global settings in `libnixfetchers` and `libnixflake`
12 июл 2024, 15:50
12 июл 2024, 15:50
3fc77f2
Код
Авторство
О чём код?
#pragma once ///@file #include "types.hh" #include "config.hh" #include "util.hh" #include <map> #include <limits> #include <sys/types.h> namespace nix::flake { struct Settings : public Config { Settings(); Setting<bool> useRegistries{ this, true, "use-registries", "Whether to use flake registries to resolve flake references.", {}, true, Xp::Flakes}; Setting<bool> acceptFlakeConfig{ this, false, "accept-flake-config", "Whether to accept nix configuration from a flake without prompting.", {}, true, Xp::Flakes}; Setting<std::string> commitLockFileSummary{ this, "", "commit-lock-file-summary", R"( The commit summary to use when committing changed flake lock files. If empty, the summary is generated based on the action performed. )", {"commit-lockfile-summary"}, true, Xp::Flakes}; }; }