Skip to content

Commit

Permalink
Push individual strs
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamc committed Nov 12, 2023
1 parent c2d7059 commit 60d19b2
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/action/base/create_or_merge_nix_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -409,15 +409,10 @@ impl Action for CreateOrMergeNixConfig {
new_config.push('\n');
}

new_config.push_str(
&[
"# Generated by https://github.com/DeterminateSystems/nix-installer.",
"# See `/nix/nix-installer --version` for the version details.",
"",
"",
]
.join("\n"),
);
new_config
.push_str("# Generated by https://github.com/DeterminateSystems/nix-installer.\n");
new_config.push_str("# See `/nix/nix-installer --version` for the version details.\n");
new_config.push_str("\n");

for (name, value) in merged_nix_config.settings() {
new_config.push_str(name);
Expand Down

0 comments on commit 60d19b2

Please sign in to comment.