Commit Graph

156 Commits

Author SHA1 Message Date
sternenseemann
6e267b064b release-haskell.nix: test weeder for currently working GHC versions 2022-05-31 15:01:37 +02:00
sternenseemann
90099ac5fa haskell.compiler: ghc922 -> ghc923
https://www.haskell.org/ghc/download_ghc_9_2_3.html

Since the tarball is generated by Hadrian, neither autoreconf nor ./boot
is executed so ./configure and ghc.mk is missing.
2022-05-28 21:11:07 +02:00
sternenseemann
1e18234166 release-haskell.nix: include nixos tests for xmonad
I've recently discovered they were broken by a recent XMonad upgrade,
something we should keep tabs on in the future.
2022-05-19 08:37:08 +02:00
Linus Heckemann
a7ee915179
Merge pull request #172378 from Mindavi/hydra-updates-3
Hydra updates 3
2022-05-13 12:55:53 +02:00
Joachim Breitner
ad6a0e8a63 lhs2tex: Add to top-level
the `lhs2tex` tool is a “commonly” used tool in academia to typeset
certain papers, and it would be prudent to have it available outside the
`haskellPackages` namespace, and also made available on the caches.

Also added to release-haskell.nix, and made myself the maintainer.
2022-05-12 18:03:40 +02:00
Rick van Schijndel
3a7f7c1153 hydra-unstable -> hydra_unstable 2022-05-10 23:32:02 +02:00
sternenseemann
813f8b5efb haskellPackages: xhtml is not bundled if haddock is disabled
The xhtml library is only built as part of the GHC build process if GHC
is disabled. This means that no GHC cross compiler has xhtml bundled,
since haddock can't be built if GHC is a cross compiler (see relevant
notes in the GHC nix expressions). This means that all packages
depending on xhtml would currently fail to build when cross-compiled, as
haskellPackages would assume it'd be provided by GHC. This is fixed by
this commit.

pkgsStatic hits this case, so we test compilation of xhtml for these
package sets which will remind us to update the attribute name whenever
its version changes.
2022-04-29 15:27:02 +02:00
sternenseemann
c2fe259aa6 release-haskell.nix: clean up testing of static haskell packages
* Test the default pkgsStatic.haskellPackages set, as it should be
  working properly now.

* Instead of GHC 8.10.7 which hasn't gotten some workarounds applied,
  test GHC 9.2.2 additionally which should work as well as GHC 9.0.

* Test building an actual executable, cabal2nix.

* Simplify aggregate job definition.

* Make sure GHC 9.2 lens gets built on Hydra.
2022-04-29 11:21:18 +02:00
sternenseemann
b42bd1a3d2 haskell.packages.ghc8107.spectacle: mark as unbroken
Closes #135145.

GHC >= 9.0 is unsupported at this moment (same goes for 8.8.4):
https://github.com/awakesecurity/spectacle/issues/49
2022-04-29 10:45:33 +02:00
github-actions[bot]
77dcdbb46c
Merge master into haskell-updates 2022-04-21 00:13:51 +00:00
Jan van Brügge
dca08f645d
naproche: add to release-haskell.nix
This will ensure maintainers get notified on haskell updates
2022-04-20 09:56:35 +02:00
sternenseemann
7ad0327b59 release-haskell.nix: build boot ghcjs on Hydra
By telling Hydra where to look explicitly, it can be instrumented
to build the boot ghcjs which is only about 300MB. This saves at
least some time compiling for users and will also provide some
eval CI automatically.
2022-04-11 03:15:55 +02:00
sternenseemann
490ec6a9c1 release-haskell.nix: test all haskell based elmPackages 2022-04-08 00:35:11 +02:00
sternenseemann
7b74c9ff04 release-haskell.nix: re-enable x86_64-darwin 2022-03-29 13:10:03 +02:00
sternenseemann
9f7ac92698 dhall-text: remove at 1.0.18
dhall-text has been deprecated upstream and no longer builds with the
other dhall packages we are shipping.
2022-03-26 09:45:49 +01:00
Malte Brandy
7fb5fa680a haskellPackages.policeman: drop 2022-03-21 22:55:51 +01:00
rnhmjoj
4ec13a76b0 release-haskell.nix: test package that needs -fexternal-dynamic-refs 2022-03-17 19:43:04 +01:00
sternenseemann
0da85d3f77 release-haskell.nix: temporarily disable x86_64-darwin
rustc fails to build on x86_64-darwin on the M1 builders Hydra uses.
Since GHC depends on rustc (sphinx -> cryptography -> GHC), the entire
darwin package set is broken at the moment, cluttering build reports
etc.
2022-03-17 18:00:53 +01:00
sternenseemann
47f837f5e8 haskell.compiler: ghc921 -> ghc922
https://www.haskell.org/ghc/download_ghc_9_2_2.html
2022-03-09 16:42:07 +01:00
sternenseemann
33f275b4c2 all-cabal-hashes: 2022-03-03T10:08:52Z -> 2022-03-08T11:03:28Z
* Regenerate package set

