Commit graph

300 commits

Author SHA1 Message Date
Jude Taylor
552207f5ef package GHC-8.0.1-rc1 2016-01-13 12:04:18 -08:00
Peter Simons
1f108490f1 ghc-HEAD: update build instructions and bump version to current Git master
Closes https://github.com/NixOS/nixpkgs/issues/10752.
2015-12-16 21:33:56 +01:00
Peter Simons
878692e645 ghc-7.10.3: remove the obsolete build.mk file
New versions of GHC allow us to specify those things on the
command-line, so the build.mk file is no longer necessary.
2015-12-16 21:33:56 +01:00
Peter Simons
a421e7bd4a ghc-7.10.3: don't pass compiler or linker flags through a response file
The new GHC version contains a patch [1] that passes linker and compiler flags
to GCC via response files rather than directly on the command-line. This is
supposed to be beneficial on Windows and other platforms that have trouble
dealing with long argument lists. On NixOS, however, this feature breaks the
flag handling provided by gcc-wrapper [2] and therefore causes the entire GHC
build to fail.

This issue has been reported upstream at [3]. It's not clear yet how to remedy
this problem, but until we've figured that out we just don't pass compiler flags
in response files on NixOS to fix https://github.com/NixOS/nixpkgs/issues/10752.

[1] 296bc70b5f
[2] https://github.com/NixOS/nixpkgs/issues/11762
[3] https://ghc.haskell.org/trac/ghc/ticket/11147
2015-12-16 21:33:56 +01:00
Peter Simons
eae27e7798 ghc: update version 7.10.3 to 7.10.3a
Apply upstream patches that fix minor cosmetic issues in the documentation.
2015-12-16 21:33:56 +01:00
Peter Simons
4cca974eb6 ghc: add version 7.10.3 2015-12-09 16:03:20 +01:00
William A. Kennington III
773b4deb7c Merge commit 'a6f6c0e' into master.upstream
This is a partial merge of staging where we have up to date binaries for
all packages.
2015-09-15 12:16:49 -07:00
Peter Simons
73d79ed945 ghc: re-add version 7.8.3, which is required for LTS support 2015-09-15 16:23:46 +02:00
Vladimír Čunát
8f33b8cc93 mass rewrite of find parameters to cross-platform style
Fixes #9044, close #9667. Thanks to @taku0 for suggesting this solution.
Now we have no modes starting with `/` or `+`.

Rewrite the `-perm` parameters of find:
 - completely safe: rewrite `/0100` and `+100` to `-0100`,
 - slightly semantics-changing: rewrite `+111` to `-0100`.
I cross-verified the `find` manual pages for Linux, Darwin, FreeBSD.
2015-09-06 10:26:30 +02:00
Peter Simons
dea5d87e42 ghc-7.10.2: enable documentation builds by passing the required XML/XSLT toolchain
Closes https://github.com/NixOS/nixpkgs/issues/9265.

