2021-05-01 17:00:40 +01:00
|
|
|
/*
|
2021-05-15 03:49:00 +01:00
|
|
|
This is the Hydra jobset for the `haskell-updates` branch in Nixpkgs.
|
|
|
|
You can see the status of this jobset at
|
|
|
|
https://hydra.nixos.org/jobset/nixpkgs/haskell-updates.
|
|
|
|
|
2021-05-01 17:00:40 +01:00
|
|
|
To debug this expression you can use `hydra-eval-jobs` from
|
2022-05-10 20:52:13 +01:00
|
|
|
`pkgs.hydra_unstable` which prints the jobset description
|
2021-05-01 17:00:40 +01:00
|
|
|
to `stdout`:
|
|
|
|
|
|
|
|
$ hydra-eval-jobs -I . pkgs/top-level/release-haskell.nix
|
|
|
|
*/
|
2022-03-29 12:10:03 +01:00
|
|
|
{ supportedSystems ? [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" ] }:
|
2021-05-01 17:00:40 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
releaseLib = import ./release-lib.nix {
|
|
|
|
inherit supportedSystems;
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit (releaseLib)
|
2021-07-19 05:49:24 +01:00
|
|
|
lib
|
2021-05-01 17:00:40 +01:00
|
|
|
mapTestOn
|
2021-07-19 05:49:24 +01:00
|
|
|
packagePlatforms
|
|
|
|
pkgs
|
2021-05-01 17:00:40 +01:00
|
|
|
;
|
|
|
|
|
2021-07-19 05:49:24 +01:00
|
|
|
# Helper function which traverses a (nested) set
|
2021-05-01 17:00:40 +01:00
|
|
|
# of derivations produced by mapTestOn and flattens
|
|
|
|
# it to a list of derivations suitable to be passed
|
|
|
|
# to `releaseTools.aggregate` as constituents.
|
2021-07-19 05:49:24 +01:00
|
|
|
# Removes all non derivations from the input jobList.
|
|
|
|
#
|
|
|
|
# accumulateDerivations :: [ Either Derivation AttrSet ] -> [ Derivation ]
|
|
|
|
#
|
|
|
|
# > accumulateDerivations [ drv1 "string" { foo = drv2; bar = { baz = drv3; }; } ]
|
|
|
|
# [ drv1 drv2 drv3 ]
|
2021-05-01 17:00:40 +01:00
|
|
|
accumulateDerivations = jobList:
|
|
|
|
lib.concatMap (
|
|
|
|
attrs:
|
|
|
|
if lib.isDerivation attrs
|
|
|
|
then [ attrs ]
|
|
|
|
else if lib.isAttrs attrs
|
|
|
|
then accumulateDerivations (lib.attrValues attrs)
|
|
|
|
else []
|
|
|
|
) jobList;
|
|
|
|
|
|
|
|
# names of all subsets of `pkgs.haskell.packages`
|
|
|
|
compilerNames = lib.mapAttrs (name: _: name) pkgs.haskell.packages;
|
|
|
|
|
|
|
|
# list of all compilers to test specific packages on
|
2021-10-12 13:09:47 +01:00
|
|
|
released = with compilerNames; [
|
2022-09-21 15:23:37 +01:00
|
|
|
ghc884
|
|
|
|
ghc8107
|
|
|
|
ghc902
|
2022-11-09 17:13:41 +00:00
|
|
|
ghc924
|
2022-11-07 14:25:37 +00:00
|
|
|
ghc925
|
2022-12-25 18:09:08 +00:00
|
|
|
ghc944
|
2021-05-01 17:00:40 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
# packagePlatforms applied to `haskell.packages.*`
|
|
|
|
compilerPlatforms = lib.mapAttrs
|
|
|
|
(_: v: packagePlatforms v)
|
|
|
|
pkgs.haskell.packages;
|
|
|
|
|
|
|
|
# This function lets you specify specific packages
|
|
|
|
# which are to be tested on a list of specific GHC
|
|
|
|
# versions and returns a job set for all specified
|
|
|
|
# combinations. See `jobs` below for an example.
|
|
|
|
versionedCompilerJobs = config: mapTestOn {
|
|
|
|
haskell.packages =
|
|
|
|
(lib.mapAttrs (
|
|
|
|
ghc: jobs:
|
|
|
|
lib.filterAttrs (
|
|
|
|
jobName: platforms:
|
|
|
|
lib.elem ghc (config."${jobName}" or [])
|
|
|
|
) jobs
|
|
|
|
) compilerPlatforms);
|
|
|
|
};
|
|
|
|
|
|
|
|
# hydra jobs for `pkgs` of which we import a subset of
|
2021-05-04 14:38:20 +01:00
|
|
|
pkgsPlatforms = packagePlatforms pkgs;
|
2021-05-01 17:00:40 +01:00
|
|
|
|
2021-05-01 22:37:42 +01:00
|
|
|
# names of packages in an attribute set that are maintained
|
|
|
|
maintainedPkgNames = set: builtins.attrNames
|
|
|
|
(lib.filterAttrs (
|
|
|
|
_: v: builtins.length (v.meta.maintainers or []) > 0
|
|
|
|
) set);
|
|
|
|
|
2021-05-08 17:27:47 +01:00
|
|
|
recursiveUpdateMany = builtins.foldl' lib.recursiveUpdate {};
|
2021-05-01 17:00:40 +01:00
|
|
|
|
2021-07-18 10:15:49 +01:00
|
|
|
# Remove multiple elements from a list at once.
|
|
|
|
#
|
|
|
|
# removeMany
|
|
|
|
# :: [a] -- list of elements to remove
|
|
|
|
# -> [a] -- list of elements from which to remove
|
|
|
|
# -> [a]
|
|
|
|
#
|
|
|
|
# > removeMany ["aarch64-linux" "x86_64-darwin"] ["aarch64-linux" "x86_64-darwin" "x86_64-linux"]
|
|
|
|
# ["x86_64-linux"]
|
2021-07-18 07:18:30 +01:00
|
|
|
removeMany = itemsToRemove: list: lib.foldr lib.remove list itemsToRemove;
|
|
|
|
|
2021-07-18 10:15:49 +01:00
|
|
|
# Recursively remove platforms from the values in an attribute set.
|
|
|
|
#
|
|
|
|
# removePlatforms
|
|
|
|
# :: [String]
|
|
|
|
# -> AttrSet
|
|
|
|
# -> AttrSet
|
|
|
|
#
|
|
|
|
# > attrSet = {
|
|
|
|
# foo = ["aarch64-linux" "x86_64-darwin" "x86_64-linux"];
|
|
|
|
# bar.baz = ["aarch64-linux" "x86_64-linux"];
|
|
|
|
# bar.quux = ["aarch64-linux" "x86_64-darwin"];
|
|
|
|
# }
|
|
|
|
# > removePlatforms ["aarch64-linux" "x86_64-darwin"] attrSet
|
|
|
|
# {
|
|
|
|
# foo = ["x86_64-linux"];
|
|
|
|
# bar = {
|
|
|
|
# baz = ["x86_64-linux"];
|
|
|
|
# quux = [];
|
|
|
|
# };
|
|
|
|
# }
|
2021-07-18 07:18:30 +01:00
|
|
|
removePlatforms = platformsToRemove: packageSet:
|
|
|
|
lib.mapAttrsRecursive
|
|
|
|
(_: val:
|
|
|
|
if lib.isList val
|
|
|
|
then removeMany platformsToRemove val
|
|
|
|
else val
|
|
|
|
)
|
|
|
|
packageSet;
|
2021-05-22 14:05:10 +01:00
|
|
|
|
2021-05-09 00:49:17 +01:00
|
|
|
jobs = recursiveUpdateMany [
|
|
|
|
(mapTestOn {
|
2021-05-08 17:27:47 +01:00
|
|
|
haskellPackages = packagePlatforms pkgs.haskellPackages;
|
2022-04-11 00:36:54 +01:00
|
|
|
haskell.compiler = packagePlatforms pkgs.haskell.compiler // (lib.genAttrs [
|
|
|
|
"ghcjs"
|
|
|
|
"ghcjs810"
|
|
|
|
] (ghcjsName: {
|
|
|
|
# We can't build ghcjs itself, since it exceeds 3GB (Hydra's output limit) due
|
|
|
|
# to the size of its bundled libs. We can however save users a bit of compile
|
|
|
|
# time by building the bootstrap ghcjs on Hydra. For this reason, we overwrite
|
|
|
|
# the ghcjs attributes in haskell.compiler with a reference to the bootstrap
|
|
|
|
# ghcjs attribute in their bootstrap package set (exposed via passthru) which
|
|
|
|
# would otherwise be ignored by Hydra.
|
|
|
|
bootGhcjs = (packagePlatforms pkgs.haskell.compiler.${ghcjsName}.passthru).bootGhcjs;
|
2022-09-21 16:20:16 +01:00
|
|
|
}));
|
2021-05-01 17:00:40 +01:00
|
|
|
|
2021-07-13 14:19:36 +01:00
|
|
|
tests.haskell = packagePlatforms pkgs.tests.haskell;
|
2021-05-08 17:27:47 +01:00
|
|
|
|
2022-05-19 07:37:08 +01:00
|
|
|
nixosTests = {
|
|
|
|
inherit (packagePlatforms pkgs.nixosTests)
|
|
|
|
agda
|
|
|
|
xmonad
|
|
|
|
xmonad-xdg-autostart
|
|
|
|
;
|
|
|
|
};
|
|
|
|
|
2021-07-15 11:35:15 +01:00
|
|
|
agdaPackages = packagePlatforms pkgs.agdaPackages;
|
|
|
|
|
2021-05-08 17:27:47 +01:00
|
|
|
# top-level packages that depend on haskellPackages
|
|
|
|
inherit (pkgsPlatforms)
|
|
|
|
agda
|
|
|
|
arion
|
|
|
|
bench
|
|
|
|
bustle
|
|
|
|
blucontrol
|
|
|
|
cabal-install
|
|
|
|
cabal2nix
|
|
|
|
cachix
|
|
|
|
carp
|
|
|
|
cedille
|
|
|
|
client-ip-echo
|
|
|
|
darcs
|
|
|
|
dconf2nix
|
|
|
|
dhall
|
|
|
|
dhall-bash
|
|
|
|
dhall-docs
|
|
|
|
dhall-lsp-server
|
|
|
|
dhall-json
|
|
|
|
dhall-nix
|
|
|
|
diagrams-builder
|
|
|
|
elm2nix
|
2022-11-11 17:03:41 +00:00
|
|
|
emanote
|
2021-05-08 17:27:47 +01:00
|
|
|
fffuu
|
|
|
|
futhark
|
|
|
|
ghcid
|
|
|
|
git-annex
|
|
|
|
git-brunch
|
|
|
|
gitit
|
|
|
|
glirc
|
|
|
|
hadolint
|
|
|
|
haskell-ci
|
|
|
|
haskell-language-server
|
|
|
|
hasura-graphql-engine
|
|
|
|
hci
|
|
|
|
hercules-ci-agent
|
|
|
|
hinit
|
|
|
|
hedgewars
|
|
|
|
hledger
|
2021-09-26 14:10:31 +01:00
|
|
|
hledger-check-fancyassertions
|
2021-05-08 17:27:47 +01:00
|
|
|
hledger-iadd
|
|
|
|
hledger-interest
|
|
|
|
hledger-ui
|
|
|
|
hledger-web
|
|
|
|
hlint
|
|
|
|
hpack
|
2021-11-05 06:01:17 +00:00
|
|
|
# hyper-haskell # depends on electron-10.4.7 which is marked as insecure
|
2022-11-20 07:45:35 +00:00
|
|
|
# hyper-haskell-server-with-packages # hyper-haskell-server is broken
|
2021-05-08 17:27:47 +01:00
|
|
|
icepeak
|
|
|
|
ihaskell
|
2022-01-21 12:40:28 +00:00
|
|
|
jacinda
|
2021-05-08 17:27:47 +01:00
|
|
|
jl
|
|
|
|
koka
|
|
|
|
krank
|
|
|
|
lambdabot
|
2022-04-20 11:03:29 +01:00
|
|
|
lhs2tex
|
2021-05-08 17:27:47 +01:00
|
|
|
madlang
|
|
|
|
matterhorn
|
|
|
|
mueval
|
2022-04-20 08:56:35 +01:00
|
|
|
naproche
|
2021-05-08 17:27:47 +01:00
|
|
|
niv
|
|
|
|
nix-delegate
|
|
|
|
nix-deploy
|
|
|
|
nix-diff
|
|
|
|
nix-linter
|
|
|
|
nix-output-monitor
|
|
|
|
nix-script
|
|
|
|
nix-tree
|
|
|
|
nixfmt
|
|
|
|
nota
|
2021-06-03 10:51:34 +01:00
|
|
|
nvfetcher
|
2021-05-08 17:27:47 +01:00
|
|
|
ormolu
|
|
|
|
pandoc
|
|
|
|
pakcs
|
|
|
|
petrinizer
|
|
|
|
place-cursor-at
|
|
|
|
pinboard-notes-backup
|
|
|
|
pretty-simple
|
|
|
|
shake
|
|
|
|
shellcheck
|
|
|
|
sourceAndTags
|
|
|
|
spacecookie
|
|
|
|
spago
|
|
|
|
splot
|
|
|
|
stack
|
|
|
|
stack2nix
|
|
|
|
stutter
|
|
|
|
stylish-haskell
|
|
|
|
taffybar
|
|
|
|
tamarin-prover
|
|
|
|
taskell
|
2022-10-15 16:49:02 +01:00
|
|
|
termonad
|
2021-05-08 17:27:47 +01:00
|
|
|
tldr-hs
|
|
|
|
tweet-hs
|
|
|
|
update-nix-fetchgit
|
2021-06-03 10:51:34 +01:00
|
|
|
uusi
|
2021-05-08 17:27:47 +01:00
|
|
|
uqm
|
|
|
|
uuagc
|
|
|
|
vaultenv
|
|
|
|
wstunnel
|
|
|
|
xmobar
|
2022-07-14 13:28:32 +01:00
|
|
|
xmonadctl
|
2021-05-08 17:27:47 +01:00
|
|
|
xmonad-with-packages
|
|
|
|
yi
|
|
|
|
zsh-git-prompt
|
|
|
|
;
|
2021-05-01 17:00:40 +01:00
|
|
|
|
2022-04-07 23:35:11 +01:00
|
|
|
# Members of the elmPackages set that are Haskell derivations
|
|
|
|
elmPackages = {
|
|
|
|
inherit (pkgsPlatforms.elmPackages)
|
|
|
|
elm
|
|
|
|
elm-format
|
|
|
|
elm-instrument
|
|
|
|
elmi-to-json
|
|
|
|
;
|
|
|
|
};
|
2021-07-18 07:14:30 +01:00
|
|
|
|
2021-07-18 07:17:02 +01:00
|
|
|
# GHCs linked to musl.
|
2021-09-26 20:07:21 +01:00
|
|
|
pkgsMusl.haskell.compiler = lib.recursiveUpdate
|
|
|
|
(packagePlatforms pkgs.pkgsMusl.haskell.compiler)
|
|
|
|
{
|
|
|
|
# remove musl ghc865Binary since it is known to be broken and
|
|
|
|
# causes an evaluation error on darwin.
|
|
|
|
# TODO: remove ghc865Binary altogether and use ghc8102Binary
|
|
|
|
ghc865Binary = {};
|
2021-07-18 07:17:02 +01:00
|
|
|
|
2021-09-26 20:07:21 +01:00
|
|
|
ghcjs = {};
|
|
|
|
ghcjs810 = {};
|
|
|
|
|
|
|
|
# Can't be built with musl, see meta.broken comment in the drv
|
|
|
|
integer-simple.ghc884 = {};
|
2022-09-20 02:37:03 +01:00
|
|
|
integer-simple.ghc88 = {};
|
2021-09-26 20:07:21 +01:00
|
|
|
};
|
2021-07-18 07:17:02 +01:00
|
|
|
|
2021-07-18 07:18:30 +01:00
|
|
|
# Get some cache going for MUSL-enabled GHC.
|
|
|
|
pkgsMusl.haskellPackages =
|
|
|
|
removePlatforms
|
|
|
|
[
|
2021-07-24 13:12:00 +01:00
|
|
|
# pkgsMusl is compiled natively with musl. It is not
|
|
|
|
# cross-compiled (unlike pkgsStatic). We can only
|
|
|
|
# natively bootstrap GHC with musl on x86_64-linux because
|
|
|
|
# upstream doesn't provide a musl bindist for aarch64.
|
|
|
|
"aarch64-linux"
|
|
|
|
|
|
|
|
# musl only supports linux, not darwin.
|
|
|
|
"x86_64-darwin"
|
2021-07-18 07:18:30 +01:00
|
|
|
]
|
|
|
|
{
|
|
|
|
inherit (packagePlatforms pkgs.pkgsMusl.haskellPackages)
|
|
|
|
hello
|
|
|
|
lens
|
|
|
|
random
|
|
|
|
;
|
|
|
|
};
|
|
|
|
|
2021-07-18 07:14:30 +01:00
|
|
|
# Test some statically linked packages to catch regressions
|
|
|
|
# and get some cache going for static compilation with GHC.
|
|
|
|
# Use integer-simple to avoid GMP linking problems (LGPL)
|
2022-04-29 10:21:18 +01:00
|
|
|
pkgsStatic =
|
2021-07-18 07:14:30 +01:00
|
|
|
removePlatforms
|
|
|
|
[
|
|
|
|
"aarch64-linux" # times out on Hydra
|
|
|
|
"x86_64-darwin" # TODO: reenable when static libiconv works on darwin
|
2022-02-25 23:47:55 +00:00
|
|
|
] {
|
2022-04-29 10:21:18 +01:00
|
|
|
haskellPackages = {
|
|
|
|
inherit (packagePlatforms pkgs.pkgsStatic.haskellPackages)
|
2022-02-25 23:47:55 +00:00
|
|
|
hello
|
|
|
|
lens
|
|
|
|
random
|
2022-03-01 23:03:02 +00:00
|
|
|
QuickCheck
|
2022-04-29 10:21:18 +01:00
|
|
|
cabal2nix
|
2022-07-25 22:42:29 +01:00
|
|
|
terminfo # isn't bundled for cross
|
2022-04-29 14:27:02 +01:00
|
|
|
xhtml # isn't bundled for cross
|
2022-02-25 23:47:55 +00:00
|
|
|
;
|
|
|
|
};
|
|
|
|
|
2022-11-09 17:13:41 +00:00
|
|
|
haskell.packages.native-bignum.ghc924 = {
|
|
|
|
inherit (packagePlatforms pkgs.pkgsStatic.haskell.packages.native-bignum.ghc924)
|
2022-02-25 23:47:55 +00:00
|
|
|
hello
|
|
|
|
lens
|
|
|
|
random
|
2022-03-01 23:03:02 +00:00
|
|
|
QuickCheck
|
2022-04-29 10:21:18 +01:00
|
|
|
cabal2nix
|
2022-07-25 22:42:29 +01:00
|
|
|
terminfo # isn't bundled for cross
|
2022-04-29 14:27:02 +01:00
|
|
|
xhtml # isn't bundled for cross
|
2021-07-18 07:14:30 +01:00
|
|
|
;
|
2022-02-25 23:47:55 +00:00
|
|
|
};
|
2021-07-18 07:14:30 +01:00
|
|
|
};
|
2023-01-05 14:34:56 +00:00
|
|
|
|
|
|
|
pkgsCross.ghcjs.haskellPackages = {
|
|
|
|
inherit (packagePlatforms pkgs.pkgsCross.ghcjs.haskellPackages)
|
|
|
|
ghc
|
|
|
|
hello
|
|
|
|
;
|
|
|
|
};
|
2021-05-09 00:49:17 +01:00
|
|
|
})
|
2021-05-08 17:27:47 +01:00
|
|
|
(versionedCompilerJobs {
|
|
|
|
# Packages which should be checked on more than the
|
|
|
|
# default GHC version. This list can be used to test
|
|
|
|
# the state of the package set with newer compilers
|
|
|
|
# and to confirm that critical packages for the
|
|
|
|
# package sets (like Cabal, jailbreak-cabal) are
|
|
|
|
# working as expected.
|
2021-12-21 14:31:51 +00:00
|
|
|
cabal-install = released;
|
2022-03-08 12:45:33 +00:00
|
|
|
Cabal_3_6_3_0 = released;
|
2022-09-17 08:06:29 +01:00
|
|
|
Cabal_3_8_1_0 = released;
|
2021-12-21 14:31:51 +00:00
|
|
|
cabal2nix = released;
|
|
|
|
cabal2nix-unstable = released;
|
|
|
|
funcmp = released;
|
2022-12-30 16:42:21 +00:00
|
|
|
haskell-language-server = builtins.filter (x: x != compilerNames.ghc884) released;
|
2021-12-21 14:31:51 +00:00
|
|
|
hoogle = released;
|
2022-12-30 16:42:21 +00:00
|
|
|
hlint = released;
|
2022-09-17 08:06:29 +01:00
|
|
|
hpack = released;
|
2021-12-21 14:31:51 +00:00
|
|
|
hsdns = released;
|
|
|
|
jailbreak-cabal = released;
|
|
|
|
language-nix = released;
|
|
|
|
nix-paths = released;
|
|
|
|
titlecase = released;
|
|
|
|
ghc-api-compat = [
|
2022-09-21 16:03:11 +01:00
|
|
|
compilerNames.ghc884
|
|
|
|
compilerNames.ghc8107
|
|
|
|
compilerNames.ghc902
|
2021-12-21 14:31:51 +00:00
|
|
|
];
|
2022-02-18 14:06:51 +00:00
|
|
|
ghc-bignum = [
|
2022-09-21 16:03:11 +01:00
|
|
|
compilerNames.ghc884
|
|
|
|
compilerNames.ghc8107
|
2022-02-18 14:06:51 +00:00
|
|
|
];
|
|
|
|
ghc-lib = released;
|
|
|
|
ghc-lib-parser = released;
|
|
|
|
ghc-lib-parser-ex = released;
|
2022-05-31 13:42:54 +01:00
|
|
|
weeder = [
|
2022-09-21 16:03:11 +01:00
|
|
|
compilerNames.ghc8107
|
|
|
|
compilerNames.ghc902
|
2022-11-09 17:13:41 +00:00
|
|
|
compilerNames.ghc924
|
2022-11-07 14:25:37 +00:00
|
|
|
compilerNames.ghc925
|
2022-05-31 13:42:54 +01:00
|
|
|
];
|
2021-05-08 17:27:47 +01:00
|
|
|
})
|
|
|
|
{
|
|
|
|
mergeable = pkgs.releaseTools.aggregate {
|
|
|
|
name = "haskell-updates-mergeable";
|
|
|
|
meta = {
|
|
|
|
description = ''
|
|
|
|
Critical haskell packages that should work at all times,
|
|
|
|
serves as minimum requirement for an update merge
|
|
|
|
'';
|
|
|
|
maintainers = lib.teams.haskell.members;
|
|
|
|
};
|
|
|
|
constituents = accumulateDerivations [
|
|
|
|
# haskell specific tests
|
2021-10-29 11:19:17 +01:00
|
|
|
jobs.tests.haskell
|
2021-05-08 17:27:47 +01:00
|
|
|
# important top-level packages
|
|
|
|
jobs.cabal-install
|
|
|
|
jobs.cabal2nix
|
|
|
|
jobs.cachix
|
|
|
|
jobs.darcs
|
|
|
|
jobs.haskell-language-server
|
|
|
|
jobs.hledger
|
|
|
|
jobs.hledger-ui
|
|
|
|
jobs.hpack
|
|
|
|
jobs.niv
|
|
|
|
jobs.pandoc
|
|
|
|
jobs.stack
|
|
|
|
jobs.stylish-haskell
|
|
|
|
# important haskell (library) packages
|
|
|
|
jobs.haskellPackages.cabal-plan
|
|
|
|
jobs.haskellPackages.distribution-nixpkgs
|
|
|
|
jobs.haskellPackages.hackage-db
|
|
|
|
jobs.haskellPackages.xmonad
|
|
|
|
jobs.haskellPackages.xmonad-contrib
|
|
|
|
# haskell packages maintained by @peti
|
|
|
|
# imported from the old hydra jobset
|
|
|
|
jobs.haskellPackages.hopenssl
|
|
|
|
jobs.haskellPackages.hsemail
|
|
|
|
jobs.haskellPackages.hsyslog
|
|
|
|
];
|
2021-05-01 17:00:40 +01:00
|
|
|
};
|
2021-05-08 17:27:47 +01:00
|
|
|
maintained = pkgs.releaseTools.aggregate {
|
|
|
|
name = "maintained-haskell-packages";
|
|
|
|
meta = {
|
|
|
|
description = "Aggregate jobset of all haskell packages with a maintainer";
|
|
|
|
maintainers = lib.teams.haskell.members;
|
|
|
|
};
|
|
|
|
constituents = accumulateDerivations
|
|
|
|
(builtins.map
|
|
|
|
(name: jobs.haskellPackages."${name}")
|
|
|
|
(maintainedPkgNames pkgs.haskellPackages));
|
2021-05-01 22:37:42 +01:00
|
|
|
};
|
2021-07-18 07:00:58 +01:00
|
|
|
|
|
|
|
muslGHCs = pkgs.releaseTools.aggregate {
|
|
|
|
name = "haskell-pkgsMusl-ghcs";
|
|
|
|
meta = {
|
|
|
|
description = "GHCs built with musl";
|
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
nh2
|
|
|
|
];
|
|
|
|
};
|
|
|
|
constituents = accumulateDerivations [
|
|
|
|
jobs.pkgsMusl.haskell.compiler.ghc8102Binary
|
2021-09-19 14:08:51 +01:00
|
|
|
jobs.pkgsMusl.haskell.compiler.ghc8107Binary
|
2022-09-21 16:03:11 +01:00
|
|
|
jobs.pkgsMusl.haskell.compiler.ghc884
|
|
|
|
jobs.pkgsMusl.haskell.compiler.ghc8107
|
|
|
|
jobs.pkgsMusl.haskell.compiler.ghc902
|
2022-11-09 17:13:41 +00:00
|
|
|
jobs.pkgsMusl.haskell.compiler.ghc924
|
2022-11-07 14:25:37 +00:00
|
|
|
jobs.pkgsMusl.haskell.compiler.ghc925
|
2021-09-26 20:08:13 +01:00
|
|
|
jobs.pkgsMusl.haskell.compiler.ghcHEAD
|
2022-09-21 16:03:11 +01:00
|
|
|
jobs.pkgsMusl.haskell.compiler.integer-simple.ghc8107
|
|
|
|
jobs.pkgsMusl.haskell.compiler.native-bignum.ghc902
|
2022-11-09 17:13:41 +00:00
|
|
|
jobs.pkgsMusl.haskell.compiler.native-bignum.ghc924
|
2022-11-07 14:25:37 +00:00
|
|
|
jobs.pkgsMusl.haskell.compiler.native-bignum.ghc925
|
2021-09-26 20:08:13 +01:00
|
|
|
jobs.pkgsMusl.haskell.compiler.native-bignum.ghcHEAD
|
2021-07-18 07:00:58 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2021-05-22 14:05:10 +01:00
|
|
|
staticHaskellPackages = pkgs.releaseTools.aggregate {
|
|
|
|
name = "static-haskell-packages";
|
|
|
|
meta = {
|
|
|
|
description = "Static haskell builds using the pkgsStatic infrastructure";
|
|
|
|
maintainers = [
|
|
|
|
lib.maintainers.sternenseemann
|
|
|
|
lib.maintainers.rnhmjoj
|
|
|
|
];
|
|
|
|
};
|
2021-07-19 05:49:24 +01:00
|
|
|
constituents = accumulateDerivations [
|
2022-04-29 10:21:18 +01:00
|
|
|
jobs.pkgsStatic.haskellPackages
|
2022-11-09 17:13:41 +00:00
|
|
|
jobs.pkgsStatic.haskell.packages.native-bignum.ghc924
|
2021-05-25 11:38:30 +01:00
|
|
|
];
|
2021-05-22 14:05:10 +01:00
|
|
|
};
|
2021-05-08 17:27:47 +01:00
|
|
|
}
|
2021-05-09 00:49:17 +01:00
|
|
|
];
|
2021-05-01 17:00:40 +01:00
|
|
|
|
|
|
|
in jobs
|