Gabor Greif
6bedeceb8a
ghc: update 8.10.1 pre-release to announced rc1
...
https://mail.haskell.org/pipermail/ghc-devs/2020-January/018530.html
The version previously fetched was `8.10.0.20200108`.
2020-01-31 21:05:55 +01:00
Luka Blaskovic
b57464448b
haskell.compiler.ghc863Binary: remove llvm from buildInput
...
Aarch64 binary is not used.
2020-01-30 18:35:29 -05:00
Luka Blaskovic
f6160bc6eb
haskell.compiler.ghc822Binary: use default llvm version on aarch64
2020-01-30 18:35:29 -05:00
Gabor Greif
42fd1d0727
ghc: 8.8.2-rc1 -> 8.8.2
...
https://www.haskell.org/ghc/blog/20200116-ghc-8.8.2-released.html
2020-01-18 22:32:24 +01:00
Frederik Rietdijk
ed1b0d0bac
Merge master into staging-next
2020-01-13 16:08:59 +01:00
Peter Simons
74e5314b29
ghc: update 8.10.1 pre-release from alpha2 to rc1
2020-01-13 10:28:51 +01:00
Matthew Bauer
04000331c1
Merge pull request #74284 from matthewbauer/ios-with-xcode-11
...
Update iOS for XCode 11
2020-01-03 15:35:41 -05:00
Matthew Bauer
9c1a2ac51e
Merge remote-tracking branch 'origin/master' into ios-with-xcode-11
2020-01-03 15:34:20 -05:00
Matthew Bauer
036cef9473
ghc: always use llvm with iOS
...
Even when building for the simulator.
2020-01-03 15:19:37 -05:00
Robin Gloster
f6a3f5af36
treewide: structured-attrs fixes
2019-12-31 01:39:53 +01:00
Maximilian Bosch
15468f9a4b
ghc*: fix for structured attrs
...
configureFlags must be a flat list.
2019-12-31 01:31:19 +01:00
Robin Gloster
006242fd5a
treewide: fix types for mkDerivation params
2019-12-31 01:23:19 +01:00
Robin Gloster
760e23136a
treewide: *inputs are lists
2019-12-31 01:09:25 +01:00
Robin Gloster
8a227a2341
treewide: fix nested lists in *buildInputs
2019-12-31 00:57:57 +01:00
Peter Simons
525b8cd3f6
ghc: add 8.10.1-alpha2
2019-12-27 20:58:23 +01:00
Peter Simons
56f1127a42
ghc: add 8.8.2-rc1
2019-12-27 20:43:35 +01:00
John Ericson
9a080ceff2
Merge pull request #74922 from matthewbauer/ghc-no-gold-with-llvm
...
ghc: don’t use gold when useLLVM = true
2019-12-03 17:35:57 -05:00
Matthew Bauer
00cdf80d6a
ghc: don’t use gold when useLLVM = true
...
When using the llvm-based linker, we don’t have a .gold flavor to
pick. So just fall back to the normal “ld” command.
2019-12-03 11:15:20 -05:00
Domen Kožar
7217090464
ghc: compile with DWARF support by default
...
This allows our GHCs to build programs with DWARF debug information
when -g is passed, see https://ghc.haskell.org/trac/ghc/wiki/DWARF .
Compiling with debug symbols is off by default until GHC ticket
https://gitlab.haskell.org/ghc/ghc/issues/15960
(Using -g causes differences in generated core) is fixed.
2019-11-20 15:35:25 +01:00
John Ericson
b55854c0b4
ghcHEAD: 8.9.20190601 -> 8.9.20190924
...
Also close pointless diff with 8.8.1.
2019-09-27 17:00:59 +00:00
Peter Simons
8dcaebfe3b
ghc: drop unused abi-depends-determinism.nix patch
2019-09-18 18:30:31 +02:00
Peter Simons
1f157b8cf8
ghc: drop obsolete 8.2.2 version
...
We keep the last 3 major releases of GHC around, which are
versions 8.8.1, 8.6.5, and 8.4.4.
2019-09-18 18:28:11 +02:00
Peter Simons
ddb77f3437
ghc: drop obsolete 8.6.4 version
...
The latest version in the 8.6.x branch is 8.6.5.
2019-09-18 18:24:42 +02:00
Peter Simons
2c70934263
ghc: revert "compile with DWARF support by default"
...
This reverts commits 2021578686
and
f4316473d9
.
Fixes https://github.com/NixOS/nixpkgs/issues/69023 .
2019-09-18 15:18:20 +00:00
Matthew Bauer
2021578686
ghc: don’t use dwarf on windows
...
elfutils don’t work on windows
https://hydra.nixos.org/eval/1541857#tabs-removed
/cc @domenkozar
2019-09-13 16:00:30 -04:00
Domen Kožar
f4316473d9
ghc: compile with DWARF support by default
...
This allows our GHCs to build programs with DWARF debug information
when -g is passed, see https://ghc.haskell.org/trac/ghc/wiki/DWARF .
Compiling with debug symbols is off by default until GHC ticket #15960
(Using -g causes differences in generated core) is fixed.
2019-09-11 10:52:04 +02:00
Frederik Rietdijk
66bc7fc1b3
Merge master into staging-next
2019-09-06 22:46:05 +02:00
Vladimír Čunát
4179ba049c
ghc on aarch64: try to work around #66277
2019-09-06 22:32:40 +02:00
volth
08f68313a4
treewide: remove redundant rec
2019-08-28 11:07:32 +00:00
Frederik Rietdijk
5061fe0c2c
Merge staging-next into staging
2019-08-28 08:26:42 +02:00
volth
35d68ef143
treewide: remove redundant quotes
2019-08-26 21:40:19 +00:00
Peter Simons
7bf8d783f8
The proper release of ghc-8.8.1 is out.
2019-08-26 14:30:38 +02:00
Peter Simons
f10881af6b
ghc-8.8.1: update alpha-2 to rc-1
2019-08-15 16:04:33 +02:00
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
Peter Simons
52b3ae8cb8
ghc-8.8.x: bump version to alpha 2
2019-06-19 17:19:48 +02:00
volth
f3282c8d1e
treewide: remove unused variables ( #63177 )
...
* treewide: remove unused variables
* making ofborg happy
2019-06-16 19:59:05 +00:00
Silvan Mosberger
c382915e28
haskell.compiler.ghcHEAD: 20190115 -> 20190601
2019-06-12 00:20:35 +02: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
Peter Simons
894e102c84
ghc: add alpha-1 pre-release for version 8.8.1
...
The patches for https://phabricator.haskell.org/D5123 and
https://github.com/haskell/haddock/issues/900 no longer
apply and have been dropped.
2019-04-30 11:43:44 +00:00
Peter Simons
ceb9440dfb
ghc: update 8.6.5-rc1 to 8.6.5
2019-04-30 11:43:44 +00:00
Peter Simons
66c25cff94
ghc: add release candidate for 8.6.5 and a corresponding package set
2019-04-13 12:16:34 +02: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
rnhmjoj
5ea4160b33
treewide: fixup bcf54ce
...
fix the executable bit for scripts installed with substituteAll
and some remaining shebangs.
2019-04-12 09:09:22 +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
Will Dietz
93e3eecdb3
ghc*Binary: use $OBJCOPY when invoking objcopy (touchup musl fix)
2019-03-18 02:00:39 -05:00
Will Dietz
9a10434f4d
ghc{822,863}Binary: fix to work w/musl again, __strdup -> strdup
2019-03-17 05:23:11 -05:00
Peter Simons
93e4a90502
ghc: switch our default compiler to version 8.6.4
...
Also, drop obsolete 8.6.x minor releases 8.6.1, 8.6.2, and 8.6.3.
(cherry picked from commit 7fde42b8ebddbd673342b98d9d7c892a0c521583)
2019-03-16 20:30:58 +01:00
Peter Simons
68be6bbc31
ghc: add new 8.6.4 version
2019-03-06 08:13:56 +01:00
Peter Simons
456f09d76f
ghc: Drop outdated compiler versions 8.6.1 and 8.6.2. We have 8.6.3.
2019-03-05 11:13:52 +01:00
Matthew Bauer
1f212565d2
ghc863: dont add extra libs
...
Don’t add -liconv to LDFLAGS automatically so that GHC will add it itself.
Merged in pull request #56795 from @matthewbauer.
2019-03-05 11:13:52 +01:00
Sebastian Graf
cbaec5abc9
Fix include path of libffi used in GHC build
2019-03-01 11:30:05 +01:00
Frederik Rietdijk
7257dedd7c
Merge master into staging-next
2019-02-13 12:33:29 +01:00
Guillaume Bouchard
a7c774300b
ghc-8.6.3: use system libffi
...
Use the system `libffi` (`ie` nixpkgs's) instead of built-in libffi
from ghc source tree.
This will prevent library conflict when ghc dynamically links haskell
packages (linked with ghc built-in libffi) and any external library
which uses nixpkgs `libffi`.
Closes https://github.com/NixOS/nixpkgs/pull/55208 .
2019-02-12 13:40:59 +01:00
Vladimír Čunát
8ba516664b
Merge branch 'staging-next' into staging
2019-02-01 09:42:53 +01:00
Kosyrev Serge
ea19a8ed1e
ghcHEAD: update to 8.7
2019-01-27 10:26:07 +01:00
Kosyrev Serge
c92101bc32
ghc-8.6.3-binary
2019-01-27 10:26:07 +01:00
rnhmjoj
bcf54ce5bb
treewide: use ${stdenv.shell} instead of /bin/sh where possible
2019-01-16 20:37:15 +01:00
Yegor Timoshenko
bb1cb2a332
ghc844: update hash for d8495549ba9d194815c2d0eaee6797fc7c00756a patch
2019-01-11 20:06:22 +03:00
Jörg Thalheim
1b146a8c6f
treewide: remove paxutils from stdenv
...
More then one year ago we removed grsecurity kernels from nixpkgs:
https://github.com/NixOS/nixpkgs/pull/25277
This removes now also paxutils from stdenv.
2018-12-22 12:55:05 +01:00
Frederik Rietdijk
df304abd27
Merge staging-next into staging
2018-12-08 12:50:38 +01:00
Peter Simons
c37ae1dcf6
ghc: add new compiler version 8.6.3
2018-12-08 11:46:20 +01:00
Matthew Bauer
7a00e80329
ghc: don’t add libiconv automatically
...
ghc needs it to fail to correctly detect it for later.
2018-12-05 13:17:40 -06:00
John Ericson
62a1bc0031
Merge pull request #51307 from expipiplus1/ghc-arm
...
ghc-8.4: fix build targeting arm
2018-12-01 02:23:43 -05:00
Joe Hermaszewski
7fa0befcc7
ghc-8.4: fix build targeting arm
...
Fixes https://ghc.haskell.org/trac/ghc/ticket/15780
2018-12-01 12:09:05 +08:00
Craig Younkins
a655fb9fbd
ghc: Adding sphinx as build dependency to build man pages
...
Fixes https://github.com/NixOS/nixpkgs/issues/49627 .
Closes https://github.com/NixOS/nixpkgs/pull/50920 .
2018-11-25 09:43:34 +01:00
Benjamin Hipple
a4758050a3
ghc bootstrap binary: 8.2.1 -> 8.2.2
...
If the nix store lives on NFS, `ghc 8.2.1` is unable to build a package
database. This bug was fixed by @bgamari in `ghc 8.2.2` here:
https://ghc.haskell.org/trac/ghc/ticket/13945
This commit upgrades the unpacked bootstrap GHC version, so that we can build
newer versions of GHC even if the store is on NFS.
2018-11-21 16:06:22 +01:00
Matthew Bauer
5f575e7339
ghc: perl is needed at runtime
...
ghc-split is a script that is written in perl. We need to have a perl interpreter around to use it.
Fixes #50569
2018-11-18 18:47:02 -06:00
Will Dietz
6ebb2c385b
ghc: disable pie, for now limit to musl since not default yet elsewhere
2018-11-15 21:55:08 -06:00
Peter Simons
357554ae89
ghc: drop unused 7.10.3-binary compiler
2018-11-08 17:39:13 +01:00
Peter Simons
8d81cf6201
ghc: add new version 8.6.2
2018-11-06 10:35:02 +01:00
Renato Alves
3bcdb3945a
ghc-8.2.1-binary: Patch shebang causing failures in Centos 6
2018-11-05 14:05:50 +01:00
Peter Simons
2f0de54ddb
Drop obsolete GHC versions 7.10.3, 8.0.2, and 8.4.3.
...
We keep the latest minor release of each one of the last 3 major releases,
which currently are GHC versions 8.2.2, 8.4.4, and 8.6.1. We also have
ghc-HEAD, but this doesn't count.
Dropping these compilers implied that we have to drop the corresponding
versions of ghcjs, too. We can also drop a shitload of obsolete compiler
patches that newer versions no longer need.
At some point, we can probably simplify the generic builder, too.
2018-11-02 20:13:55 +01:00
Guillaume Bouchard
55a82ffcd3
ghc: fix typo in 8.6.1 compiler name
2018-10-24 21:29:15 +02:00
Peter Simons
069bf7aee3
ghc: add new 8.4.4 version
2018-10-15 11:55:19 +02:00
Drew Hess
a1600d0aa8
ghc: enable parallel building of GHC on aarch64.
...
Note: this only affects GHC, not haskellPackages, which still suffers
from https://ghc.haskell.org/trac/ghc/ticket/15449 .
2018-10-14 18:00:06 -04:00
Drew Hess
4babe7f799
haskell: re-enable aarch64, but disable parallel builds on that arch.
...
This is a workaround for unreliable parallel Haskell builds on
aarch64. See https://ghc.haskell.org/trac/ghc/ticket/15449
2018-10-05 01:28:42 -04:00
John Ericson
e1605d9b21
Merge pull request #47647 from obsidiansystems/ghc-8.2.2-change-patch
...
ghc-8.2.2: Oops, added adjacent patch to the one I wanted for master
2018-10-02 01:47:53 -04:00
John Ericson
bfef8113f6
ghc-8.2.2: Oops, added adjacent patch the one I wanted
2018-10-02 05:41:54 +00:00
John Ericson
e231a374b8
Merge pull request #47644 from obsidiansystems/ghc-8.2-hsc2hs
...
ghc-8.2.2: Fix which hsc2hs is installed on cross
2018-10-02 01:10:47 -04:00
John Ericson
4f5d9996a6
ghc-8.2.2: Fix which hsc2hs is installed on cross
...
These commits all ended up on later GHCs, and are already being patched
in for ghc-8.4.3 in nixpkgs.
2018-10-02 00:33:30 -04:00
John Ericson
a3d86b49b4
Merge pull request #47626 from obsidiansystems/ghc-cross-fixes
...
ghc: Misc cross fixes
2018-10-01 17:19:31 -04:00
John Ericson
b19113380f
ghc 8.2.2: Backport cross fixes from 8.4.3
...
Other patches are also needed for a working build, but that doesn't mean
these patches are any less necessary.
2018-10-01 20:54:21 +00:00
John Ericson
cb442d9345
ghcHEAD: Copy android hack that other GHCs have
...
Not sure why this one doesn't
2018-10-01 20:53:46 +00:00
John Ericson
d4b5df711a
ghcHEAD: Force INTEGER_LIBRARY like the other GHCs
...
We really need to abstract to avoid these copy-paste errors.
2018-10-01 20:50:58 +00:00
Tuomas Tynkkynen
f4dd2fed7f
ghc: Replace meta.available checks for enableIntegerSimple
...
This sort of code breaks config.{allowBroken, allowUnsupportedSystem} =
true by making them do unpredictable things.
2018-09-28 15:01:00 +03:00
John Ericson
4adf621798
Merge remote-tracking branch 'upstream/master' into haskell-no-rec
2018-09-24 20:09:25 -04:00
John Ericson
e6a476c862
ghc, ghcjs: Get rid of extraneous alex, happy, and hscolour args
...
The compilers themselves can pull them from `bootPkgs`, where they
should always come from anyways. This enforces that, simplifies that
code, and allows use to avoid more `rec { ... }` too.
2018-09-24 20:00:39 -04:00
Peter Simons
2ffcbeda13
ghc: add release version for 8.6.1
2018-09-22 13:26:33 +02:00
Shea Levy
cd41cad074
haskell.compiler.ghc861: Apply fix to abi-hash with backpack.
...
See https://phabricator.haskell.org/D5123 .
2018-09-12 10:31:10 +02:00
Shea Levy
e6e56bbe32
ghc: Apply fix to abi-hash with backpack.
...
See https://phabricator.haskell.org/D5123 .
2018-09-12 10:31:10 +02:00
John Ericson
0828e2d8c3
treewide: Remove usage of remaining redundant platform compatability stuff
...
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
2018-08-30 17:20:32 -04:00
Matthew Bauer
13c8acc3db
Revert "Merge pull request #44767 from obsidiansystems/wrapper-env-var-path"
...
This reverts commit 89efc27f57
, reversing
changes made to d0f11020ca
.
2018-08-22 01:14:53 +02:00
Shea Levy
28e51c7cea
ghc: Use stable URL for deterministic profiling patch.
2018-08-21 14:58:14 -04:00
John Ericson
89efc27f57
Merge pull request #44767 from obsidiansystems/wrapper-env-var-path
...
{cc,bintools}-wrapper, ghc, libgcc: Define wrapper env vars as full paths
2018-08-17 16:12:26 -04:00