2013-03-23 14:50:35 +00:00
|
|
|
/* Essential Haskell packages that must build. */
|
|
|
|
|
2013-04-18 10:17:16 +01:00
|
|
|
{ supportedSystems ? [ "x86_64-linux" ] }:
|
2013-03-23 14:50:35 +00:00
|
|
|
|
2013-03-29 15:46:59 +00:00
|
|
|
with import ./release-lib.nix { inherit supportedSystems; };
|
2013-03-23 14:50:35 +00:00
|
|
|
|
2013-04-18 10:17:16 +01:00
|
|
|
let
|
2013-03-23 14:50:35 +00:00
|
|
|
|
2013-04-18 10:17:16 +01:00
|
|
|
ghc6104 = "ghc6104";
|
|
|
|
ghc6123 = "ghc6123";
|
|
|
|
ghc704 = "ghc704";
|
|
|
|
ghc742 = "ghc742";
|
2013-04-21 19:12:26 +01:00
|
|
|
ghc763 = "ghc763";
|
2013-04-18 10:17:16 +01:00
|
|
|
default = [ ghc742 ];
|
2013-04-22 10:56:50 +01:00
|
|
|
latest = [ ghc763 ];
|
2013-04-21 19:12:26 +01:00
|
|
|
all = [ ghc6104 ghc6123 ghc704 ghc742 ghc763 ];
|
2013-04-18 10:17:16 +01: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 16:29:44 +00:00
|
|
|
|
2013-04-18 10:17:16 +01:00
|
|
|
mkJobs = pkg: ghcs: builtins.listToAttrs (pkgs.lib.concatMap (ghc: mkJob ghc pkg) ghcs);
|
2013-03-23 14:50:35 +00:00
|
|
|
|
2013-04-18 10:17:16 +01: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 14:50:35 +00:00
|
|
|
|
2013-04-18 10:17:16 +01:00
|
|
|
mkSystemJob = system: ghc: pkg:
|
2013-04-19 08:37:33 +01:00
|
|
|
pkgs.lib.nameValuePair "${ghc}" (pkgs.lib.setAttrByPath [system] ((pkgs.lib.getAttrFromPath ["haskellPackages_${ghc}" "${pkg}"] (pkgsFor system))));
|
2013-03-23 16:29:44 +00:00
|
|
|
|
2013-04-18 10:17:16 +01:00
|
|
|
in
|
|
|
|
|
|
|
|
mapTestOn {
|
|
|
|
|
|
|
|
gitAndTools.gitAnnex = supportedSystems;
|
|
|
|
jhc = supportedSystems;
|
|
|
|
|
|
|
|
}
|
|
|
|
//
|
|
|
|
mapHaskellTestOn {
|
2013-03-23 16:29:44 +00:00
|
|
|
|
2013-04-18 10:17:16 +01:00
|
|
|
abstractPar = default;
|
|
|
|
ACVector = default;
|
|
|
|
aeson = default;
|
|
|
|
AgdaExecutable = default;
|
|
|
|
alex = all;
|
|
|
|
alexMeta = default;
|
|
|
|
alternativeIo = default;
|
|
|
|
ansiTerminal = default;
|
|
|
|
ansiWlPprint = default;
|
|
|
|
asn1Data = default;
|
|
|
|
AspectAG = default;
|
2013-04-22 10:56:50 +01:00
|
|
|
async = default ++ latest;
|
2013-04-18 10:17:16 +01:00
|
|
|
attempt = default;
|
|
|
|
attoparsec = default;
|
2013-04-24 10:20:13 +01:00
|
|
|
attoparsecEnumerator = default;
|
2013-04-18 10:17:16 +01:00
|
|
|
authenticate = default;
|
|
|
|
base64Bytestring = default;
|
|
|
|
baseUnicodeSymbols = default;
|
|
|
|
benchpress = default;
|
|
|
|
bimap = default;
|
|
|
|
binaryShared = default;
|
|
|
|
bitmap = default;
|
|
|
|
bktrees = default;
|
|
|
|
blazeBuilder = default;
|
2013-04-24 10:20:13 +01:00
|
|
|
blazeBuilderEnumerator = default;
|
2013-04-18 10:17:16 +01:00
|
|
|
blazeHtml = default;
|
|
|
|
blazeTextual = default;
|
|
|
|
bloomfilter = default;
|
|
|
|
bmp = default;
|
2013-04-22 10:56:50 +01:00
|
|
|
BNFC = default ++ latest;
|
2013-04-18 10:17:16 +01:00
|
|
|
BNFCMeta = default;
|
|
|
|
Boolean = default;
|
|
|
|
bytestringMmap = default;
|
|
|
|
bytestringNums = default;
|
|
|
|
bytestringTrie = default;
|
|
|
|
cabal2Ghci = default;
|
|
|
|
cabal2nix = allBut ghc6104;
|
2013-04-22 10:56:50 +01:00
|
|
|
cabalDev = default ++ latest;
|
|
|
|
cabalGhci = default ++ latest;
|
2013-04-18 10:17:16 +01: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 10:56:50 +01:00
|
|
|
cmdlib = default ++ latest;
|
2013-04-18 10:17:16 +01: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 10:56:50 +01:00
|
|
|
criterion = default ++ latest;
|
2013-04-18 10:17:16 +01: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 10:56:50 +01:00
|
|
|
dimensional = default ++ latest;
|
|
|
|
dimensionalTf = default ++ latest;
|
2013-04-18 10:17:16 +01:00
|
|
|
directoryTree = default;
|
|
|
|
distributedProcess = default;
|
|
|
|
dlist = default;
|
|
|
|
dns = default;
|
2013-04-22 10:56:50 +01:00
|
|
|
doctest = default ++ latest;
|
2013-04-18 10:17:16 +01: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 11:27:15 +01:00
|
|
|
fsnotify = [ ghc704 ghc742 ghc763 ];
|
2013-04-18 10:17:16 +01:00
|
|
|
funcmp = all;
|
|
|
|
gamma = default;
|
|
|
|
gdiff = default;
|
|
|
|
ghc = default;
|
2013-04-24 10:20:13 +01:00
|
|
|
ghcEvents = default;
|
2013-04-22 10:56:50 +01:00
|
|
|
ghcMod = default ++ latest;
|
2013-04-18 10:17:16 +01: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 10:56:50 +01:00
|
|
|
graphviz = default ++ latest;
|
2013-04-18 10:17:16 +01:00
|
|
|
gtk = default;
|
|
|
|
gtksourceview2 = default;
|
2013-04-22 10:56:50 +01:00
|
|
|
hackageDb = default ++ latest;
|
2013-04-18 10:17:16 +01:00
|
|
|
haddock = all;
|
|
|
|
hakyll = default;
|
|
|
|
hamlet = default;
|
|
|
|
happstackHamlet = default;
|
|
|
|
happstackServer = default;
|
|
|
|
happstackUtil = default;
|
|
|
|
happy = all;
|
|
|
|
hashable = default;
|
|
|
|
hashedStorage = default;
|
|
|
|
haskeline = default;
|
|
|
|
haskellLexer = default;
|
2013-04-21 19:12:26 +01:00
|
|
|
haskellPlatform = allBut ghc763;
|
2013-04-18 10:17:16 +01:00
|
|
|
haskellSrc = all;
|
2013-04-24 10:20:13 +01:00
|
|
|
haskellSrcExts = default;
|
2013-04-18 10:17:16 +01: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 10:56:50 +01:00
|
|
|
hledger = default ++ latest;
|
|
|
|
hledgerInterest = default ++ latest;
|
|
|
|
hledgerLib = default ++ latest;
|
2013-04-18 10:17:16 +01:00
|
|
|
hledgerWeb = default;
|
2013-04-22 10:56:50 +01:00
|
|
|
hlint = default ++ latest;
|
|
|
|
HList = default ++ latest;
|
2013-04-18 10:17:16 +01:00
|
|
|
hmatrix = default;
|
2013-04-22 10:56:50 +01:00
|
|
|
hoogle = default ++ latest;
|
2013-04-18 10:17:16 +01: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 10:56:50 +01:00
|
|
|
hspec = default ++ latest;
|
2013-04-18 10:17:16 +01:00
|
|
|
hspread = default;
|
|
|
|
HsSyck = default;
|
2013-04-22 10:56:50 +01:00
|
|
|
HStringTemplate = default ++ latest;
|
2013-04-18 10:17:16 +01:00
|
|
|
hsyslog = all;
|
|
|
|
html = all;
|
2013-04-24 10:20:13 +01:00
|
|
|
HTTP = all;
|
2013-04-18 10:17:16 +01:00
|
|
|
httpConduit = default;
|
|
|
|
httpDate = default;
|
|
|
|
httpdShed = default;
|
|
|
|
httpTypes = default;
|
|
|
|
HUnit = all;
|
|
|
|
hxt = default;
|
|
|
|
IfElse = default;
|
|
|
|
irc = default;
|
|
|
|
iteratee = default;
|
2013-04-19 09:31:29 +01:00
|
|
|
jailbreakCabal = all;
|
2013-04-18 10:17:16 +01: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 10:56:50 +01:00
|
|
|
monadPar = default ++ latest;
|
2013-04-18 10:17:16 +01: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 09:42:25 +01:00
|
|
|
optparseApplicative = allBut ghc6104;
|
2013-04-18 10:17:16 +01:00
|
|
|
packunused = default;
|
2013-04-22 10:56:50 +01:00
|
|
|
pandoc = default ++ latest;
|
2013-04-18 10:17:16 +01:00
|
|
|
pandocTypes = default;
|
|
|
|
pango = default;
|
|
|
|
parallel = all;
|
|
|
|
parseargs = default;
|
|
|
|
parsec3 = default;
|
|
|
|
parsec = all;
|
|
|
|
parsimony = default;
|
|
|
|
pathPieces = default;
|
|
|
|
pathtype = default;
|
|
|
|
pcreLight = default;
|
2013-04-22 10:56:50 +01:00
|
|
|
permutation = default ++ latest;
|
2013-04-18 10:17:16 +01: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 10:56:50 +01:00
|
|
|
random = default ++ latest;
|
2013-04-24 10:20:13 +01:00
|
|
|
randomFu = default;
|
2013-04-18 10:17:16 +01: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 10:56:50 +01:00
|
|
|
smallcheck = default ++ latest;
|
2013-04-18 10:17:16 +01:00
|
|
|
SMTPClient = default;
|
|
|
|
snapCore = default;
|
|
|
|
snap = default;
|
|
|
|
snapLoaderStatic = default;
|
|
|
|
snapServer = default;
|
2013-04-22 10:56:50 +01:00
|
|
|
split = default ++ latest;
|
2013-04-18 10:17:16 +01: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 19:12:26 +01:00
|
|
|
syb = [ ghc704 ghc742 ghc763 ];
|
2013-04-18 10:17:16 +01:00
|
|
|
sybWithClass = default;
|
|
|
|
sybWithClassInstancesText = default;
|
|
|
|
tabular = default;
|
|
|
|
tagged = default;
|
|
|
|
tagsoup = default;
|
2013-04-22 10:56:50 +01:00
|
|
|
tar = default ++ latest;
|
2013-04-18 10:17:16 +01:00
|
|
|
Tensor = default;
|
|
|
|
terminfo = default;
|
2013-04-22 10:56:50 +01:00
|
|
|
testFramework = default ++ latest;
|
|
|
|
testFrameworkHunit = default ++ latest;
|
2013-04-18 10:17:16 +01:00
|
|
|
texmath = default;
|
|
|
|
text = all;
|
|
|
|
thLift = default;
|
|
|
|
timeplot = default;
|
|
|
|
tls = default;
|
2013-04-24 10:20:13 +01:00
|
|
|
tlsExtra = default;
|
|
|
|
transformers = all;
|
2013-04-18 10:17:16 +01: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 10:56:50 +01:00
|
|
|
uulib = default ++ latest;
|
2013-04-18 10:17:16 +01:00
|
|
|
uuParsinglib = default;
|
|
|
|
vacuumCairo = default;
|
|
|
|
vacuum = default;
|
|
|
|
vcsRevision = default;
|
|
|
|
Vec = default;
|
|
|
|
vectorAlgorithms = default;
|
|
|
|
vector = all;
|
|
|
|
vectorSpace = default;
|
|
|
|
vty = default;
|
|
|
|
waiAppStatic = default;
|
|
|
|
wai = default;
|
2013-04-24 10:20:13 +01:00
|
|
|
waiExtra = default;
|
2013-04-18 10:17:16 +01:00
|
|
|
waiLogger = default;
|
|
|
|
warp = default;
|
2013-04-22 10:56:50 +01:00
|
|
|
wlPprint = default ++ latest;
|
2013-04-24 10:20:13 +01:00
|
|
|
wlPprintExtras = default;
|
2013-04-18 10:17:16 +01:00
|
|
|
wlPprintTerminfo = default;
|
|
|
|
wxcore = default;
|
|
|
|
wx = default;
|
2013-04-24 10:20:13 +01:00
|
|
|
wxdirect = default;
|
2013-04-18 10:17:16 +01:00
|
|
|
X11 = default;
|
|
|
|
xhtml = all;
|
|
|
|
xmlConduit = default;
|
|
|
|
xml = default;
|
|
|
|
xmlHamlet = default;
|
|
|
|
xmlTypes = default;
|
2013-04-22 10:56:50 +01:00
|
|
|
xmobar = default ++ latest;
|
|
|
|
xmonadContrib = default ++ latest;
|
|
|
|
xmonad = default ++ latest;
|
2013-04-24 10:20:13 +01:00
|
|
|
xmonadExtras = default ++ latest;
|
2013-04-18 10:17:16 +01:00
|
|
|
xssSanitize = default;
|
|
|
|
yesodAuth = default;
|
|
|
|
yesodCore = default;
|
2013-04-24 10:20:13 +01:00
|
|
|
yesod = default;
|
2013-04-18 10:17:16 +01:00
|
|
|
yesodDefault = default;
|
|
|
|
yesodForm = default;
|
|
|
|
yesodJson = default;
|
|
|
|
yesodPersistent = default;
|
|
|
|
yesodStatic = default;
|
|
|
|
zeromq3Haskell = default;
|
|
|
|
zeromqHaskell = default;
|
|
|
|
zipArchive = default;
|
|
|
|
zipper = default;
|
2013-04-24 10:20:13 +01:00
|
|
|
zlib = all;
|
2013-04-18 10:17:16 +01:00
|
|
|
zlibBindings = default;
|
|
|
|
zlibEnum = default;
|
2013-03-23 16:29:44 +00:00
|
|
|
|
2013-03-29 15:46:59 +00:00
|
|
|
}
|