* Adjust overrides for upgrades of ghc-lib* and Cabal.
2022-03-08 13:57:59 +01:00
sternenseemann
aa849fe602 release-haskell.nix: generate jobs for native-bignum ghc 9.0.2 2022-02-26 00:47:55 +01:00
sternenseemann
58d830667a release-haskell.nix: test static builds with GHC 9.0.2 as well 2022-02-26 00:44:27 +01:00
sternenseemann
4b20fd57a9 release-haskell.nix: test GHC-specific packages for all package sets
ghc-bignum is the odd-one out as it's a core library for GHC >= 9.0
2022-02-18 18:24:23 +01:00
Malte Brandy
b20fb1ba49 haskell.packages.ghc921.haskell-language-server: Fix build and enable 2022-02-05 03:15:11 +01:00
sternenseemann
74eaf2bc93 release-haskell.nix: correct native-bignum status of 9.0.2 and 9.2.1 2022-01-31 20:04:29 +01:00
sternenseemann
c6923ee0d9 jacinda: init at 0.2.0.0
Expose from haskell.packages.ghc921 (which is the only GHC version that
can build it easily atm) and additionally install man page, language
guide and code examples.
2022-01-24 12:42:14 +01:00
sternenseemann
41eef0059d haskell.compiler: ghc901 -> ghc902
https://www.haskell.org/ghc/download_ghc_9_0_2.html
2021-12-26 10:00:37 +01:00
sternenseemann
9a7068759c release-haskell.nix: GHC 9.2.1 is a released compiler
GHC 9.2.1 has grown beyond being a release candidate for quite some time
now, so let's also adjust the released shortcut in the jobset
definition. ghc-api-compat and haskell-language-server still don't
support 9.2.1, however.
2021-12-21 16:12:21 +01:00
sternenseemann
119de5da93 haskell.compiler.ghc921.hlint: 3.3.4 -> unstable-2021-12-12
hlint introduced GHC 9.2.1 support on its development branch recently.
2021-12-15 12:03:30 +01:00
sternenseemann
243cd8e8df haskell.packages.ghc921.hoogle: unbreak
haskell.packages.ghc921.bsb-http-chunked: disable doctest suite

This package's doctest suite is invoked in a weird way apparently which
makes it fail to typecheck with GHC 9.2.1.
2021-12-15 11:13:48 +01:00
(cdep)illabout
316dee0197 hyper-haskell: mark broken
hyper-haskell depends on electron-10.4.7, which is marked insecure.
2021-11-05 15:01:17 +09:00
sternenseemann
b1197ac729 writers: run fixupPhase for darwin bin writers
mach-o executables we produce in writers are not always fully valid for
some reason. In normal derivation this is fixed in fixupPhase and we can
replicate this behavior here easily.

