Commit 3be1b3a0 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov Committed by GitHub
Browse files

Merge pull request #4076 from ezyang/pr/sanityCheckHookedBuildInfo-fixup

Fix missing line pointed out by @abooij.
parents 8bccb4d6 a42a1b3d
......@@ -461,6 +461,7 @@ sanityCheckHookedBuildInfo PackageDescription { library = Nothing } (Just _,_)
sanityCheckHookedBuildInfo pkg_descr (_, hookExes)
| not (null nonExistant)
= die $ "The buildinfo contains info for an executable called '"
++ display (head nonExistant) ++ "' but the package does not have a "
++ "executable with that name."
where
pkgExeNames = nub (map exeName (executables pkg_descr))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment