Ticket #246: 0001-Workaround-for-a-failing-build-with-enable-tests.patch

File 0001-Workaround-for-a-failing-build-with-enable-tests.patch, 0.9 kB (added by Fūzetsu, 15 months ago)
  • html-test/run.lhs

    From e326c24811bb4ba409de1a599802e39c42ea776b Mon Sep 17 00:00:00 2001
    From: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
    Date: Tue, 21 May 2013 01:56:04 +0100
    Subject: [PATCH] Workaround for a failing build with --enable-tests.
    
    ---
     html-test/run.lhs | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/html-test/run.lhs b/html-test/run.lhs
    index 7d3b805..1ce3e79 100755
    a b  
    7171 
    7272  -- TODO: maybe do something more clever here using haddock.cabal 
    7373  ghcPath <- fmap init $ rawSystemStdout normal haddockPath ["--print-ghc-path"] 
    74   (_, conf) <- configure normal (Just ghcPath) Nothing defaultProgramConfiguration 
     74  (_, _, conf) <- configure normal (Just ghcPath) Nothing defaultProgramConfiguration 
    7575  pkgIndex <- getInstalledPackages normal [GlobalPackageDB] conf 
    7676  let mkDep pkgName = 
    7777        fromMaybe (error "Couldn't find test dependencies") $ do