Resolves #132660.
2021-10-29 12:34:48 +02:00
sternenseemann
6101c27a43 release-haskell.nix: test working packages with ghc921 as well
This will produce some binary cache and CI for GHC 9.2.1. Specifically
we will notice when we can drop the head.hackage packages again.
2021-10-17 16:21:13 +02:00
sternenseemann
76d93938da release-haskell.nix: rename all (compilers) to released (compilers)
This is more accurate, since we don't have GHC 9.2.1 nor HEAD in there.
2021-10-17 16:21:13 +02:00
sternenseemann
2fb806dba0 haskell.packages.*: reflect Cabal minor version update 2021-10-12 12:51:49 +02:00
Damien Cassou
0ec6fc72a0 hledger-check-fancyassertions: init at 1.23
Co-authored-by: sterni <sternenseemann@systemli.org>
2021-09-30 12:23:30 +02:00
sternenseemann
dfad6f38cc release-haskell.nix: add more GHC drvs to muslGHCs
Now a lot more is working here, let's keep it that way!
2021-09-26 21:08:13 +02:00
sternenseemann
fded78193d release-haskell.nix: don't build musl integer-simple GHC 8.8.4 2021-09-26 21:07:21 +02:00
Niklas Hambüchen
c57ad7ccb9 haskell.compiler.ghc*: Use 8.10.7 bindist for bootstrapping.
This fixes musl+integer-simple, see #130441.

Co-Authored-By: sternenseemann <sternenseemann@systemli.org>
2021-09-23 20:38:36 +02:00
Malte Brandy
d71129e1af
haskell.packages.ghc901.haskell-language-server: Fix build 2021-09-18 03:17:47 +02:00
(cdep)illabout
fb4ad10f1a
haskell: remove ghcjs from pkgsMusl in release-haskell.nix 2021-09-18 02:38:20 +09:00
(cdep)illabout
561e37e641
haskellPackages.Cabal_3_6_1_0: compiles on all GHCs 2021-09-11 12:12:46 +09:00
(cdep)illabout
96f6dbbd10
haskell: bump uses of Cabal_3_6_0_0 to Cabal_3_6_1_0 to get rid of eval errors 2021-09-11 11:58:02 +09:00
sternenseemann
61b713abd6 haskell.packages.*.ghc-api-compat: fix across all supported sets
* haskell.packages.ghc884.ghc-api-compat needed us to re-add the 8.6
  version of the package.
* haskell.packages.ghc901.ghc-api-compat now points to the newly
  released 9.0.1 version of the package.
* haskell.packages.ghc8107.ghc-api-compat now correctly points to
  ghc-api-compat 8.10.7.

GHC 9.2.1 is still unsupported (which is to be expected, with it
being a release candidate).

To make sure everything stays working we'll build ghc-api-compat as part
of versionedCompilerJobs.
2021-09-07 15:48:08 +02:00
sternenseemann
9eca744cc0 ghc: 8.10.6 -> 8.10.7
https://www.haskell.org/ghc/download_ghc_8_10_7.html
2021-08-27 00:42:51 +02:00
sternenseemann
244784d132 top-level/release-haskell.nix: fix remaining references to ghc8104
Attribute was removed in cb330ce4f0.
2021-08-17 12:20:08 +02:00
sternenseemann
cb330ce4f0 ghc: 8.10.4 -> 8.10.6
The only big change is required for darwin since GHC 8.10.5 now
runs xattr in the install phase on darwin:

* 11e1dcde0d
* ec451cac39

Unfortunately, it uses the host /usr/bin/xattr by default which is
present in the build due to a lack of sandboxing on darwin. That xattr
version however still requires Python 2.7 whereas Python 3.8 is in PATH
in our build. We solve this by setting the XATTR environment variable.

We can't use python3Packages.xattr since GHC expects Apple's fork of
xattr which provides some extra flags to utilize.

Co-authored-by: Cheng Shao <cheng.shao@tweag.io>
2021-08-14 17:12:39 +02:00
sternenseemann
124d658eff haskellPackages.{cabal-install, cabal-install-parsers}: use Cabal 3.6.0.0
Try using the latest and greatest version Cabal for cabal-install and
cabal-install-parsers, we'll see how it goes.
2021-08-07 16:23:10 +02:00
(cdep)illabout
95cd2f7a1f
release-haskell: fix comment on pkgsMusl.haskellPackages 2021-07-24 21:13:42 +09:00
(cdep)illabout
aca8a4e36d
release-haskell: move back to using accumulateDerivations for staticHaskellPackages 2021-07-24 21:13:41 +09:00
(cdep)illabout
f8592f6ba5
release-haskell: add docs for removeMany and removePlatforms 2021-07-24 21:13:41 +09:00
(cdep)illabout
5b6f2ae03d
release-haskell: build a few haskell packages with musl
This is helpful to get a small cache going for people
who want musl-enabled packages.
2021-07-24 14:26:20 +09:00
(cdep)illabout
b0a42925f1
release-haskell: stop building musl integer-simple GHCs
integer-simple GHCs appear to be broken when linking against musl and
non-static-linking.
2021-07-24 14:26:20 +09:00
(cdep)illabout
e8bdec3e32
release-haskell: stop building aarch64 and darwin static haskell packages
The statically-linked Haskell packages on Darwin are not currently
working because libiconv is not building statically on Darwin.

