* Oops. Fixed-output derivations were broken.

This commit is contained in:
Eelco Dolstra 2005-10-19 14:27:44 +00:00
parent 1b43fbd8e4
commit e932c40f8e

View file

@ -1273,7 +1273,6 @@ void DerivationGoal::computeClosure()
if (!recursive) {
/* The output path should be a regular file without
execute permission. */
struct stat st;
if (!S_ISREG(st.st_mode) || (st.st_mode & S_IXUSR) != 0)
throw Error(
format("output path `%1% should be a non-executable regular file")