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

GHC ghc-devs at haskell.org
Wed Oct 31 15:55:14 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:                    |
-------------------------------------+-------------------------------------

Comment (by fendor):

 The problem should be fixable by using stack in nix mode, e.g. `stack
 setup --nix` or adding the nix flag in the global project.

 E.g.

     packages: []

     resolver: lts-12.14

     nix:
         enable: true

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


More information about the ghc-tickets mailing list