The statically-linked Haskell packages on aarch64 are timing out on Hydra.
2021-07-24 14:23:50 +09:00
(cdep)illabout
cae27cfeb4
release-haskell: disable aarch64 builds from staticHaskellPackages
These aarch64 builds appear to be timing out.
2021-07-24 14:23:50 +09:00
(cdep)illabout
f78a3ef835
release-haskell: move location of muslGHCs so that musl always comes before static
This is just a small reorganization.
2021-07-24 14:23:50 +09:00
Dennis Gosnell
9546f2332e
Merge pull request #130263 from sternenseemann/haskell-updates-agda
top-level/release-haskell.nix: add agda packages and test to jobset
2021-07-22 22:49:40 +09:00
sternenseemann
7d20323b11 top-level/release-haskell.nix: add agda packages and test to jobset
Since the agda compiler is updated via haskellPackages.Agda, we are
quite likely to cause regressions in agdaPackages when the language is
changed via compiler updates. Thus we should build agdaPackages (which
is very small) as part of the haskell-updates jobset and track if
basic agda functionality (compiler and standard library) is working.
2021-07-22 15:33:08 +02:00
(cdep)illabout
9fdec6876e
release-haskell: disable the x86_64-darwin writers test 2021-07-17 13:30:51 +09:00
sternenseemann
52acca72bf top-level/release-haskell.nix: test writers on all platforms
Since the rust writer doesn't seem to get fixed on darwin, we'll just
wrap the haskell writer test in our own derivation (which is possible
since tests.writers exposes a bunch of internals via passthru) and
expose it via tests.haskell which are already in mergeable.

Finally a way to test the (hopefully) working haskell writer on darwin
again!
2021-07-13 15:19:36 +02:00
sternenseemann
b7a0833e68 top-level/release-haskell.nix: don't test ghc865Binary on musl
pkgsMusl.haskell.compiler.ghc865Binary is known and expected to not
work, so we can remove it easily. Also gets rid of annoying evaluation
errors.
2021-07-13 15:07:05 +02:00
Niklas Hambüchen
c114cd459e
Merge pull request #129289 from nh2/issue-129247-ghc-musl-fixes
Fix GHC not building with musl
2021-07-12 05:02:58 +02:00
Niklas Hambüchen
0044356dc7 release-haskell.nix: Add pkgsMusl haskell compilers to Hydra jobs 2021-07-10 02:49:42 +02:00
sternenseemann
542b4497e9 top-level/release-haskell.nix: use integer-simple GHC for static CI
This should avoid any licensing problems wrt GMP being LGPL.
2021-07-04 21:39:11 +02:00
sternenseemann
71ffc07f4e haskellPackages.cabal2nix-unstable: 2021-06-10 -> 2021-06-12
Adds support for GHC 9.0.x which we also test by compiling it with all
available GHC versions on Hydra.
2021-06-12 00:36:30 +02:00
sternenseemann
da993f42ee top-level/release-haskell.nix: add missing top-level packages
Inherit nvfetcher and uusi jobs from top-level for extra visibility.
2021-06-03 11:51:34 +02:00
sternenseemann
66722bc2f1 top-level/release-haskell.nix: no darwin in static aggregate job
Since libiconv doesn't build in pkgsStatic on darwin, having these
builds in our aggregate jobset are just gonna make it fail due to reason
not really in scope for our jobset here.
2021-05-25 12:38:30 +02:00
sternenseemann
0fddf5bd5a top-level/release-haskell.nix: test static linking as well
This way we can keep track of any new regressions to this as well as
have some binary cache, so using this infrastructure doesn't require
compiling GHC all the time.
2021-05-22 15:05:10 +02:00
(cdep)illabout
0293c964de
haskellPackages.ldgallery-compiler: add pacien as maintainer 2021-05-16 17:09:57 +09:00
(cdep)illabout
0c7f75732f
haskell-language-server: disable hydra tests for ghc-9.0 2021-05-16 14:41:24 +09:00
(cdep)illabout
1ddd893bd1
haskell-updates: remove tests.writers.x86_64-darwin job from Hydra 2021-05-16 11:24:28 +09:00
(cdep)illabout
ea304f2d78
release-haskell: add documentation explaining what this file is used for 2021-05-15 11:49:00 +09:00
sternenseemann
f170298c9a top-level/release.nix: fix evaluation of jobset
We need to merge the set of complete jobs not of platforms to test on
since our aggregate jobs will always be “proper” jobs.
2021-05-09 01:49:17 +02:00
sternenseemann
df5b6c61ec top-level/release-haskell.nix: merge jobs using lib.recursiveUpdate
We have different attribute sets defining jobs: The list of base jobs,
the ones generated by versionedCompilerJobs and our added aggregate
jobs. During this we define `haskell` twice: Once for `haskell.compiler`
and once for `haskell.packages.*`. The `//` operator throws a way the
former which is fixed by using lib.recursiveUpdate.

