This commit is contained in:
parent
dda36c4a22
commit
a026cc2224
|
@ -409,10 +409,13 @@ impl Action for CreateOrMergeNixConfig {
|
||||||
new_config.push('\n');
|
new_config.push('\n');
|
||||||
}
|
}
|
||||||
|
|
||||||
new_config.push_str(&format!(
|
new_config.push_str(
|
||||||
"# Generated by https://github.com/DeterminateSystems/nix-installer, version {version}.\n",
|
&[
|
||||||
version = env!("CARGO_PKG_VERSION"),
|
"# Generated by https://github.com/DeterminateSystems/nix-installer.",
|
||||||
));
|
"# See `/nix/nix-installer --version` for the version details.",
|
||||||
|
]
|
||||||
|
.join("\n"),
|
||||||
|
);
|
||||||
|
|
||||||
for (name, value) in merged_nix_config.settings() {
|
for (name, value) in merged_nix_config.settings() {
|
||||||
new_config.push_str(name);
|
new_config.push_str(name);
|
||||||
|
|
Loading…
Reference in a new issue