[Git][ghc/ghc][wip/ci-docs] try

Matthew Pickering (@mpickering) gitlab at gitlab.haskell.org
Wed Feb 28 11:08:48 UTC 2024



Matthew Pickering pushed to branch wip/ci-docs at Glasgow Haskell Compiler / GHC


Commits:
8b06f0e9 by Matthew Pickering at 2024-02-28T11:08:09+00:00
try

- - - - -


1 changed file:

- hadrian/src/Builder.hs


Changes:

=====================================
hadrian/src/Builder.hs
=====================================
@@ -376,7 +376,10 @@ instance H.Builder Builder where
 
                 Tar _ -> cmd' buildOptions [path] buildArgs
 
-                Sphinx {} ->
+                Sphinx {} -> do
+                  let unpack = fromMaybe . error $ "Cannot find path to builder "
+                                ++ quote "sphinx-build"  ++ " Did you skip configure?"
+                  path <- unpack <$> lookupValue configFile "sphinx-build"
                   cmd' ["perl", path] buildArgs buildOptions
 
                 -- RunTest produces a very large amount of (colorised) output;



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/8b06f0e94113052450612be663f76ffc634435da

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/8b06f0e94113052450612be663f76ffc634435da
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240228/b0e38546/attachment-0001.html>


More information about the ghc-commits mailing list