From 13a6e751a38ab01e0275fcefaf5fd7f8ab019db7 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 21 Aug 2016 14:10:18 +0200 Subject: [PATCH] fixup! Also tell which path it tried --- 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 a1054cad9ba..7079b3bcf3b 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -597,7 +597,7 @@ HookInstance::HookInstance() buildHook = canonPath(buildHook); if (!pathExists(buildHook)) - throw SysError(format("NIX_BUILD_HOOK '%1%' does not exist" % buildHook)); + throw SysError(format("NIX_BUILD_HOOK '%1%' does not exist") % buildHook); /* Create a pipe to get the output of the child. */ fromHook.create();