about summary refs log tree commit diff
path: root/src/buildenv/buildenv.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-02-27T15·58+0100
committerEelco Dolstra <edolstra@gmail.com>2018-03-02T13·32+0100
commit939cf4ccebb199e61da648873fb078ae8833263f (patch)
tree08525d2d1736e90e1cfd0754d1260a05f7c5bb38 /src/buildenv/buildenv.cc
parent4a000cbb39766812fccebfa7cf8b76ecca8f6e63 (diff)
Fix error message
Diffstat (limited to 'src/buildenv/buildenv.cc')
-rw-r--r--src/buildenv/buildenv.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildenv/buildenv.cc b/src/buildenv/buildenv.cc
index eddb9fdaa8..2afad913ac 100644
--- a/src/buildenv/buildenv.cc
+++ b/src/buildenv/buildenv.cc
@@ -74,10 +74,10 @@ static void createLinks(const Path & srcDir, const Path & dstDir, int priority)
                     auto prevPriority = priorities[dstFile];
                     if (prevPriority == priority)
                         throw Error(format(
-                                "Packages '%1%' and '%2%' have the same priority '%3%'"
+                                "packages '%1%' and '%2%' have the same priority %3%; "
                                 "use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' "
                                 "to change the priority of one of the conflicting packages"
-                                " ('0' being the highest priority)"
+                                " (0 being the highest priority)"
                                 ) % srcFile % target % priority);
                     if (prevPriority < priority)
                         continue;