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

GHC ghc-devs at haskell.org
Thu Aug 9 09:30:45 UTC 2018


#15494: Cannot install GHC through stack on NixOS
-------------------------------------+-------------------------------------
        Reporter:  Stefanov          |                Owner:  (none)
            Type:  bug               |               Status:  new
        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:                    |
-------------------------------------+-------------------------------------
Description changed by Stefanov:

Old description:

> stack setup gives me this error:
>

> # The .dll case calls STRIP_CMD explicitly, instead of `install -s`,
> because
> # on Win64, "install -s" calls a strip that doesn't understand 64bit
> binaries.
> # For some reason, this means the DLLs end up non-executable, which means
> # executables that use them just segfault.
> Error: Error encountered while installing GHC with
>          make install
>          run in
> /home/stefanov/.stack/programs/x86_64-linux/ghc-8.4.3.temp/ghc-8.4.3/
>
> Possibly a domain-specific problem,caused by NixOS's file management.

New description:

 stack setup gives me this error:


 # The .dll case calls STRIP_CMD explicitly, instead of `install -s`,
 because
 # on Win64, "install -s" calls a strip that doesn't understand 64bit
 binaries.
 # For some reason, this means the DLLs end up non-executable, which means
 # executables that use them just segfault.


 Error: Error encountered while installing GHC with
          make install
          run in
 /home/stefanov/.stack/programs/x86_64-linux/ghc-8.4.3.temp/ghc-8.4.3/

 Possibly a domain-specific problem,caused by NixOS's file management.

--

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


More information about the ghc-tickets mailing list