about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-01-13T10·17+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-01-13T10·17+0100
commitfcf57aad27d0785df18015d0f115fa09c7577ed3 (patch)
tree08727ad8906cb220080aa0c28f7f168541c14c56 /src/libstore
parent100961e370db16979267b56acf73dd4523be9cd2 (diff)
SysError -> Error
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 280fd6f6e821..575777c8a5ee 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -1797,7 +1797,7 @@ void DerivationGoal::startBuilder()
                 }
             }
             if (!found)
-                throw SysError(format("derivation '%1%' requested impure path ‘%2%’, but it was not in allowed-impure-host-deps (‘%3%’)") % drvPath % i % allowed);
+                throw Error(format("derivation '%1%' requested impure path ‘%2%’, but it was not in allowed-impure-host-deps (‘%3%’)") % drvPath % i % allowed);
 
             dirsInChroot[i] = i;
         }