[GHC] #16120: Hadrian should use cabal build-tools installed Alex and Happy if necessary

GHC ghc-devs at haskell.org
Mon Feb 25 12:19:39 UTC 2019


#16120: Hadrian should use cabal build-tools installed Alex and Happy if necessary
-------------------------------------+-------------------------------------
        Reporter:  adamse            |                Owner:  (none)
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Build System      |              Version:  8.6.3
  (Hadrian)                          |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |  https://gitlab.haskell.org/ghc/ghc/merge_requests/69
-------------------------------------+-------------------------------------
Changes (by sgraf):

 * cc: mpickering (added)


Comment:

 I just wanted to point out that this makes for different behavior when
 doing `./configure` and `hadrian/build.cabal.sh -c`. Specifically, when
 opening a `nix-shell --pure
 https://github.com/alpmestan/ghc.nix/archive/master.tar.gz`, this pollutes
 the configured $PATH variable with cabal-specific paths in my user home.
 Doing just `./configure` doesn't do that.

 I don't see why we always want to use the happy and alex versions that
 were used to build Hadrian.

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


More information about the ghc-tickets mailing list