Commit graph

741 commits

Author SHA1 Message Date
(cdep)illabout
b0a16b29e2 haskell.compiler.ghc8104: add ghc-8.10.4 2021-02-12 20:35:21 +01:00
Peter Simons
0b626654ad ghc: update the 9.0.1 version to the official release tarball 2021-02-05 23:05:20 +01:00
Peter Simons
b1d2e3b10f ghc-8.10.3: don't use obsolete stdenv.lib
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-02-05 23:04:46 +01:00
Cheng Shao
643169bbb4 Fix ar command path in GHC.
Previously, the "ar command" in the global config of GHC in nixpkgs is
simply "ar" instead of a proper absolute path in the nix store. This
will result in an "ar: command not found" error when using GHC and cabal
in a pure nix shell. This commit adds the patch and applies to all
pre-9.0 versions.

See output of ghc --info for "ar command" value.
2021-02-05 22:54:09 +01:00
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
zowoq
31f5dd3f36 treewide: editorconfig fixes
- remove trailing whitespace
- use spaces for indentation
2021-01-20 09:11:11 +10:00
Peter Simons
8a21e02e31 ghc-9.0.1: set utf-8 locale during the build so that Haddock succeeds 2021-01-02 19:58:19 +01:00
Peter Simons
bf5e99fc7a ghc-9.0.1: avoid use of tabs in the expression 2021-01-02 19:58:19 +01:00
Peter Simons
61a785ccd9 ghc: update 9.0.1 compiler from alpha-1 to rc-1 2021-01-02 19:58:19 +01:00
Peter Simons
1998b95adc haskellPackages: update default compiler from ghc 8.10.2 to version 8.10.3 2020-12-25 20:41:54 +01:00
Joe Hermaszewski
15b3bc3306 ghc865-binary: Use binary distribution which links against ncurses6 for
x86_64-linux

Ben Gamari's patch from #85924.

Fixes #85924, allowing one to bootstrap GHC in `pkgsMusl`

`nix-build -A pkgsMusl.haskellPackages.hello` succeeds with this patch.
2020-11-28 20:19:05 +08:00
Frederik Rietdijk
587538d087 Merge staging-next into staging 2020-11-23 18:10:33 +01:00
Mario Rodas
888b9587ed haskellPackages.ghc8102: add patch to allow Block.h compile with c++ compilers 2020-11-22 04:20:00 +00:00
Scott Worley
5354cd0a16 ghc: Use a real URL for D5123.diff
Please do not use tarballs.nixos.org in src URLs.  tarballs.nixos.org is
a cache, not an authority.

This patch differs from the one in tarballs.nixos.org only in source code
comments.
2020-11-19 20:12:32 +01:00
Frederik Rietdijk
8aaf2e60e5 Merge staging-next into staging 2020-11-09 14:49:10 +01:00
Robert Hensing
7ac71d78a3 ghc8102: Fix whitespace 2020-11-06 11:35:19 +01:00
Robert Hensing
6057cb9786 ghc*: Increase build timeout to 1 day
The default of 10 hours is insufficient for some of the slower
platforms like macOS and aarch64.
2020-11-06 11:07:48 +01:00
Robert Hensing
6b377f2968 ghc8102Binary*: simplify meta
Not distributing dependencies via hydraPlatforms does not work,
so we keep meta simple.

