2013-03-23 15:50:35 +01:00
|
|
|
/* Essential Haskell packages that must build. */
|
|
|
|
|
2013-04-18 11:17:16 +02:00
|
|
|
{ supportedSystems ? [ "x86_64-linux" ] }:
|
2013-03-23 15:50:35 +01:00
|
|
|
|
2013-03-29 16:46:59 +01:00
|
|
|
with import ./release-lib.nix { inherit supportedSystems; };
|
2013-03-23 15:50:35 +01:00
|
|
|
|
2013-04-18 11:17:16 +02:00
|
|
|
let
|
2013-03-23 15:50:35 +01:00
|
|
|
|
2013-04-18 11:17:16 +02:00
|
|
|
ghc6104 = "ghc6104";
|
|
|
|
ghc6123 = "ghc6123";
|
|
|
|
ghc704 = "ghc704";
|
|
|
|
ghc742 = "ghc742";
|
2013-04-21 20:12:26 +02:00
|
|
|
ghc763 = "ghc763";
|
2013-05-30 11:11:39 +02:00
|
|
|
default = [ ghc763 ];
|
|
|
|
latest = [ ];
|
2013-04-21 20:12:26 +02:00
|
|
|
all = [ ghc6104 ghc6123 ghc704 ghc742 ghc763 ];
|
2013-04-18 11:17:16 +02:00
|
|
|
|
|
|
|
allBut = platform: pkgs.lib.filter (x: platform != x) all;
|
|
|
|
|
|
|
|
filterSupportedSystems = systems: pkgs.lib.filter (x: pkgs.lib.elem x supportedSystems) systems;
|
|
|
|
|
|
|
|
mapHaskellTestOn = attrs: pkgs.lib.mapAttrs mkJobs attrs;
|
2013-03-23 17:29:44 +01:00
|
|
|
|
2013-04-18 11:17:16 +02:00
|
|
|
mkJobs = pkg: ghcs: builtins.listToAttrs (pkgs.lib.concatMap (ghc: mkJob ghc pkg) ghcs);
|
2013-03-23 15:50:35 +01:00
|
|
|
|
2013-04-18 11:17:16 +02:00
|
|
|
mkJob = ghc: pkg:
|
|
|
|
let
|
|
|
|
pkgPath = ["haskellPackages_${ghc}" "${pkg}"];
|
|
|
|
systems = filterSupportedSystems (pkgs.lib.attrByPath (pkgPath ++ ["meta" "platforms"]) [] pkgs);
|
|
|
|
in
|
|
|
|
map (system: mkSystemJob system ghc pkg) systems;
|
2013-03-23 15:50:35 +01:00
|
|
|
|
2013-04-18 11:17:16 +02:00
|
|
|
mkSystemJob = system: ghc: pkg:
|
2013-04-19 09:37:33 +02:00
|
|
|
pkgs.lib.nameValuePair "${ghc}" (pkgs.lib.setAttrByPath [system] ((pkgs.lib.getAttrFromPath ["haskellPackages_${ghc}" "${pkg}"] (pkgsFor system))));
|
2013-03-23 17:29:44 +01:00
|
|
|
|
2013-04-18 11:17:16 +02:00
|
|
|
in
|
|
|
|
|
|
|
|
mapTestOn {
|
|
|
|
|
|
|
|
gitAndTools.gitAnnex = supportedSystems;
|
|
|
|
jhc = supportedSystems;
|
|
|
|
|
|
|
|
}
|
|
|
|
//
|
|
|
|
mapHaskellTestOn {
|
2013-03-23 17:29:44 +01:00
|
|
|
|
2013-04-18 11:17:16 +02:00
|
|
|
abstractPar = default;
|
|
|
|
ACVector = default;
|
|
|
|
aeson = default;
|
|
|
|
AgdaExecutable = default;
|
|
|
|
alex = all;
|
|
|
|
alexMeta = default;
|
2013-05-18 19:32:28 +02:00
|
|
|
alsaCore = default;
|
|
|
|
alsaPcm = default;
|
2013-04-18 11:17:16 +02:00
|
|
|
alternativeIo = default;
|
|
|
|
ansiTerminal = default;
|
|
|
|
ansiWlPprint = default;
|
|
|
|
asn1Data = default;
|
|
|
|
AspectAG = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
async = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
attempt = default;
|
|
|
|
attoparsec = default;
|
2013-04-24 11:20:13 +02:00
|
|
|
attoparsecEnumerator = default;
|
2013-04-18 11:17:16 +02:00
|
|
|
authenticate = default;
|
|
|
|
base64Bytestring = default;
|
|
|
|
baseUnicodeSymbols = default;
|
|
|
|
benchpress = default;
|
|
|
|
bimap = default;
|
|
|
|
binaryShared = default;
|
|
|
|
bitmap = default;
|
|
|
|
bktrees = default;
|
|
|
|
blazeBuilder = default;
|
2013-04-24 11:20:13 +02:00
|
|
|
blazeBuilderEnumerator = default;
|
2013-04-18 11:17:16 +02:00
|
|
|
blazeHtml = default;
|
|
|
|
blazeTextual = default;
|
|
|
|
bloomfilter = default;
|
|
|
|
bmp = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
BNFC = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
BNFCMeta = default;
|
|
|
|
Boolean = default;
|
|
|
|
bytestringMmap = default;
|
|
|
|
bytestringNums = default;
|
|
|
|
bytestringTrie = default;
|
|
|
|
cabal2Ghci = default;
|
|
|
|
cabal2nix = allBut ghc6104;
|
2013-04-22 11:56:50 +02:00
|
|
|
cabalDev = default ++ latest;
|
|
|
|
cabalGhci = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
cabalInstall = all;
|
|
|
|
cairo = default;
|
|
|
|
caseInsensitive = default;
|
|
|
|
cautiousFile = default;
|
|
|
|
cereal = default;
|
|
|
|
certificate = default;
|
|
|
|
cgi = all;
|
|
|
|
Chart = default;
|
|
|
|
citeprocHs = default;
|
|
|
|
clientsession = default;
|
|
|
|
cmdargs = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
cmdlib = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
colorizeHaskell = default;
|
|
|
|
colour = default;
|
|
|
|
comonadsFd = default;
|
|
|
|
conduit = default;
|
|
|
|
ConfigFile = default;
|
|
|
|
continuedFractions = default;
|
|
|
|
converge = default;
|
|
|
|
convertible = default;
|
|
|
|
cookie = default;
|
|
|
|
cpphs = default;
|
|
|
|
cprngAes = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
criterion = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
cryptoApi = default;
|
|
|
|
cryptocipher = default;
|
|
|
|
Crypto = default;
|
|
|
|
cryptohash = default;
|
|
|
|
cssText = default;
|
|
|
|
csv = default;
|
|
|
|
darcs = default;
|
|
|
|
dataAccessor = default;
|
|
|
|
dataAccessorTemplate = default;
|
|
|
|
dataDefault = default;
|
|
|
|
dataenc = default;
|
|
|
|
dataReify = default;
|
|
|
|
datetime = default;
|
|
|
|
DAV = default;
|
|
|
|
dbus = default;
|
|
|
|
derive = default;
|
|
|
|
diagrams = default;
|
|
|
|
Diff = default;
|
|
|
|
digest = default;
|
|
|
|
digestiveFunctorsHeist = default;
|
|
|
|
digestiveFunctorsSnap = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
dimensional = default ++ latest;
|
|
|
|
dimensionalTf = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
directoryTree = default;
|
|
|
|
distributedProcess = default;
|
|
|
|
dlist = default;
|
|
|
|
dns = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
doctest = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
dotgen = default;
|
|
|
|
doubleConversion = default;
|
|
|
|
Ebnf2ps = default;
|
|
|
|
editDistance = default;
|
|
|
|
editline = default;
|
|
|
|
emailValidate = default;
|
|
|
|
entropy = default;
|
|
|
|
enumerator = default;
|
|
|
|
epic = default;
|
|
|
|
erf = default;
|
|
|
|
failure = default;
|
|
|
|
fclabels = default;
|
|
|
|
feed = default;
|
|
|
|
fgl = all;
|
|
|
|
fileEmbed = default;
|
|
|
|
filestore = default;
|
|
|
|
fingertree = default;
|
|
|
|
flexibleDefaults = default;
|
2013-04-24 12:27:15 +02:00
|
|
|
fsnotify = [ ghc704 ghc742 ghc763 ];
|
2013-04-18 11:17:16 +02:00
|
|
|
funcmp = all;
|
|
|
|
gamma = default;
|
|
|
|
gdiff = default;
|
|
|
|
ghc = default;
|
2013-04-24 11:20:13 +02:00
|
|
|
ghcEvents = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
ghcMod = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
ghcMtl = default;
|
|
|
|
ghcPaths = default;
|
|
|
|
ghcSybUtils = default;
|
|
|
|
githubBackup = default;
|
|
|
|
github = default;
|
|
|
|
gitit = default;
|
|
|
|
glade = default;
|
|
|
|
glib = default;
|
|
|
|
Glob = default;
|
|
|
|
gloss = default;
|
|
|
|
GLUT = all;
|
|
|
|
gnutls = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
graphviz = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
gtk = default;
|
|
|
|
gtksourceview2 = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
hackageDb = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
haddock = all;
|
|
|
|
hakyll = default;
|
|
|
|
hamlet = default;
|
|
|
|
happstackHamlet = default;
|
|
|
|
happstackServer = default;
|
|
|
|
happy = all;
|
|
|
|
hashable = default;
|
|
|
|
hashedStorage = default;
|
|
|
|
haskeline = default;
|
|
|
|
haskellLexer = default;
|
2013-05-12 15:45:27 +02:00
|
|
|
haskellPlatform = all;
|
2013-04-18 11:17:16 +02:00
|
|
|
haskellSrc = all;
|
2013-04-24 11:20:13 +02:00
|
|
|
haskellSrcExts = default;
|
2013-04-18 11:17:16 +02:00
|
|
|
haskellSrcMeta = default;
|
|
|
|
HaXml = default;
|
|
|
|
haxr = default;
|
|
|
|
HDBC = default;
|
|
|
|
HDBCPostgresql = default;
|
|
|
|
HDBCSqlite3 = default;
|
|
|
|
HFuse = default;
|
|
|
|
highlightingKate = default;
|
|
|
|
hinotify = default;
|
|
|
|
hint = default;
|
|
|
|
Hipmunk = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
hledger = default ++ latest;
|
|
|
|
hledgerInterest = default ++ latest;
|
|
|
|
hledgerLib = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
hledgerWeb = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
hlint = default ++ latest;
|
|
|
|
HList = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
hmatrix = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
hoogle = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
hopenssl = all;
|
|
|
|
hostname = default;
|
|
|
|
hp2anyCore = default;
|
|
|
|
hp2anyGraph = default;
|
|
|
|
hS3 = default;
|
|
|
|
hscolour = default;
|
|
|
|
hsdns = all;
|
|
|
|
hsemail = allBut ghc6104;
|
|
|
|
hslogger = default;
|
|
|
|
hsloggerTemplate = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
hspec = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
hspread = default;
|
|
|
|
HsSyck = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
HStringTemplate = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
hsyslog = all;
|
|
|
|
html = all;
|
2013-04-24 11:20:13 +02:00
|
|
|
HTTP = all;
|
2013-04-18 11:17:16 +02:00
|
|
|
httpConduit = default;
|
|
|
|
httpDate = default;
|
|
|
|
httpdShed = default;
|
|
|
|
httpTypes = default;
|
|
|
|
HUnit = all;
|
|
|
|
hxt = default;
|
|
|
|
IfElse = default;
|
|
|
|
irc = default;
|
|
|
|
iteratee = default;
|
2013-04-19 10:31:29 +02:00
|
|
|
jailbreakCabal = all;
|
2013-04-18 11:17:16 +02:00
|
|
|
json = default;
|
|
|
|
jsonTypes = default;
|
|
|
|
keter = default;
|
|
|
|
lambdabot = default;
|
|
|
|
languageCQuote = default;
|
|
|
|
languageJavascript = default;
|
|
|
|
largeword = default;
|
|
|
|
lens = default;
|
|
|
|
libxmlSax = default;
|
|
|
|
liftedBase = default;
|
|
|
|
ListLike = default;
|
|
|
|
logfloat = default;
|
|
|
|
ltk = default;
|
|
|
|
mainlandPretty = default;
|
|
|
|
maude = default;
|
|
|
|
MaybeT = default;
|
|
|
|
MemoTrie = default;
|
|
|
|
mersenneRandomPure64 = default;
|
|
|
|
mimeMail = default;
|
|
|
|
MissingH = default;
|
|
|
|
mmap = default;
|
|
|
|
MonadCatchIOMtl = default;
|
|
|
|
MonadCatchIOTransformers = default;
|
|
|
|
monadControl = default;
|
|
|
|
monadLoops = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
monadPar = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
monadPeel = default;
|
|
|
|
MonadPrompt = default;
|
|
|
|
MonadRandom = default;
|
|
|
|
mpppc = default;
|
|
|
|
mtl = all;
|
|
|
|
mtlparse = default;
|
|
|
|
multiplate = default;
|
|
|
|
multirec = default;
|
|
|
|
multiset = default;
|
|
|
|
murmurHash = default;
|
|
|
|
mwcRandom = default;
|
|
|
|
nat = default;
|
|
|
|
nats = default;
|
|
|
|
naturals = default;
|
|
|
|
network = all;
|
|
|
|
networkInfo = default;
|
|
|
|
networkMulticast = default;
|
|
|
|
networkProtocolXmpp = default;
|
|
|
|
nonNegative = default;
|
|
|
|
numericPrelude = default;
|
|
|
|
numtype = default;
|
|
|
|
numtypeTf = default;
|
|
|
|
ObjectName = default;
|
|
|
|
OneTuple = default;
|
|
|
|
OpenAL = all;
|
2013-04-19 10:42:25 +02:00
|
|
|
optparseApplicative = allBut ghc6104;
|
2013-04-18 11:17:16 +02:00
|
|
|
packunused = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
pandoc = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
pandocTypes = default;
|
|
|
|
pango = default;
|
|
|
|
parallel = all;
|
|
|
|
parseargs = default;
|
|
|
|
parsec3 = default;
|
|
|
|
parsec = all;
|
|
|
|
parsimony = default;
|
|
|
|
pathPieces = default;
|
|
|
|
pathtype = default;
|
|
|
|
pcreLight = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
permutation = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
persistent = default;
|
|
|
|
persistentPostgresql = default;
|
|
|
|
persistentSqlite = default;
|
|
|
|
persistentTemplate = default;
|
|
|
|
polyparse = default;
|
|
|
|
ppm = default;
|
|
|
|
prettyShow = default;
|
|
|
|
primitive = all;
|
|
|
|
PSQueue = default;
|
|
|
|
pureMD5 = default;
|
|
|
|
pwstoreFast = default;
|
|
|
|
QuickCheck2 = default;
|
|
|
|
QuickCheck = all;
|
2013-04-22 11:56:50 +02:00
|
|
|
random = default ++ latest;
|
2013-04-24 11:20:13 +02:00
|
|
|
randomFu = default;
|
2013-04-18 11:17:16 +02:00
|
|
|
randomShuffle = default;
|
|
|
|
randomSource = default;
|
|
|
|
RangedSets = default;
|
|
|
|
ranges = default;
|
|
|
|
readline = default;
|
|
|
|
recaptcha = default;
|
|
|
|
regexBase = all;
|
|
|
|
regexCompat = all;
|
|
|
|
regexPCRE = default;
|
|
|
|
regexPosix = all;
|
|
|
|
regexpr = default;
|
|
|
|
regexTDFA = default;
|
|
|
|
regular = default;
|
|
|
|
RSA = default;
|
|
|
|
rvar = default;
|
|
|
|
safe = default;
|
|
|
|
SafeSemaphore = default;
|
|
|
|
SDL = default;
|
|
|
|
SDLImage = default;
|
|
|
|
SDLMixer = default;
|
|
|
|
SDLTtf = default;
|
|
|
|
semigroups = default;
|
|
|
|
sendfile = default;
|
|
|
|
SHA = default;
|
|
|
|
shake = default;
|
|
|
|
Shellac = default;
|
|
|
|
shelly = default;
|
|
|
|
simpleSendfile = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
smallcheck = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
SMTPClient = default;
|
|
|
|
snapCore = default;
|
|
|
|
snap = default;
|
|
|
|
snapLoaderStatic = default;
|
|
|
|
snapServer = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
split = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
srcloc = default;
|
|
|
|
stateref = default;
|
|
|
|
StateVar = default;
|
|
|
|
statistics = default;
|
|
|
|
stbImage = default;
|
|
|
|
stm = all;
|
|
|
|
storableComplex = default;
|
|
|
|
storableRecord = default;
|
|
|
|
streamproc = all;
|
|
|
|
strictConcurrency = default;
|
|
|
|
strict = default;
|
|
|
|
strptime = default;
|
|
|
|
svgcairo = default;
|
2013-04-21 20:12:26 +02:00
|
|
|
syb = [ ghc704 ghc742 ghc763 ];
|
2013-04-18 11:17:16 +02:00
|
|
|
sybWithClass = default;
|
|
|
|
sybWithClassInstancesText = default;
|
|
|
|
tabular = default;
|
|
|
|
tagged = default;
|
|
|
|
tagsoup = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
tar = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
Tensor = default;
|
|
|
|
terminfo = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
testFramework = default ++ latest;
|
|
|
|
testFrameworkHunit = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
texmath = default;
|
|
|
|
text = all;
|
|
|
|
thLift = default;
|
|
|
|
timeplot = default;
|
|
|
|
tls = default;
|
2013-04-24 11:20:13 +02:00
|
|
|
tlsExtra = default;
|
|
|
|
transformers = all;
|
2013-04-18 11:17:16 +02:00
|
|
|
transformersBase = default;
|
|
|
|
transformersCompat = default;
|
|
|
|
tuple = default;
|
|
|
|
typeLlevelNaturalNumber = default;
|
|
|
|
uniplate = default;
|
|
|
|
uniqueid = default;
|
|
|
|
unixCompat = default;
|
|
|
|
unorderedContainers = default;
|
|
|
|
url = default;
|
|
|
|
utf8Light = default;
|
|
|
|
utf8String = default;
|
|
|
|
utilityHt = default;
|
|
|
|
uuagc = default;
|
|
|
|
uuid = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
uulib = default ++ latest;
|
2013-05-16 12:58:58 +02:00
|
|
|
uuOptions = default;
|
2013-05-18 19:32:28 +02:00
|
|
|
uuParsinglib = default;
|
2013-04-18 11:17:16 +02:00
|
|
|
vacuumCairo = default;
|
|
|
|
vacuum = default;
|
|
|
|
vcsRevision = default;
|
|
|
|
Vec = default;
|
|
|
|
vectorAlgorithms = default;
|
|
|
|
vector = all;
|
|
|
|
vectorSpace = default;
|
|
|
|
vty = default;
|
|
|
|
waiAppStatic = default;
|
|
|
|
wai = default;
|
2013-04-24 11:20:13 +02:00
|
|
|
waiExtra = default;
|
2013-04-18 11:17:16 +02:00
|
|
|
waiLogger = default;
|
|
|
|
warp = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
wlPprint = default ++ latest;
|
2013-04-24 11:20:13 +02:00
|
|
|
wlPprintExtras = default;
|
2013-04-18 11:17:16 +02:00
|
|
|
wlPprintTerminfo = default;
|
|
|
|
wxcore = default;
|
|
|
|
wx = default;
|
2013-04-24 11:20:13 +02:00
|
|
|
wxdirect = default;
|
2013-04-18 11:17:16 +02:00
|
|
|
X11 = default;
|
|
|
|
xhtml = all;
|
|
|
|
xmlConduit = default;
|
|
|
|
xml = default;
|
|
|
|
xmlHamlet = default;
|
|
|
|
xmlTypes = default;
|
2013-04-22 11:56:50 +02:00
|
|
|
xmobar = default ++ latest;
|
|
|
|
xmonadContrib = default ++ latest;
|
|
|
|
xmonad = default ++ latest;
|
2013-04-24 11:20:13 +02:00
|
|
|
xmonadExtras = default ++ latest;
|
2013-04-18 11:17:16 +02:00
|
|
|
xssSanitize = default;
|
|
|
|
yesodAuth = default;
|
|
|
|
yesodCore = default;
|
2013-04-24 11:20:13 +02:00
|
|
|
yesod = default;
|
2013-04-18 11:17:16 +02:00
|
|
|
yesodDefault = default;
|
|
|
|
yesodForm = default;
|
|
|
|
yesodJson = default;
|
|
|
|
yesodPersistent = default;
|
|
|
|
yesodStatic = default;
|
|
|
|
zeromq3Haskell = default;
|
|
|
|
zeromqHaskell = default;
|
|
|
|
zipArchive = default;
|
|
|
|
zipper = default;
|
2013-04-24 11:20:13 +02:00
|
|
|
zlib = all;
|
2013-04-18 11:17:16 +02:00
|
|
|
zlibBindings = default;
|
|
|
|
zlibEnum = default;
|
2013-03-23 17:29:44 +01:00
|
|
|
|
2013-03-29 16:46:59 +01:00
|
|
|
}
|