treewide: generate global settings from data

Change-Id: If048b73a55d42522827eb9c140a066ba061e957c
This commit is contained in:
Alois Wohlschlager
2024-11-09 16:17:14 +01:00
parent 21fc0ddce5
commit 2e0c1a5ea9
128 changed files with 2103 additions and 1473 deletions
+1 -11
View File
@@ -19,17 +19,7 @@ using namespace nix;
struct DevelopSettings : Config
{
Setting<std::string> bashPrompt{this, "", "bash-prompt",
"The bash prompt (`PS1`) in `nix develop` shells.",
{}, true, Xp::NixCommand};
Setting<std::string> bashPromptPrefix{this, "", "bash-prompt-prefix",
"Prefix prepended to the `PS1` environment variable in `nix develop` shells.",
{}, true, Xp::NixCommand};
Setting<std::string> bashPromptSuffix{this, "", "bash-prompt-suffix",
"Suffix appended to the `PS1` environment variable in `nix develop` shells.",
{}, true, Xp::NixCommand};
#include "develop-settings.gen.inc"
};
static DevelopSettings developSettings;