Unfortunately makes the expression less pretty, but at least we have our
compiler jobs back.
2021-05-08 18:27:47 +02:00
sternenseemann
a7dfc81ade top-level/release-haskell.nix: support aarch64-linux and x86_64-darwin
top-level/release.nix builds haskellPackages on those systems as well,
so we should test on them as well. Currently we have virtually no
insight into the state on there.
2021-05-05 17:32:46 +02:00
sternenseemann
ea71b0aa91 top-level/release-haskell.nix: also tests writers tests
This should show us what impact our changes have on writeHaskell.
2021-05-04 15:42:49 +02:00
sternenseemann
07dd4a91f5 top-level/release-haskell.nix: use top-level git-annex attribute
This saves us from the annoyances of the gitAndTools attribute set which
doesn't have recurseForDerivations and is thus ignored by
packagePlatforms.
2021-05-04 15:42:46 +02:00
sternenseemann
6784d2b87c top-level/release-haskell.nix: add less obvious top-level haskell pkgs
These were found by grepping for haskellPackages in the whole
repository.
2021-05-04 15:41:59 +02:00
sternenseemann
6e98fdd7c3 top-level/release-haskell.nix: add more top-level haskell packages
These should now also include all packages that use haskellPackages in
some form where it is apparent from all-packages.nix.

Some of those probably could do with a cleanup (maybe fetchable from
hackage, many are missing justStaticExecutables).
2021-05-04 11:33:42 +02:00
sternenseemann
233682cf1e pkgs/release-haskell.nix: add aggregate job of all pkgs with maintainers 2021-05-03 11:40:03 +02:00
sternenseemann
ef9631e523 pkgs/top-level: init expression for haskell-updates jobset
release-haskell.nix is intended to be a replacement for
https://github.com/peti/ci/blob/master/haskell-nixpkgs.nix
which is currently the main expression for the haskell-updates jobset
on hydra (in the nixpkgs project).

It has the same jobs as the old haskell-nixpkgs.nix file:

* haskellPackages.*
* haskell.compiler.*
* Some extra haskell packages for certain compilers

The following jobs are new:

* tests.haskell.*
* A manually maintained list of top-level haskell packages (most of them
  using justStaticExecutables)
* An aggregate job which is intended to aid merging the haskell-updates
  branch: It holds an arbitrary list of haskell-related packages and
  tests we intend have working at all times. This is still somewhat
  incomplete and should be extendend in the future.

Additionally a lot of refactoring has been done and some unnecessary
code has been eliminated. Due to the increased set of jobs and my
ideas of convenience however, the code size has grown overall.
I've tried document the individual parts and would be happy about
feedback in general.

