3noch
4b77d425aa
Fix GHCJS HEAD patch; support GHCJS libdir link; use full ghcEnv for GHCJS
...
Original:
f3110651c8
(With some tweaks from @cstrahan)
closes #23199
2017-03-02 11:35:11 -05:00
3noch
7d356ff696
Disable large address space in GHC iOS X compiler
...
Original:
17cea33d1a
2017-03-02 11:34:15 -05:00
Bas van Dijk
dfcc9e2994
ghc: support building with integer-simple and provide package sets for it
...
If the flag enableIntegerSimple is true GHC will be build with the GPL-free but
slower integer-simple library instead of the faster but GPLed integer-gmp
library.
The attribute `pkgs.haskell.compiler.integer-simple."${ghcVersion}"` provides a
GHC compiler build with `integer-simple`.
Similarly, the attribute `pkgs.haskell.packages.integer-simple."${ghcVersion}"`
provides a package set supporting `integer-simple`.
Closes https://github.com/NixOS/nixpkgs/pull/22121 .
Closes https://github.com/NixOS/nixpkgs/issues/5493 .
2017-02-02 10:57:00 +01:00
John Ericson
a1a798f017
top-level: crossSystem
is no longer exposed to packages. Use *Platform
.
2017-01-24 11:37:56 -05:00
Shea Levy
46bec22f66
Revert "Add function to build a ghc standalone archive (OSX/iOS only)"
...
Partial revert of accidental changes.
This reverts commit 4f9f00fcc9
.
2017-01-23 18:37:15 -05:00
Shea Levy
4f9f00fcc9
Add function to build a ghc standalone archive (OSX/iOS only)
2017-01-23 18:35:03 -05:00
Shea Levy
845dd121f8
ghc-head: Put ./boot into commonPreConfigure
2017-01-06 22:10:29 -05:00
Shea Levy
3c2cbd3259
ghc-head: bump
2017-01-06 08:39:12 -05:00
Matthew Pickering
4541b10904
Refactor ghcHEAD postPatch / preConfigure phases
...
This is for GHC developers using NixOS where patchShebangs is
inconvenient as it dirties the tree but unnecessary for compilation.
2016-12-26 13:27:34 +00:00
Matthew Pickering
d906fb2c9a
Bump ghcHEAD to latest commit
2016-12-26 13:27:33 +00:00
Matthew Pickering
0cd5ebb48f
Configure checkPhase for ghcHEAD
...
The testsuite requires python3 so we have to add it as a dependency.
2016-12-26 13:27:33 +00:00
Will Dietz
387066357d
ghc-8.x: paxmark ghc and haddock
2016-12-19 10:55:29 +01:00
Franz Pletz
f01dd648f5
Merge branch 'master' into staging
2016-11-23 02:06:26 +01:00
Peter Simons
02668d6c6a
ghc: drop patch that disables use of response files
...
https://github.com/NixOS/nixpkgs/issues/11762 has been fixed by
1ad1edbb32
.
2016-11-19 20:21:32 -04:00
Shea Levy
64ec4dd87b
Add haskell packages set for cross ghc
2016-11-18 10:44:53 -05:00
Shea Levy
da547f7961
ghcHEAD: Add back response files patch
2016-11-17 01:05:21 -05:00
Shea Levy
d9e63424b7
ghc-HEAD: Run boot after patches.
...
This allows for patches affecting configure.ac to take effect
2016-11-15 19:44:21 -05:00
Shea Levy
6f7593fddc
ghc-head: fix hash.
...
Apparently fetchgit lies...
2016-11-15 18:30:32 -05:00
Shea Levy
845b56d25a
Initial support for cross-compiling ghc
2016-11-15 16:59:09 -05:00
Daniel Haraj
bac1189399
haskell.compiler.ghcHEAD: fix patchPhase #10752
2016-11-09 14:26:43 -05:00
Ollie Charles
a4f2d339fe
haskell.compiler.ghcHEAD: Update to latest upstream
2016-11-08 10:03:05 +00:00
Mathieu Boespflug
4b34e4a7cb
haskell.compiler.ghcHEAD: update to latest upstream (20160930).
...
Includes several fixes necessary for inline-java full functionality.
2016-10-04 17:51:37 +02:00
Mathieu Boespflug
5f8891153b
haskell.compiler.ghcHEAD: update to latest upstream (20160826).
2016-08-26 21:15:04 +02:00
Tuomas Tynkkynen
74a3a2cd7e
treewide: Use makeBinPath
2016-08-23 01:18:10 +03:00
Peter Simons
8e462995ba
Bring my stdenv.lib.maintainers user name in line with my github nick.
2016-05-16 22:49:55 +02:00
Peter Simons
2422ae0838
ghc: update 8.0.x pre-release from rc2 to rc3
2016-04-14 09:17:55 +02:00
Thomas Tuegel
3ef7671cea
ncurses: combine $lib and $out outputs
...
The $lib output refers to the terminfo database in $out, which is about
10x larger than the ncurses shared library. Splitting these outputs
saves a small amount of space for any derivations that use the terminfo
database but not the ncurses library, but we do not have evidence that
any such exist.
2016-03-08 11:35:24 -06:00
Vladimír Čunát
09af15654f
Merge master into closure-size
...
The kde-5 stuff still didn't merge well.
I hand-fixed what I saw, but there may be more problems.
2016-03-08 09:58:19 +01:00
John Ericson
114cd6765d
haskell: Expose the package set used to build each GHC, where possible
...
Tested to not change hashes
2016-02-21 10:16:13 -08:00
Vladimír Čunát
f9f6f41bff
Merge branch 'master' into closure-size
...
TODO: there was more significant refactoring of qtbase and plasma 5.5
on master, and I'm deferring pointing to correct outputs to later.
2015-12-31 09:53:02 +01: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
Vladimír Čunát
148e03b2f1
gmp: split into multiple outputs
2015-10-28 10:15:49 +01:00
Vladimír Čunát
91407a8bdf
ncurses: split into multiple outputs
...
Some programs (e.g. tput) might better be moved somewhere else than
$dev/bin, but that can be improved later if need be.
2015-10-13 20:18:44 +02:00
Peter Simons
d34f7ded49
ghc-head: update to current HEAD
2015-08-28 22:28:06 +02: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
Mateusz Kowalczyk
2b833d5297
haskell-ghc: update head to 20150705
2015-07-05 21:01:37 +01:00
Jude Taylor
b9de32de5b
update GHC HEAD and configuration
2015-06-08 00:48:34 -07:00
Peter Simons
fc36141267
ghc-head: update to current git HEAD
2015-04-03 00:50:44 +02:00
Peter Simons
e2b033cad9
ghc: re-instate code that configures statically linked builds by default
...
The compiler should not expect to have dynamic versions of all libraries
available, because that configuration doesn't play along nicely with statically
linked libraries.
Fixes https://github.com/NixOS/nixpkgs/issues/6399 .
2015-03-09 15:55:24 +01:00
Peter Simons
54ce1a1810
Merge remote-tracking branch 'origin/master' into staging.
...
Conflicts:
pkgs/development/compilers/ghc/head.nix
pkgs/top-level/haskell-ng.nix
2015-02-13 22:13:25 +01:00
Joel Taylor
2a5dacbf6b
patch shebangs in boot script
2015-02-13 10:37:47 +01:00
Joel Taylor
dcafdf47ea
Revert "Revert "Build GHC HEAD from git checkout"."
...
This reverts commit 15416dd2ec
.
2015-02-13 10:37:47 +01:00
Peter Simons
15416dd2ec
Revert "Build GHC HEAD from git checkout".
...
This reverts commit 52c8d7c4ab
. The new
expression doesn't compile: http://hydra.nixos.org/build/19594431/nixlog/1/raw .
2015-02-12 20:15:56 +01:00
Joel Taylor
52c8d7c4ab
Build GHC HEAD from git checkout
2015-02-11 14:32:54 -08:00
Joel Taylor
db4cb021c0
Add purity to GHC builds on Darwin.
2015-02-10 22:08:01 +01:00
Peter Simons
f637b5368b
ghc-head: re-use the $version attribute in the URL to prevent mismatches
2015-02-03 17:01:09 +01:00
Peter Simons
134d1a80c6
Add a package set for GHC 7.10.1-rc1 and bump GHC HEAD to 7.11.x.
...
Fixes https://github.com/NixOS/nixpkgs/issues/5836 .
2015-01-19 13:55:31 +01:00
Peter Simons
d1fc5370e9
ghc: pass explicit 'ncurses' path to ./configure instead of finding through the environment
...
Fixes https://github.com/NixOS/nixpkgs/issues/5616 . For real this time!
2015-01-17 20:29:00 +01:00
Peter Simons
df76eb1268
ghc: revert "propagate 'gmp' and 'ncurses' to ensure users can link the 'haskeline' library, etc."
...
I thought that [1] could be fixed by ensuring that ncurses is available in the
environment (because ghc exports it as a propagateBuildInput), and indeed that
change fixed *some* build failures we've had before. However, the same error
still occurs with other packages, like hledger [2] and Agda [3]. Frankly, I
have no idea why those packages fail and others don't. But clearly the fix was
inadequate, so I'm reverting commit a8076c76
.
[1] https://github.com/NixOS/nixpkgs/issues/5616
[2] http://hydra.cryp.to/build/372451/nixlog/1/raw
[2] http://hydra.cryp.to/build/373161/nixlog/1/raw
2015-01-14 22:24:33 +01:00