aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorManuel <2084639+tennox@users.noreply.github.com>2022-06-26 18:00:57 +0100
committerGitHub <noreply@github.com>2022-06-26 18:00:57 +0100
commit58cbbdc5e78b952bfaf8ff36e9c94ccbd08469b7 (patch)
tree2cf4d7ebd22584139741977ff41f70619356a85c /src/nix
parent117baee1b78f662291e980075668720179c1c455 (diff)
Update src/nix/flake.cc
https://github.com/NixOS/nix/pull/6699#discussion_r904097147 Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/flake.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc
index fdb373f24..10bbcaf43 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -774,7 +774,7 @@ struct CmdFlakeInitCommon : virtual Args, EvalCommand
auto target = readLink(from2);
if (pathExists(to2)) {
if (readLink(to2) != target) {
- printError("refusing to overwrite existing file '%s' - please merge manually with '%s'", to2, from2);
+ printError("refusing to overwrite existing file '%s'\n please merge it manually with '%s'", to2, from2);
success = false;
conflictedFiles.push_back(to2);
} else {