One future improvement could be making adding top-level haskell packages
more convenient and adding them all to the aggregate job automatically.
2021-05-03 11:40:03 +02:00
Peter Simons
a33fd118f5 pkgs/top-level/release-haskell.nix: move this file into a separate repository
Hydra doesn't build this file anyway, so there seems to be no point in
having it in Nixpkgs.
2013-06-17 10:00:34 +02:00
Peter Simons
7d67e76664 release-haskell.nix: build the latest version of Cabal and cabal-install with all GHC major releases 2013-06-15 12:01:19 +02:00
Peter Simons
0ac416d336 release-haskell.nix: make sure idris compiles 2013-06-05 12:17:35 +02:00
Peter Simons
295d6248ee release-haskell: drop packages that are broken in HP 2013.2.0.0
The following packages don't compile with recent versions of GHC and
seem unmaintained, too: distributedProcess, Ebnf2ps, epic, HFuse,
Hipmunk, hspread, ltk, multiset, strictConcurrency, vacuumCairo, wxcore,
wx, wxdirect.
2013-06-01 14:53:44 +02:00
Peter Simons
4f6d1ad646 haskell-packages.nix: fix spelling of type-level-numbers attribute 2013-05-30 12:33:44 +02:00
Peter Simons
709718a307 haskell-happstack-util: drop obsolete package 2013-05-30 12:33:43 +02:00
Peter Simons
8dbe2decf9 Switch default Haskell implementation to Haskell Platform 2013.2.0.0.
This makes GHC 7.6.3 is our default compiler.
2013-05-30 12:33:43 +02:00
Peter Simons
c412d4bd08 release-haskell.nix: test-build alsa-core and alsa-pcm libraries 2013-05-18 19:32:28 +02:00
Peter Simons
d3963dbebf haskell-uu-options: add version 0.1.0.0 2013-05-16 13:40:34 +02:00
Peter Simons
fb86ac1b96 release-haskell.nix: GHC 7.6.x has a Haskell Platform now 2013-05-12 16:13:10 +02:00
Peter Simons
79fd846654 release-haskell.nix: fsnotify won't build with ghc 6.x 2013-04-24 13:21:06 +02:00
Peter Simons
6080adb28e release-haskell.nix: run test builds of fsnotify with all GHC versions 2013-04-24 13:21:06 +02:00
Peter Simons
9faf34d0a8 pkgs/top-level/release-haskell.nix: cosmetic 2013-04-22 14:14:39 +02:00
Peter Simons
3e523751cd GHC 7.6.3 is the new 7.6.2. 2013-04-21 23:05:09 +02:00
Peter Simons
00ed85ec25 release-haskell.nix: optparse-applicative won't build with ghc 6.10.4 because it needs a newer version of Cabal 2013-04-19 10:46:18 +02:00
Peter Simons
98130c0b35 release-haskell.nix: build jailbreakCabal with all available compilers 2013-04-19 10:46:18 +02:00
Peter Simons
67acbf8f37 release-haskell.nix: generate properly nested attribute sets to fix evaluation with nix-build 2013-04-19 10:46:18 +02:00
Peter Simons
49cbf42556 release-haskell.nix: build optparse-applicative with all available GHC versions 2013-04-19 10:46:18 +02:00
Peter Simons
4a8492884c pkgs/top-level/release-haskell.nix: re-structure Hydra job set
The new job set has the following structure:

  pkg.ghc762.x86_64-linux  = pkgs_x86_64_linux.haskellPackages_ghc762.pkg;
  pkg.ghc762.i686-linux    = pkgs_i686_linux.haskellPackages_ghc762.pkg;
  pkg.ghc6123.x86_64-linux = pkgs_x86_64_linux.haskellPackages_ghc6123.pkg;
  pkg.ghc6123.i686-linux   = pkgs_i686_linux.haskellPackages_ghc6123.pkg;

This gives us (in theory) the ability to generate a Hydra page that displays
the build status of a package across all versions of GHC and all systems. Right
now, Hydra is not up to it, but Eelco says the feature is "on the todo list".

This file doesn't specify the supported build systems explicitly. Instead, that
information is taken from the respective pkg.meta.platforms attribute.
2013-04-18 12:53:06 +02:00