From 3d38ec9a498250d1818548108f479400338503ee Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Mon, 29 Feb 2016 09:38:14 -0500 Subject: [PATCH] Bind variables for the existence of the icu dirs. --- Setup.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Setup.hs b/Setup.hs index 453df56a1..c7377c76e 100644 --- a/Setup.hs +++ b/Setup.hs @@ -18,6 +18,8 @@ conf x flags = do dir <- getCurrentDirectory let icuLibDir = dir ++ "/vendor/icu/lib" let icuSourceDir = dir ++ "/vendor/icu/source/" + icuLibDirExists <- doesDirectoryExist icuLibDir + icuSourceDirExists <- doesDirectoryExist icuSourceDir return localBuildInfo { localPkgDescr = packageDescription { P.library = Just $ library {