aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/builtins
diff options
context:
space:
mode:
authorEli Kogan-Wang <elikowa@gmail.com>2022-05-16 16:16:06 +0200
committerEli Kogan-Wang <elikowa@gmail.com>2022-05-16 16:16:06 +0200
commite53349dd6e4a710eb7abff78722853cad418e9d2 (patch)
treef162b7328fcfb8cf26c24341e247345ceeb68c2b /src/libstore/builtins
parent27d0f6747d7e70be4b9ade28ce77444e6135cadb (diff)
change priority conflict message
Diffstat (limited to 'src/libstore/builtins')
-rw-r--r--src/libstore/builtins/buildenv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/builtins/buildenv.cc b/src/libstore/builtins/buildenv.cc
index 58ef89a1c..47458a388 100644
--- a/src/libstore/builtins/buildenv.cc
+++ b/src/libstore/builtins/buildenv.cc
@@ -95,7 +95,7 @@ static void createLinks(State & state, const Path & srcDir, const Path & dstDir,
throw Error(
"files '%1%' and '%2%' have the same priority %3%; "
"use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' "
- "or 'nix profile install --priority NUMBER INSTALLED_PKGNAME' "
+ "or type 'nix profile install --help' if using 'nix profile' to find out how"
"to change the priority of one of the conflicting packages"
" (0 being the highest priority)",
srcFile, readLink(dstFile), priority);