aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/files.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/files.nix b/modules/files.nix
index c2992479629..199fd921ddb 100644
--- a/modules/files.nix
+++ b/modules/files.nix
@@ -90,10 +90,10 @@ in
errorEcho "Existing file '$backup' would be clobbered by backing up '$targetPath'"
collision=1
else
- warnEcho "Existing file '$targetPath' is in the way, will be moved to '$backup'"
+ warnEcho "Existing file '$targetPath' is in the way of '$sourcePath', will be moved to '$backup'"
fi
else
- errorEcho "Existing file '$targetPath' is in the way"
+ errorEcho "Existing file '$targetPath' is in the way of '$sourcePath'"
collision=1
fi
fi