diff options
author | Bob van der Linden <bobvanderlinden@gmail.com> | 2023-02-10 14:18:27 +0100 |
---|---|---|
committer | Bob van der Linden <bobvanderlinden@gmail.com> | 2023-02-28 09:28:05 +0100 |
commit | 872cdb4346f72186ae683f90ac97b8a7d9bddfd4 (patch) | |
tree | a473d7c653e6c779987068830a742b08ee73d140 /src/libcmd/common-eval-args.cc | |
parent | 3113b13df9afaab918792c725742c6bc3fcec88b (diff) |
nix-profile-install: show helpful error upon package conflict
Whenever a file conflict happens during "nix profile install" an error
is shown that was previously thrown inside builtins.buildEnv.
We catch BuildProfileConflictError here so that we can provide the user
with more useful instructions on what to do next.
Most notably, we give the user concrete commands to use with all
parameters already filled in. This avoids the need for the user to look
up these commands in manual pages.
Diffstat (limited to 'src/libcmd/common-eval-args.cc')
0 files changed, 0 insertions, 0 deletions