Also, pass a hscolour binary to get source code links in the generated Haddock
documentation: closes https://github.com/NixOS/nixpkgs/issues/2985.
2015-08-31 16:49:37 +02:00
Peter Simons
de2c043d5f ghc: install bash completion shipped in version 7.10.x and later
Addresses one half of https://github.com/NixOS/nixpkgs/issues/9265.
2015-08-31 16:49:00 +02:00
Peter Simons
d7055b15b7 ghc: drop obsolete version 7.10.1
The new 7.10.2 version works fine.
2015-08-31 16:46:39 +02:00
Peter Simons
d34f7ded49 ghc-head: update to current HEAD 2015-08-28 22:28:06 +02:00
Kosyrev Serge
18926d981c ghcNokinds: 2015-07-18 -> 2015-08-26 2015-08-28 19:50:18 +03:00
Domen Kožar
e4644a5b58 Merge branch 'staging' 2015-08-25 14:14:54 +02:00
Kosyrev Serge
301bf5018d ghcNokinds: add myself as maintainer 2015-08-24 22:55:04 +03:00
Vladimír Čunát
a64cee8c78 ghc-7.4.2-binary: fix on i686 after 6c4364041
I'm not sure what was the compatibility problem before that commit,
but ghc at least builds now on both x86 Linux platforms
(and this commit doesn't cause a rebuild on x86_64-linux).
2015-08-17 10:36:36 +02:00
William A. Kennington III
952def0e3c Merge branch 'master.upstream' into staging.upstream 2015-08-13 11:55:02 -07:00
Peter Simons
f741d426da ghc-nokinds: remove "nokinds" tag from derivation name
The name of the GHC derivation must match the name and version tuple GHC
uses to identify itself, because the withPackages wrapper uses that name
to construct installation library paths etc., and those paths must match
those constructed by the compiler. If we add another tag to the name
that GHC itself doesn't use, then the paths assumed to exist by the
wrapper are wrong.
2015-08-13 12:26:41 +02:00
Peter Simons
5a0f0bc0ca ghc: make sure the nokinds version is built with a deterministic version number 2015-08-12 13:16:27 +02:00
William A. Kennington III
6c43640410 ghc: Fix compatability with new versions of ncurses 2015-08-11 12:17:35 -07:00
William A. Kennington III
6e698f9c61 Merge branch 'master.upstream' into staging.upstream 2015-08-09 13:34:18 -07:00
Peter Simons
bfa187de68 ghc-head: bump version to current git HEAD 2015-08-09 20:16:19 +02:00
Peter Simons
eb5f4d3d36 ghc: make sure the HEAD version is built with a deterministic version number 2015-08-09 20:16:19 +02:00
Peter Simons
d3ac5c534d ghc: patch start scripts to add 'readelf' and 'cat' into $PATH
Fixes https://github.com/NixOS/nixpkgs/issues/8192.
2015-08-09 15:17:58 +02:00
Peter Simons
ebe412e8f7 ghc: update 7.10.2 to release version 2015-08-05 21:15:46 +02:00
Kosyrev Serge
103613f766 ghcNokinds: 20150703 -> 20150718 2015-07-28 02:02:33 +03:00
William A. Kennington III
ae28ff8b91 Merge branch 'master.upstream' into staging.upstream 2015-07-06 17:15:11 -07:00
Kosyrev Serge
5fee7af3ba ghc: add haskell.compiler.ghcNokinds, for Richard Eisenberg's 'nokinds' branch 2015-07-06 11:09:28 +03:00
William A. Kennington III
d605663ae2 Merge branch 'master.upstream' into staging.upstream 2015-07-05 13:06:02 -07:00
Mateusz Kowalczyk
2b833d5297 haskell-ghc: update head to 20150705 2015-07-05 21:01:37 +01:00
Peter Simons
df4fb819be ghc: add release candidate 2 for compiler version 7.10.2 2015-07-05 20:56:29 +02:00
Peter Simons
85ae0cb070 ghc: move gcc-clang-wrapper.sh script into the ghc directory tree since it's the only user of that script 2015-06-12 10:54:02 +02:00
Jude Taylor
b9de32de5b update GHC HEAD and configuration 2015-06-08 00:48:34 -07:00
Peter Simons
2e24bef56f ghc-6.x: enable builds again now that 5a89a87cc5 is in master
Resolves https://github.com/NixOS/nixpkgs/issues/7810.
2015-05-30 19:54:42 +02:00
Joel Taylor
24be3cfcff ghc: add Darwin patch for #10322 2015-05-19 09:56:15 -07:00
Peter Simons
54db9d427d ghc-6.x: mark broken because of https://github.com/NixOS/nixpkgs/issues/7810
6.10.4 and 6.12.3 are broken because they need 6.10.2-binary for bootstrapping.
2015-05-18 18:04:37 +02:00
Joel Taylor
c714842d9f patch GHC 7.8.4 on darwin to fix template haskell + hpc 2015-05-17 14:31:24 -07:00
Charles Strahan
9a658d340f ghc-7.10.1: fix user pkg db location for GHCJS
This cherry picks the commit referenced on the associated trac ticket:
https://ghc.haskell.org/trac/ghc/ticket/10232
2015-05-05 20:48:27 -04:00
Peter Simons
acb628a07f Drop obsolete pkgs/development/compilers/ghc/wrapper.nix.
Resolves https://github.com/NixOS/nixpkgs/issues/6575.
2015-05-04 12:27:03 +02:00
Peter Simons
fc36141267 ghc-head: update to current git HEAD 2015-04-03 00:50:44 +02:00
Charles Strahan
981dbc35d1 ghc-7.10.1: cherry-pick Cabal bugfix for GHCJS 2015-03-29 12:20:02 -04:00
Charles Strahan
d590a0f4b6 ghcjs: support for Haskell-NG
closes #5828
closes #6786
2015-03-29 03:34:04 +02:00
Peter Simons
64a4fab42b ghc: bump version to 7.10.1 release 2015-03-27 15:33:53 +01:00
Peter Simons
eb4f75a868 ghc: remove obsolete "i686-darwin" from meta.platforms 2015-03-26 11:29:05 +01:00
Peter Simons
6bd48cbfef Enable Darwin builds of Haskell packages again.
Hopefully, issues like https://github.com/NixOS/nixpkgs/issues/2689 are
all remedied by now.
2015-03-26 11:29:05 +01:00
Peter Simons
93bd02a6aa ghc: versions prior to 7.4.x currently don't work on Darwin
db4cb021c0 (commitcomment-10320216)
2015-03-26 11:29:05 +01:00
Mateusz Kowalczyk
d56831a9af ghc: update link and version of 7.10 RC3 2015-03-19 12:33:11 +00:00
Peter Simons
04611ab692 ghc: update 7.10.1 to rc3 2015-03-17 11:40:51 +01:00
Peter Simons
3f712f8448 ghc-6.10.4: cosmetic clean up 2015-03-15 11:00:11 +01:00