From fcf57aad27d0785df18015d0f115fa09c7577ed3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 13 Jan 2015 11:17:50 +0100 Subject: [PATCH] SysError -> Error --- src/libstore/build.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 280fd6f6e..575777c8a 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; }