diff options
author | Domen Kožar <domen@dev.si> | 2020-04-08 18:27:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-08 18:27:10 +0200 |
commit | bf81b3155998152582abdad1550277cf8ca32e92 (patch) | |
tree | 55231f0afe2431fdb5e5fb16dc7f3ed1988e805a /src/libstore | |
parent | 96f3c36709a8f246ecb9faf9e8b82706552f3856 (diff) |
build.cc: improve message if home directory exists
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 527d7ac42..632982ecd 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -2161,7 +2161,7 @@ void DerivationGoal::startBuilder() if (needsHashRewrite()) { if (pathExists(homeDir)) - throw Error(format("directory '%1%' exists; please remove it") % homeDir); + throw Error(format("home directory '%1%' exists; please remove it to assure purity of builds without sandboxing") % homeDir); /* We're not doing a chroot build, but we have some valid output paths. Since we can't just overwrite or delete |