Skip to content

Commit

Permalink
Also tell which path it tried
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasbeyer committed Aug 21, 2016
1 parent 20eb474 commit 90bbcfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstore/build.cc
Expand Up @@ -597,7 +597,7 @@ HookInstance::HookInstance()
buildHook = canonPath(buildHook);

if (!pathExists(buildHook))
throw SysError(format("NIX_BUILD_HOOK does not exist"));
throw SysError(format("NIX_BUILD_HOOK '%1%' does not exist" % buildHook));

/* Create a pipe to get the output of the child. */
fromHook.create();
Expand Down

0 comments on commit 90bbcfd

Please sign in to comment.