[GHC] #10001: GHC crash trying to build a project within Nix-shell

GHC ghc-devs at haskell.org
Tue Jul 14 15:26:30 UTC 2015


#10001: GHC crash trying to build a project within Nix-shell
-------------------------------------+-------------------------------------
        Reporter:  wolftune          |                   Owner:
            Type:  bug               |                  Status:  infoneeded
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.8.4
      Resolution:                    |                Keywords:
Operating System:  Linux             |            Architecture:  x86_64
 Type of failure:  Compile-time      |  (amd64)
  crash                              |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  9825              |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by siddhanathan):

 This example does fail outside a Nix-shell. I just had the same issue with
 GHC 7.10.1

 Reproducing should be simple. Just install the nix package manager
 ([http://nixos.org/nix/]), copy the files in the gist to a new folder, run
 `nix-shell` in the folder, and then `cabal sandbox init && cabal install`.

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


More information about the ghc-tickets mailing list