aboutsummaryrefslogtreecommitdiff
path: root/tests/nix-profile.sh
diff options
context:
space:
mode:
authorBob van der Linden <bobvanderlinden@gmail.com>2023-02-10 14:18:27 +0100
committerBob van der Linden <bobvanderlinden@gmail.com>2023-02-28 09:28:05 +0100
commit872cdb4346f72186ae683f90ac97b8a7d9bddfd4 (patch)
treea473d7c653e6c779987068830a742b08ee73d140 /tests/nix-profile.sh
parent3113b13df9afaab918792c725742c6bc3fcec88b (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 'tests/nix-profile.sh')
0 files changed, 0 insertions, 0 deletions