Peter Simons
ab7a07f73b
Merge pull request #35321 from ElvishJerricco/fix-haskell-compiler-name-version
...
Fix haskellCompilerName version.
2018-02-25 19:59:51 +01:00
Kosyrev Serge
624366d407
ghc841: bump to 20180224
2018-02-25 06:59:16 +03:00
Will Fancher
a9646b39cf
Fix haskellCompilerName version.
...
This matters for `callCabal2nix`, when the cabal file has something
like `if impl(ghc >= 7.7)`
2018-02-22 03:11:25 -05:00
Shea Levy
7ac6c77323
ghc: Make deterministic profiling patches opt-in.
...
The patch changes some pieces of the exposed API, so we can't have our
default GHC changed in this way.
2018-02-10 18:10:44 +01:00
Shea Levy
69b0bc1bdf
ghc 8.{2,4}: Add patches for deterministic profiling symbols.
...
These are taken from https://phabricator.haskell.org/D4388 (which is
against HEAD) and fix an inconsistency when building profiling
libraries on multiple machines that leads to linking failure.
2018-02-10 18:05:29 +01:00
Kosyrev Serge
6419664793
ghc841: bump to alpha3
2018-02-06 21:58:32 +03:00
Peter Simons
72141a630b
ghc-8.4.1: un-revert "update to 8.4.1-alpha2"
...
This commit undoes the revert from a74b0e717d
.
See https://github.com/NixOS/nixpkgs/issues/34229 and
https://github.com/NixOS/nixpkgs/pull/34232 for further details about why this
build seemed broken.
2018-01-29 13:01:46 +01:00
Peter Simons
a74b0e717d
ghc-8.4.1: revert "update to 8.4.1-alpha2"
...
This reverts commit d232856846
from
https://github.com/NixOS/nixpkgs/pull/34172 . The new version does not compile:
https://nix-cache.s3.amazonaws.com/log/zhxjgmilqh5bnp16rv0fx4b6bcrhxf2a-ghc-61db0b8.drv .
2018-01-26 13:01:12 +01:00
Kosyrev Serge
d232856846
ghc841: update to 8.4.1-alpha2
2018-01-23 01:40:38 +03:00
Ben Gamari
bf687907d7
haskell lib: Make Cabal compiler names explicit
...
Cabal2nix expects a --compiler flag that contains a Cabal Compiler description.
We used to use the compiler's derivation name for this, but this breaks when
cross-compiling due to the target suffix. Instead we add an explicit
haskellCompilerName attribute to Haskell compiler derivations.
2018-01-21 23:31:05 -05:00
John Ericson
8560c025bc
ghc 8.4.1: Reformat to move rev into src
2018-01-21 23:31:04 -05:00
Ben Gamari
af03b7746a
ghc 8.2.2 & head: Work around ARM bugs in BFD ld by using gold
2018-01-21 23:31:03 -05:00
Ryan Trinkle
bd0de2f1cb
ghc: Fix env vars and configure flags to be weird
...
GHC currently handles this stuff in a quite non-standard way, basically
taking prog var `FOO` to mean `FOO_FROM_TARGET`. It's because it
(wrongly) thinks from stage 2's perspective.
2018-01-21 23:31:03 -05:00
John Ericson
e760de8108
ghc: Predicate libiconv on not using glibc instead of Darwin
2018-01-21 23:31:03 -05:00
John Ericson
398ac54593
ghc: Fix cross compilation to work with new system
2018-01-21 23:31:03 -05:00
John Ericson
bc16cfc009
ghc: Remove old cross work
...
That way the next commit can apply a similar diff to each GHC.
2018-01-21 23:31:02 -05:00
John Ericson
0eb3acaf38
ghc: echo -n
mk/build.mk to avoid extra line
2018-01-21 23:27:38 -05:00
John Ericson
5a6b6b4ac5
ghc: Normalize derivations a bit before cross
...
These changes will affect the final derivation
2018-01-21 23:27:38 -05:00
Kosyrev Serge
8d027c1113
ghc841: GHC 8.4.1: nix-shell -p haskell.compiler.ghc841
2018-01-19 16:06:02 +03:00