diff options
author | Domen Kožar <domen@dev.si> | 2020-05-11 18:14:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 18:14:32 +0200 |
commit | 5bdb67c84308a8cc78ac633d27b94eca87ea4390 (patch) | |
tree | 9eae823214477ed2dfd87ccc1fbd86c701ddae2b /src/libstore/build.cc | |
parent | 23e5b48ca4ca1910b82932d6d7a4546d007d40b7 (diff) | |
parent | 1d8144e36b18d3467f1b29b80800ed3eb9b876c6 (diff) |
Merge pull request #3568 from kolloch/outputHashModeError
libstore/build.cc: more explicit error about form of output
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 6258bcb33..73e09cb10 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -3681,7 +3681,8 @@ void DerivationGoal::registerOutputs() /* The output path should be a regular file without execute permission. */ if (!S_ISREG(st.st_mode) || (st.st_mode & S_IXUSR) != 0) throw BuildError( - format("output path '%1%' should be a non-executable regular file") % path); + format("output path '%1%' should be a non-executable regular file " + "since recursive hashing is not enabled (outputHashMode=flat)") % path); } /* Check the hash. In hash mode, move the path produced by |