Commit Graph

34 Commits

Author SHA1 Message Date
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
Peter Simons
a3c2a00abb haskell-testpack: drop obsolete and unmaintained library 2013-04-14 21:19:26 +02:00
Peter Simons
b331fb0ad2 pkgs/top-level/release-haskell.nix: sort attributes alphabetically 2013-04-04 16:18:09 +02:00
Peter Simons
10fee86597 pkgs/top-level/release-haskell.nix: build 'keter' in the default haskellPackages set 2013-04-04 16:18:09 +02:00
Peter Simons
02384dfc93 release-haskell.nix: adapt file to the new release-lib.nix 2013-03-29 16:46:59 +01:00
Peter Simons
35c86a3d99 release-haskell.nix: configure package set for ghc 6.10.4, 6.12.3 and 7.0.4 2013-03-23 18:44:44 +01:00
Peter Simons
573e61ea6f pkgs/top-level/release-haskell.nix: configure Hydra to verify that important Haskell packages build
At the moment, this file is used only by my own Hydra instance.
2013-03-23 15:58:14 +01:00