aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-02-27 16:58:31 +0100
committerEelco Dolstra <edolstra@gmail.com>2018-03-02 14:32:00 +0100
commit939cf4ccebb199e61da648873fb078ae8833263f (patch)
tree08525d2d1736e90e1cfd0754d1260a05f7c5bb38 /src
parent4a000cbb39766812fccebfa7cf8b76ecca8f6e63 (diff)
Fix error message
Diffstat (limited to 'src')
-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 eddb9fdaa..2afad913a 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;