Commit graph

11 commits

Author SHA1 Message Date
Mario Rodas 639c8c1f6a
ghc: use ld.gold only on Linux
partly reverts commit 29f2f04ded.
2019-08-07 22:05:26 -05:00
Alp Mestanogullari 29f2f04ded ghc: always use ld.gold
gold is known to speed up GHC builds considerably, saving up to many seconds
when linking large Haskell applications, so this patch configures all
non-binary GHC derivations to use gold.
2019-08-05 07:50:26 +02:00
Peter Simons 895fb1629d
Merge pull request #64371 from mpickering/strip-ghc
ghc: Don't strip compilers
2019-07-06 12:54:31 +02:00
Matthew Pickering b1e3d0737a ghc: Don't strip compilers
To test this I built a version of the compiler with `dontStrip = True`
and the vanilla version. The size of the result is both 1.4gb which
indicates that the stripping doesn't do anything meaningful.

Not stripping means that the debug rts is properly packages as it
contains DWARF information and unused debugging symbols.

Fixes #63511
2019-07-06 10:02:03 +01:00
Matthew Bauer 48ba8a4fb5 ghc: add bash to buildInputs
Fixes #62417.
Closes #62553.
2019-06-07 10:07:39 +02:00
Matthew Bauer 8a52658918 ghc: use ncg for cross buildsystem
We can use ncg for all x86 builds.

Fixes #61262
2019-05-12 00:22:01 -04:00
Nathan van Doorn a184604edf ghc-8.6.4: patch to fix haddock bug with typechecker plugins
Closes https://github.com/NixOS/nixpkgs/pull/59317.
2019-04-13 12:16:33 +02:00
Matthew Bauer 6da1a83d4d ghc8.6.4: use targetPackages for getting libffi 2019-04-03 16:45:59 -04:00
Luis Pedro Coelho da402892dc ghc: make disableLargeAddressSpace configurable
Even on Linux/NixOS, it can be useful to have a compiler without the
large address space as it creates issues in some contexts.
2019-04-02 09:52:47 +02:00
John Ericson 655a29ff9c ghc, go, guile: Use new pkgs*
`pkgsBuildTarget` allows us to avoid repeated and confusing conditions.
The others merely provide clarity for one the foreign package set's
target platform matters.
2019-03-24 22:12:15 -04:00
Peter Simons 68be6bbc31 ghc: add new 8.6.4 version 2019-03-06 08:13:56 +01:00