aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-10-19 14:27:44 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-10-19 14:27:44 +0000
commite932c40f8e1fb6aa6edb155fbca1c1273798a20e (patch)
tree1e96d2828865fb23d97a33c30ed7557d7efe58e9
parent1b43fbd8e4c97dfed5f0679feccdb7ff576f6bbe (diff)
* Oops. Fixed-output derivations were broken.
-rw-r--r--src/libstore/build.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 8da1e9946..fb3b51c4f 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -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")