[GHC] #15494: Cannot install GHC through stack on NixOS

GHC ghc-devs at haskell.org
Fri Aug 10 03:07:15 UTC 2018


#15494: Cannot install GHC through stack on NixOS
-------------------------------------+-------------------------------------
        Reporter:  Stefanov          |                Owner:  (none)
            Type:  bug               |               Status:  upstream
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:  install
                                     |  fail,NixOS,Linux
Operating System:  Linux             |         Architecture:  arm
 Type of failure:  Installing GHC    |            Test Case:
  failed                             |
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * status:  new => upstream


Comment:

 Indeed I strongly suspect that this is due to NixOS's odd filesystem
 structure. Afterall, GHC has a few dependencies (`libc`, `gmp`, and
 perhaps the `iconv` executable) which NixOS places in rather odd places.
 You will likely need to bring this up with either the Stack or NixOS
 upstreams.

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


More information about the ghc-tickets mailing list