* Oops. Fixed-output derivations were broken.
This commit is contained in:
parent
1b43fbd8e4
commit
e932c40f8e
|
@ -1273,7 +1273,6 @@ void DerivationGoal::computeClosure()
|
||||||
if (!recursive) {
|
if (!recursive) {
|
||||||
/* The output path should be a regular file without
|
/* The output path should be a regular file without
|
||||||
execute permission. */
|
execute permission. */
|
||||||
struct stat st;
|
|
||||||
if (!S_ISREG(st.st_mode) || (st.st_mode & S_IXUSR) != 0)
|
if (!S_ISREG(st.st_mode) || (st.st_mode & S_IXUSR) != 0)
|
||||||
throw Error(
|
throw Error(
|
||||||
format("output path `%1% should be a non-executable regular file")
|
format("output path `%1% should be a non-executable regular file")
|
||||||
|
|
Loading…
Reference in a new issue