[GHC] #16202: Hadrian install script doesn't update location of haddockHTMLs and haddockInterfaces

GHC ghc-devs at haskell.org
Mon Mar 4 18:50:59 UTC 2019


#16202: Hadrian install script doesn't update location of haddockHTMLs and
haddockInterfaces
-------------------------------------+-------------------------------------
        Reporter:  harpocrates       |                Owner:  harpocrates
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Build System      |              Version:  8.6.3
  (Hadrian)                          |
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Installing GHC    |  Unknown/Multiple
  failed                             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |  https://gitlab.haskell.org/ghc/ghc/merge_requests/147
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"d26869ac83935432e0dcea1ff591268232daef32/ghc"
 d26869ac/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="d26869ac83935432e0dcea1ff591268232daef32"
 Hadrian: install patches 'haddock-{html,interface}'

 Since the `$(docdir)` can be picked independently from the `$(libdir)`,
 we need to make sure that that the `haddock-html` and `haddock-interface`
 fields in the package DB (which is in the `$(libdir)`) get updated to
 point to the appropriate places in the `$(docdir)`.

 NB: in the make system, `ghc-cabal` would cover this sort of thing by
 re-running `configure` on installation, but here we get away with a
 couple lines of `sed` and a call to `ghc-pkg recache`.

 Fixes #16202.
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16202#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list