aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/builtins/buildenv.cc
diff options
context:
space:
mode:
authorEli Kogan-Wang <elikowa@gmail.com>2022-05-13 22:02:28 +0200
committerEli Kogan-Wang <elikowa@gmail.com>2022-05-13 22:02:28 +0200
commitbe2b19041eeec53fba24f7c2494f3f700a4ec595 (patch)
tree81aae651f6e300c5deb97feb68c8d1695b3fef3d /src/libstore/builtins/buildenv.cc
parentaefc6c4f41bfac0c76807c234fd0a786dd40f140 (diff)
Integrate review changes
Diffstat (limited to 'src/libstore/builtins/buildenv.cc')
-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 c17c76e71..58ef89a1c 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 --priority NUMBER INSTALLED_PKGNAME' "
+ "or 'nix profile install --priority NUMBER INSTALLED_PKGNAME' "
"to change the priority of one of the conflicting packages"
" (0 being the highest priority)",
srcFile, readLink(dstFile), priority);