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

GHC ghc-devs at haskell.org
Mon Jul 27 09:27:54 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 johnleuner):

 I managed to work around this problem by creating a temporary directory in
 my working directory.

 From my nix shell:

 export TMPDIR=$(pwd)/temp
 cabal install

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


More information about the ghc-tickets mailing list