diff --git a/modules/files.nix b/modules/files.nix index c29924796..199fd921d 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