John Ericson
12795a7068
misc: Remove almost all uses of stdenv.{ccCross,binutils}
2017-06-22 17:53:52 -04:00
John Ericson
594d264205
cross stdenv adaptor: Support --host --build --target across the board
...
Packages get --host and --target by default, but can explicitly request
any subset to be passed as needed. See docs for more info.
rustc: Avoid hash breakage by using the old (ignored)
dontSetConfigureCross when not cross building
2017-06-22 17:52:28 -04:00
John Ericson
8f970d09fe
ghcHEAD: Actually split docs into their own output
...
I put `outputs = ...` in the wrong spot in the last PR, oops. Sorry
about that.
2017-06-22 16:56:58 -04:00
John Ericson
dd99d1f8d0
ghcHEAD: Split docs into their own output
...
This ghc was forgetten from 2089dd4ab6
2017-06-17 15:13:43 -04:00
Renzo Carbonara
5f94d85e5e
ghc821: init at 8.2.1-rc2 (a.k.a., 8.2.0.20170507)
...
The approach taken to add this package was to port over the definitions
currently existing for HEAD, and making the necessesary changes to get
this building.
The Haskell package set associated with this compiler doesn't yet
guarantee that all or most of the packages successfully build with this
new compiler, but that will improve over time after this GHC 8.2.1
is officially released and the ecosystem catches up.
2017-06-15 19:59:38 +02:00
Lukasz Czyzykowski
d45aff5327
Adds ghc version to the patch file
2017-06-11 21:52:41 +02:00
Lukasz Czyzykowski
2ae46bc163
ghc: 8.0.2 without link warnings
...
Fixes NixOS/nixpkgs#25139 by backporting patch applied in ghc trunk:
https://phabricator.haskell.org/D2823
2017-05-22 20:06:52 +02:00
Peter Simons
a1b6c5f5d6
Revert "Use consistent package naming for HEAD.nix files" for GHC and GHCjs.
...
This reverts commit 31b0e34d1d
. The version
numbers used in that commit were no improvement.
2017-05-09 17:59:28 +02:00
rht
31b0e34d1d
Use consistent package naming for HEAD.nix files
2017-05-09 10:31:15 +07:00
John Ericson
295315cc87
binutilsCross: Remove and use `binutils` instead always
...
See previous commit for what was done to `binutils` to make this
possible.
There were some uses of `forcedNativePackages` added. The
combination of overrides with that attribute is highly spooky: it's
often important that if an overridden package comes from it, the
replaced arguments for that package come from it. Long term this
package set and all the spookiness should be gone and irrelevant:
"Move along, nothing to see here!"
No hashes should be changed with this commit
2017-04-25 21:36:19 -04:00
David Johnson
26623240e9
Init HaLVM at 2.4.0
2017-03-10 19:31:12 -06:00
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
Bas van Dijk
a96b6e64fb
ghc-8.0.2: remove unused fetchFilteredPatch function
2017-01-24 23:34:40 +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
Domen Kožar
133ba5f08a
GHC: 8.0.2-rc2 -> 8.0.2
2017-01-07 16:17:54 +01: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
Peter Simons
494d695b97
Merge pull request #21393 from mpickering/master
...
Small improvements to development GHC derivations
2017-01-03 14:40:18 +01:00
Laverne Schrock
527468209c
ghc-8.0.2: add sphinx to inputs for documentation
...
Closes https://github.com/NixOS/nixpkgs/pull/21434 .
2016-12-28 17:30:16 +01:00
Laverne Schrock
1a78981b2f
ghc-8.0.1: switch to sphinx for documentation
...
Fixes #20281
"Since GHC 8.0, the User’s Guide is authored in ReStructuredText (or ReST
or RST, for short) a rich but light-weight mark-up language aimed at
producing documentation. The Sphinx tool is used to produce the final
PDF and HTML documentation."
- http://ghc.readthedocs.io/en/8.0.1/editing-guide.html
2016-12-28 17:30:16 +01:00
Laverne Schrock
ca41610e8a
ghc-8.0.1: enable documentation builds by passing the required XML/XSLT toolchain
2016-12-28 17:30:16 +01:00
Matthew Pickering
9f7c7405fb
Remove nokinds GHC build
...
This work has since been merged into GHC master branch and is enabled
with the TypeInType extension.
2016-12-26 13:30:07 +00: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
Peter Simons
53bc16ad30
Merge pull request #21369 from mpickering/master
...
Update GHC 8.0.2 to RC 2
2016-12-23 10:27:49 +01:00
Matthew Pickering
d8a8e1cd0a
Update GHC 8.0.2 to RC 2
2016-12-23 01:44:30 +00:00
Will Dietz
387066357d
ghc-8.x: paxmark ghc and haddock
2016-12-19 10:55:29 +01:00
Will Dietz
708070d232
7.4.2-binary: paxmark ghc binary
2016-12-19 10:55:29 +01:00
Peter Simons
2605149d15
ghc-8.0.2: cosmetic
2016-11-30 09:47:37 +01:00
Peter Simons
fb9f9926cd
ghc-8.0.2: drop use of the obsolete response file patch
...
Our gcc wrapper has been fixed to deal with those files properly.
2016-11-30 09:46:44 +01:00
Tuomas Tynkkynen
8a4d6516ee
Merge remote-tracking branch 'upstream/staging' into master
2016-11-30 00:34:23 +02:00
Peter Simons
c272c66276
ghc: add release candidate 1 for 8.0.2
2016-11-26 21:24:40 +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
Peter Simons
d1b34967fe
ghc-8.0.1: Revert "cosmetic fix to the Nix expression to unbreak syntax highlighting"
...
This reverts commit 29a53017a4
, which broke filterdiff according to
https://github.com/NixOS/nixpkgs/issues/18665#issuecomment-247626588 .
2016-09-16 20:45:09 +02:00
Thomas Tuegel
54125b4af4
ghc801: disable MADV_FREE
2016-09-01 12:07:36 -05:00
Peter Simons
29a53017a4
ghc-8.0.1: cosmetic fix to the Nix expression to unbreak syntax highlighting
2016-09-01 15:05:01 +02:00
Robin Gloster
f86c5bc6fa
ghcHEAD: remove included patch
2016-08-28 14:03:12 +00:00
obadz
3de6e5be50
Merge branch 'master' into staging
...
Conflicts:
pkgs/applications/misc/navit/default.nix
pkgs/applications/networking/mailreaders/alpine/default.nix
pkgs/applications/networking/mailreaders/realpine/default.nix
pkgs/development/compilers/ghc/head.nix
pkgs/development/libraries/openssl/default.nix
pkgs/games/liquidwar/default.nix
pkgs/games/spring/springlobby.nix
pkgs/os-specific/linux/kernel/perf.nix
pkgs/servers/sip/freeswitch/default.nix
pkgs/tools/archivers/cromfs/default.nix
pkgs/tools/graphics/plotutils/default.nix
2016-08-27 23:54:54 +01:00
Mathieu Boespflug
5f8891153b
haskell.compiler.ghcHEAD: update to latest upstream (20160826).
2016-08-26 21:15:04 +02:00
Robin Gloster
e0deed0110
ghc: add comment to relocation patch
2016-08-26 15:19:37 +00:00
Robin Gloster
77473cda6b
ghc: add relocation patch for all versions
2016-08-26 14:57:46 +00:00
obadz
0e8d2725dc
Merge branch 'master' into staging
2016-08-23 18:50:06 +01:00
Tuomas Tynkkynen
74a3a2cd7e
treewide: Use makeBinPath
2016-08-23 01:18:10 +03:00
Tuomas Tynkkynen
51ad423716
treewide: Use makeLibraryPath in 'patchelf --set-rpath' calls
2016-08-23 00:04:39 +03:00
obadz
24a9183f90
Merge branch 'hardened-stdenv' into staging
...
Closes #12895
Amazing work by @globin & @fpletz getting hardened compiler flags by
enabled default on the whole package set
2016-08-22 01:19:35 +01:00
obadz
537b746bbd
ghc8: apply patches to fix https://ghc.haskell.org/trac/ghc/ticket/12130
...
Namely:
https://git.haskell.org/ghc.git/commitdiff/4d71cc89b4e9648f3fbb29c8fcd25d725616e265
https://git.haskell.org/ghc.git/commitdiff/2f8cd14fe909a377b3e084a4f2ded83a0e6d44dd
2016-08-14 13:43:01 +01:00
Robin Gloster
203846b9de
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
2016-07-19 10:37:02 +00:00
Tuomas Tynkkynen
8ee0e105c9
ghc: Make various binary GHCs use ncurses5
...
Fixes #17008 : GHC bootstrapping broken by ncurses update.
2016-07-16 23:47:28 +03:00
Robin Gloster
5185bc1773
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
2016-07-15 14:41:01 +00:00
John Ericson
7cbf4a56f7
Remove dead `pkgs/development/compilers/ghc/with-packages.nix`
...
Superseded by `/pkgs/development/haskell-modules/with-packages-wrapper.nix`
2016-06-20 23:53:09 -07:00
Alexey Shmalko
2089dd4ab6
GHC: Split docs
2016-06-12 14:03:43 +03:00
Robin Gloster
2d382f3d98
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
2016-05-30 19:39:34 +00:00
Vladimír Čunát
81039713fa
Merge branch 'master' into staging
...
... to get the systemd update (rebuilding ~7k jobs).
2016-05-26 16:50:22 +02:00
Peter Simons
94b6127f8e
ghc-8.0.1.nix: cosmetic
2016-05-25 16:26:26 +02:00
Vladimír Čunát
c4661e9643
Merge: make dev output references explicit
...
This is a rebase of most commits from #14766 ,
resolving conflicts and a few other evaluation problems.
2016-05-22 12:09:23 +02:00
Vladimír Čunát
99e68e7c83
ghc-*: fix evaluation when using single-output gmp
2016-05-19 10:04:42 +02:00
Tuomas Tynkkynen
99acb412ab
treewide: Make explicit that 'dev' output of ncurses is used
2016-05-19 10:00:49 +02:00
Tuomas Tynkkynen
47c45e2041
treewide: Make explicit that 'dev' output of gmp is used
2016-05-19 10:00:36 +02:00
Franz Pletz
f8d481754c
Merge remote-tracking branch 'origin/master' into hardened-stdenv
2016-05-18 17:10:02 +02:00
Nikolay Amiantov
c366ab933d
haskell.packages.ghc801.ghc: upstream tarball updated
2016-05-18 13:25:48 +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
Vladimír Čunát
3e387c3e00
Merge branch 'staging'
...
Darwin isn't in a perfect state, in particular its bootstrap tools won't
build which will block nixpkgs channel. But on the whole it seems
acceptable.
2016-05-13 10:14:53 +02:00
Nikolay Amiantov
3098547ebc
haskell.packages.ghc801: 8.0.0.20160421 -> 8.0.1
2016-05-12 19:47:51 +03:00
Robin Gloster
9820cb1bf2
use dontBuild instead of hacks
...
changes:
* buildPhase = "true"
* buildPhase = ":"
2016-05-04 10:11:04 +00:00
Tuomas Tynkkynen
aadaa91379
Merge remote-tracking branch 'upstream/master' into staging
...
Conflicts:
pkgs/applications/networking/browsers/vivaldi/default.nix
pkgs/misc/emulators/wine/base.nix
2016-05-03 23:12:48 +03:00
Robin Gloster
c92bca56f8
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
2016-05-02 22:58:02 +00:00
Peter Simons
bdaf650336
ghc: update 8.0.x version to rc4
2016-04-28 19:16:39 +02:00
Nikolay Amiantov
5ff40ddedf
add get* helper functions and mass-replace manual outputs search with them
2016-04-25 13:24:39 +03:00
Robin Gloster
d020caa5b2
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
2016-04-18 13:49:22 +00:00
Peter Simons
2422ae0838
ghc: update 8.0.x pre-release from rc2 to rc3
2016-04-14 09:17:55 +02:00
Vladimír Čunát
d1df28f8e5
Merge 'staging' into closure-size
...
This is mainly to get the update of bootstrap tools.
Otherwise there were mysterious segfaults:
https://github.com/NixOS/nixpkgs/pull/7701#issuecomment-203389817
2016-04-07 14:40:51 +02:00
Robin Gloster
a4e65c3639
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
2016-03-30 09:01:20 +00:00
Peter Simons
070b123d4b
ghc: version 6.12.3 is broken after updating to gcc 5.x
...
http://hydra.nixos.org/build/33627548
2016-03-30 10:58:23 +02:00
Vladimír Čunát
c643ccaa8c
Merge #13950 : move ncurses utilities to $out
2016-03-16 08:39:37 +01:00
Thomas Tuegel
42b1e8ee58
ghc-6.10.2-binary: fix evaluation error on Darwin
2016-03-11 10:30:45 -06: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
Franz Pletz
aff1f4ab94
Use general hardening flag toggle lists
...
The following parameters are now available:
* hardeningDisable
To disable specific hardening flags
* hardeningEnable
To enable specific hardening flags
Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.
cc-wrapper supports the following flags:
* fortify
* stackprotector
* pie (disabled by default)
* pic
* strictoverflow
* format
* relro
* bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
da9352ee73
haskell.compilers.ghc6104: turn off format hardening
2016-02-25 10:22:10 +00: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
d039c87984
Merge branch 'master' into closure-size
2016-02-14 08:33:51 +01:00
Ollie Charles
37d67b0cdf
haskell.packages.ghc801: Update to RC 2
2016-02-08 14:11:49 +00:00
Vladimír Čunát
ae74c356d9
Merge recent 'staging' into closure-size
...
Let's get rid of those merge conflicts.
2016-02-03 16:57:19 +01:00
Tuomas Tynkkynen
8eb5d7d037
treewide: Mass replace 'ncurses}/lib' to refer the 'lib' output
2016-01-24 10:03:38 +02:00
Tuomas Tynkkynen
df8495fb18
treewide: Mass replace 'gmp}/lib' to refer the 'out' output
2016-01-24 10:03:35 +02:00
Tobias Geerinckx-Rice
32d40f0f98
Remove no longer (or never) referenced patches
...
55 files changed, 6041 deletions. Tested with `nix-build -A tarball`.
2016-01-24 02:02:21 +01:00