(cherry picked from commit 4643796794897f2baa3a8015de5a9c9fd416f1ae)
2020-11-04 23:47:38 +01:00
Robert Hensing
dda47e489a ghc8102BinaryMinimal: Re-add docs, remove more profiling files
(cherry picked from commit 7bd21d3e2da8b9ae394258cef9f18bf0a8dd2d47)
2020-11-04 23:47:38 +01:00
Robert Hensing
f8ad73b9d8 haskell.compiler.ghc8102BinaryMinimal: init
To stay within hydra limit of 2^31 output size on aarch64-linux
2020-11-03 12:01:41 +01:00
Will Young
1c2ee215ab ghc:8.10.2Binary bootstrap for 8.8 on aarch64 (NixOS#97407) 2020-10-21 21:13:22 +02:00
Peter Simons
518338f7f7 ghc: add alpha-1 release of version 9.0.1 2020-09-29 12:06:53 +02:00
Richard Marko
73825262f9 Revert "haskell.ghc8102Binary: fix extra inputs"
This reverts commit fb719d957f.
2020-09-26 12:18:00 -07:00
Richard Marko
b9377e0950 ghc8102Binary: add numactl to libPath on aarch64
Fixes:

utils/ghc-cabal/dist-install/build/tmp/ghc-cabal:
  error while loading shared libraries: libnuma.so.1:
    cannot open shared object file: No such file or directory
2020-09-26 18:04:31 +02:00
Jonathan Ringer
fb719d957f haskell.ghc8102Binary: fix extra inputs 2020-09-25 15:22:54 -07:00
Richard Marko
0d4f3ef1ab ghc8102Binary: init, enable armv7l 2020-09-24 12:26:35 +02:00
Matthew Bauer
d0e52b6b32
Merge pull request #95309 from obsidiansystems/mobile-fixes
Support Android 29 in cross-compilation
2020-08-28 14:59:37 -05:00
Peter Simons
24cd70f14a Merge remote-tracking branch 'origin/master' into haskell-updates 2020-08-27 14:26:14 +02:00
Utku Demir
fae83ef189
ghcHEAD: 8.11.20200731 -> 8.11.20200824 2020-08-24 11:06:36 +12:00
Jan Tojnar
58377555ed
Merge branch 'staging-next' into staging 2020-08-23 02:18:27 +02:00
Domen Kožar
f9b57fd66a
#95747: fix build of GHC 8.10.2 2020-08-18 15:56:45 +02:00
Matthew Bauer
c5617381bc ghc: document Stage1Only setting 2020-08-17 23:51:59 -05:00
Matthew Bauer
0be29459d6 ghc: set Stage1Only = YES on iOS
We want stage1Only here even if system == system, since we can’t run
the native arch simulator binaries locally.
2020-08-17 23:51:59 -05:00
Divam Narula
818d24c9db
Merge branch 'staging' into upstream-wasm-cross-nixpkgs-4 2020-08-16 10:13:57 +05:30
Gabor Greif
ca9e5d0bb1 ghc-{8.8.2, 8.10.1}: make download URL consistent with other versions 2020-08-08 22:32:58 +02:00
Gabor Greif
621e26fe80 ghc-8.10.x: add v8.10.2
https://mail.haskell.org/pipermail/ghc-devs/2020-August/019131.html
2020-08-08 22:32:58 +02:00
Gabor Greif
b18829ff92 Disable profiling builds for AArch64
see also 1353355a63
2020-08-07 20:53:37 +02:00
Utku Demir
ed1623421f ghcHEAD: 8.11.20200505 -> 8.11.20200731 2020-08-07 20:34:52 +02:00
Gabor Greif
7b3dbe3dd3 ghc-{8.8.3, 8.8.4, 8.10.1}: fix typos 2020-08-07 20:34:42 +02:00
Divam
95a5a19658 Enable dontStrip for wasm 2020-08-05 20:17:14 +09:00
Divam
a9ac31c299 Set the STRIP_CMD to ':' for dontStrip
(as mentioned in mk/build.mk.sample)
2020-08-05 20:08:37 +09:00
Domen Kožar
1353355a63
ghc 8.8.4/8.10.1: fix PEBKAC 2020-08-01 16:27:12 +02:00
Domen Kožar
6d54b2f918 ghc 8.8.4, 8.10.1: disable profiled builds on aarch64 to avoid 2GB output limit 2020-07-24 13:07:34 +02:00
Peter Simons
f1182ecc91 ghc: drop obsolete 8.4.x version
We generally keep only the last 3 major releases of GHC.
2020-07-24 13:02:55 +02:00
Gabor Greif
dd6ce8c879 ghc: add new version 8.8.4 2020-07-24 13:02:55 +02:00
Domen Kožar
1f6f0c9b3a
ghc: don't build with profiling on aarch64 #66277
This makes ghc output be lower than 2GB limit.

Also enable aarch64 build parallelism now that it's fixed in GHC 8.6
2020-07-21 20:23:07 +02:00
Domen Kožar
b930b2df8a
haskell.compiler.ghc865-binary: strip to fix aarch64 2020-06-23 14:59:07 +02:00
Gabor Greif
d4d7223eb0 Nail a few typos 2020-05-08 21:11:46 +02:00
Gabor Greif
dec283b463 ghcHEAD: 20200403 -> 20200505 2020-05-08 21:11:46 +02:00
Gabor Greif
a634bd0fd7 ghc: drop 8.8.1 2020-04-24 21:48:28 +02:00