2013-03-23 14:50:35 +00:00
|
|
|
/* Essential Haskell packages that must build. */
|
|
|
|
|
2013-04-18 09:17:16 +00: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 09:17:16 +00:00
|
|
|
let
|
2013-03-23 14:50:35 +00:00
|
|
|
|
2013-04-18 09:17:16 +00:00
|
|
|
ghc6104 = "ghc6104";
|
|
|
|
ghc6123 = "ghc6123";
|
|
|
|
ghc704 = "ghc704";
|
|
|
|
ghc742 = "ghc742";
|
2013-04-21 18:12:26 +00:00
|
|
|
ghc763 = "ghc763";
|
2013-05-30 09:11:39 +00:00
|
|
|
default = [ ghc763 ];
|
|
|
|
latest = [ ];
|
2013-04-21 18:12:26 +00:00
|
|
|
all = [ ghc6104 ghc6123 ghc704 ghc742 ghc763 ];
|
2013-04-18 09:17:16 +00: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 09:17:16 +00: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 09:17:16 +00: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 09:17:16 +00:00
|
|
|
mkSystemJob = system: ghc: pkg:
|
2013-04-19 07:37:33 +00: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 09:17:16 +00:00
|
|
|
in
|
|
|
|
|
|
|
|
mapTestOn {
|
|
|
|
|
|
|
|
gitAndTools.gitAnnex = supportedSystems;
|
|
|
|
jhc = supportedSystems;
|
|
|
|
|
|
|
|
}
|
|
|
|
//
|
|
|
|
mapHaskellTestOn {
|
2013-03-23 16:29:44 +00:00
|
|
|
|
2013-04-18 09:17:16 +00:00
|
|
|
abstractPar = default;
|
|
|
|
ACVector = default;
|
|
|
|
aeson = default;
|
|
|
|
AgdaExecutable = default;
|
|
|
|
alex = all;
|
|
|
|
alexMeta = default;
|
2013-05-18 17:32:28 +00:00
|
|
|
alsaCore = default;
|
|
|
|
alsaPcm = default;
|
2013-04-18 09:17:16 +00:00
|
|
|
alternativeIo = default;
|
|
|
|
ansiTerminal = default;
|
|
|
|
ansiWlPprint = default;
|
|
|
|
asn1Data = default;
|
|
|
|
AspectAG = default;
|
2013-04-22 09:56:50 +00:00
|
|
|
async = default ++ latest;
|
2013-04-18 09:17:16 +00:00
|
|
|
attempt = default;
|
|
|
|
attoparsec = default;
|
2013-04-24 09:20:13 +00:00
|
|
|
attoparsecEnumerator = default;
|
2013-04-18 09:17:16 +00:00
|
|
|
authenticate = default;
|
|
|
|
base64Bytestring = default;
|
|
|
|
baseUnicodeSymbols = default;
|
|
|
|
benchpress = default;
|
|
|
|
bimap = default;
|
|
|
|
binaryShared = default;
|
|
|
|
bitmap = default;
|
|
|
|
bktrees = default;
|
|
|
|
blazeBuilder = default;
|
2013-04-24 09:20:13 +00:00
|
|
|
blazeBuilderEnumerator = default;
|
2013-04-18 09:17:16 +00:00
|
|
|
blazeHtml = default;
|
|
|
|
blazeTextual = default;
|
|
|
|
bloomfilter = default;
|
|
|
|
bmp = default;
|
2013-04-22 09:56:50 +00:00
|
|
|
BNFC = default ++ latest;
|
2013-04-18 09:17:16 +00:00
|
|
|
BNFCMeta = default;
|
|
|
|
Boolean = default;
|
|
|
|
bytestringMmap = default;
|
|
|
|
bytestringNums = default;
|
|
|
|
bytestringTrie = default;
|
|
|
|
cabal2Ghci = default;
|
|
|
|
cabal2nix = allBut ghc6104;
|
2013-04-22 09:56:50 +00:00
|
|
|
cabalDev = default ++ latest;
|
|
|
|
cabalGhci = default ++ latest;
|
2013-04-18 09:17:16 +00: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 09:56:50 +00:00
|
|
|
cmdlib = default ++ latest;
|
2013-04-18 09:17:16 +00: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 09:56:50 +00:00
|
|
|
criterion = default ++ latest;
|
2013-04-18 09:17:16 +00: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 09:56:50 +00:00
|
|
|
dimensional = default ++ latest;
|
|
|
|
dimensionalTf = default ++ latest;
|
2013-04-18 09:17:16 +00:00
|
|
|
directoryTree = default;
|
|
|
|
dlist = default;
|
|
|
|
dns = default;
|
2013-04-22 09:56:50 +00:00
|
|
|
doctest = default ++ latest;
|
2013-04-18 09:17:16 +00:00
|
|
|
dotgen = default;
|
|
|
|
doubleConversion = default;
|
|
|
|
editDistance = default;
|
|
|
|
editline = default;
|
|
|
|
emailValidate = default;
|
|
|
|
entropy = default;
|
|
|
|
enumerator = default;
|
|
|
|
erf = default;
|
|
|
|
failure = default;
|
|
|
|
fclabels = default;
|
|
|
|
feed = default;
|
|
|
|
fgl = all;
|
|
|
|
fileEmbed = default;
|
|
|
|
filestore = default;
|
|
|
|
fingertree = default;
|
|
|
|
flexibleDefaults = default;
|
2013-04-24 10:27:15 +00:00
|
|
|
fsnotify = [ ghc704 ghc742 ghc763 ];
|
2013-04-18 09:17:16 +00:00
|
|
|
funcmp = all;
|
|
|
|
gamma = default;
|
|
|
|
gdiff = default;
|
|
|
|
ghc = default;
|
2013-04-24 09:20:13 +00:00
|
|
|
ghcEvents = default;
|
2013-04-22 09:56:50 +00:00
|
|
|
ghcMod = default ++ latest;
|
2013-04-18 09:17:16 +00: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 09:56:50 +00:00
|
|
|
graphviz = default ++ latest;
|
2013-04-18 09:17:16 +00:00
|
|
|
gtk = default;
|
|
|
|
gtksourceview2 = default;
|
2013-04-22 09:56:50 +00:00
|
|
|
hackageDb = default ++ latest;
|
2013-04-18 09:17:16 +00:00
|
|
|
haddock = all;
|
|
|
|
hakyll = default;
|
|
|
|
hamlet = default;
|
|
|
|
happstackHamlet = default;
|
|
|
|
happstackServer = default;
|
|
|
|
happy = all;
|
|
|
|
hashable = default;
|
|
|
|
hashedStorage = default;
|
|
|
|
haskeline = default;
|
|
|
|
haskellLexer = default;
|
2013-05-12 13:45:27 +00:00
|
|
|
haskellPlatform = all;
|
2013-04-18 09:17:16 +00:00
|
|
|
haskellSrc = all;
|
2013-04-24 09:20:13 +00:00
|
|
|
haskellSrcExts = default;
|
2013-04-18 09:17:16 +00:00
|
|
|
haskellSrcMeta = default;
|
|
|
|
HaXml = default;
|
|
|
|
haxr = default;
|
|
|
|
HDBC = default;
|
|
|
|
HDBCPostgresql = default;
|
|
|
|
HDBCSqlite3 = default;
|
|
|
|
highlightingKate = default;
|
|
|
|
hinotify = default;
|
|
|
|
hint = default;
|
2013-04-22 09:56:50 +00:00
|
|
|
hledger = default ++ latest;
|
|
|
|
hledgerInterest = default ++ latest;
|
|
|
|
hledgerLib = default ++ latest;
|
2013-04-18 09:17:16 +00:00
|
|
|
hledgerWeb = default;
|
2013-04-22 09:56:50 +00:00
|
|
|
hlint = default ++ latest;
|
|
|
|
HList = default ++ latest;
|
2013-04-18 09:17:16 +00:00
|
|
|
hmatrix = default;
|
2013-04-22 09:56:50 +00:00
|
|
|
hoogle = default ++ latest;
|
2013-04-18 09:17:16 +00: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 09:56:50 +00:00
|
|
|
hspec = default ++ latest;
|
2013-04-18 09:17:16 +00:00
|
|
|
HsSyck = default;
|
2013-04-22 09:56:50 +00:00
|
|
|
HStringTemplate = default ++ latest;
|
2013-04-18 09:17:16 +00:00
|
|
|
hsyslog = all;
|
|
|
|
html = all;
|
2013-04-24 09:20:13 +00:00
|
|
|
HTTP = all;
|
2013-04-18 09:17:16 +00:00
|
|
|
httpConduit = default;
|
|
|
|
httpDate = default;
|
|
|
|
httpdShed = default;
|
|
|
|
httpTypes = default;
|
|
|
|
HUnit = all;
|
|
|
|
hxt = default;
|
2013-06-05 09:02:25 +00:00
|
|
|
idris = default;
|
2013-04-18 09:17:16 +00:00
|
|
|
IfElse = default;
|
|
|
|
irc = default;
|
|
|
|
iteratee = default;
|
2013-04-19 08:31:29 +00:00
|
|
|
jailbreakCabal = all;
|
2013-04-18 09:17:16 +00: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;
|
|
|
|
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 09:56:50 +00:00
|
|
|
monadPar = default ++ latest;
|
2013-04-18 09:17:16 +00:00
|
|
|
monadPeel = default;
|
|
|
|
MonadPrompt = default;
|
|
|
|
MonadRandom = default;
|
|
|
|
mpppc = default;
|
|
|
|
mtl = all;
|
|
|
|
mtlparse = default;
|
|
|
|
multiplate = default;
|
|
|
|
multirec = 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 08:42:25 +00:00
|
|
|
optparseApplicative = allBut ghc6104;
|
2013-04-18 09:17:16 +00:00
|
|
|
packunused = default;
|
2013-04-22 09:56:50 +00:00
|
|
|
pandoc = default ++ latest;
|
2013-04-18 09:17:16 +00:00
|
|
|
pandocTypes = default;
|
|
|
|
pango = default;
|
|
|
|
parallel = all;
|
|
|
|
parseargs = default;
|
|
|
|
parsec3 = default;
|
|
|
|
parsec = all;
|
|
|
|
parsimony = default;
|
|
|
|
pathPieces = default;
|
|
|
|
pathtype = default;
|
|
|
|
pcreLight = default;
|
2013-04-22 09:56:50 +00:00
|
|
|
permutation = default ++ latest;
|
2013-04-18 09:17:16 +00: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 09:56:50 +00:00
|
|
|
random = default ++ latest;
|
2013-04-24 09:20:13 +00:00
|
|
|
randomFu = default;
|
2013-04-18 09:17:16 +00: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 09:56:50 +00:00
|
|
|
smallcheck = default ++ latest;
|
2013-04-18 09:17:16 +00:00
|
|
|
SMTPClient = default;
|
|
|
|
snapCore = default;
|
|
|
|
snap = default;
|
|
|
|
snapLoaderStatic = default;
|
|
|
|
snapServer = default;
|
2013-04-22 09:56:50 +00:00
|
|
|
split = default ++ latest;
|
2013-04-18 09:17:16 +00:00
|
|
|
srcloc = default;
|
|
|
|
stateref = default;
|
|
|
|
StateVar = default;
|
|
|
|
statistics = default;
|
|
|
|
stbImage = default;
|
|
|
|
stm = all;
|
|
|
|
storableComplex = default;
|
|
|
|
storableRecord = default;
|
|
|
|
streamproc = all;
|
|
|
|
strict = default;
|
|
|
|
strptime = default;
|
|
|
|
svgcairo = default;
|
2013-04-21 18:12:26 +00:00
|
|
|
syb = [ ghc704 ghc742 ghc763 ];
|
2013-04-18 09:17:16 +00:00
|
|
|
sybWithClass = default;
|
|
|
|
sybWithClassInstancesText = default;
|
|
|
|
tabular = default;
|
|
|
|
tagged = default;
|
|
|
|
tagsoup = default;
|
2013-04-22 09:56:50 +00:00
|
|
|
tar = default ++ latest;
|
2013-04-18 09:17:16 +00:00
|
|
|
Tensor = default;
|
|
|
|
terminfo = default;
|
2013-04-22 09:56:50 +00:00
|
|
|
testFramework = default ++ latest;
|
|
|
|
testFrameworkHunit = default ++ latest;
|
2013-04-18 09:17:16 +00:00
|
|
|
texmath = default;
|
|
|
|
text = all;
|
|
|
|
thLift = default;
|
|
|
|
timeplot = default;
|
|
|
|
tls = default;
|
2013-04-24 09:20:13 +00:00
|
|
|
tlsExtra = default;
|
|
|
|
transformers = all;
|
2013-04-18 09:17:16 +00:00
|
|
|
transformersBase = default;
|
|
|
|
transformersCompat = default;
|
|
|
|
tuple = default;
|
2013-05-30 10:29:29 +00:00
|
|
|
typeLevelNaturalNumber = default;
|
2013-04-18 09:17:16 +00:00
|
|
|
uniplate = default;
|
|
|
|
uniqueid = default;
|
|
|
|
unixCompat = default;
|
|
|
|
unorderedContainers = default;
|
|
|
|
url = default;
|
|
|
|
utf8Light = default;
|
|
|
|
utf8String = default;
|
|
|
|
utilityHt = default;
|
|
|
|
uuagc = default;
|
|
|
|
uuid = default;
|
2013-04-22 09:56:50 +00:00
|
|
|
uulib = default ++ latest;
|
2013-05-16 10:58:58 +00:00
|
|
|
uuOptions = default;
|
2013-05-18 17:32:28 +00:00
|
|
|
uuParsinglib = default;
|
2013-04-18 09:17:16 +00:00
|
|
|
vacuum = default;
|
|
|
|
vcsRevision = default;
|
|
|
|
Vec = default;
|
|
|
|
vectorAlgorithms = default;
|
|
|
|
vector = all;
|
|
|
|
vectorSpace = default;
|
|
|
|
vty = default;
|
|
|
|
waiAppStatic = default;
|
|
|
|
wai = default;
|
2013-04-24 09:20:13 +00:00
|
|
|
waiExtra = default;
|
2013-04-18 09:17:16 +00:00
|
|
|
waiLogger = default;
|
|
|
|
warp = default;
|
2013-04-22 09:56:50 +00:00
|
|
|
wlPprint = default ++ latest;
|
2013-04-24 09:20:13 +00:00
|
|
|
wlPprintExtras = default;
|
2013-04-18 09:17:16 +00:00
|
|
|
wlPprintTerminfo = default;
|
|
|
|
X11 = default;
|
|
|
|
xhtml = all;
|
|
|
|
xmlConduit = default;
|
|
|
|
xml = default;
|
|
|
|
xmlHamlet = default;
|
|
|
|
xmlTypes = default;
|
2013-04-22 09:56:50 +00:00
|
|
|
xmobar = default ++ latest;
|
|
|
|
xmonadContrib = default ++ latest;
|
|
|
|
xmonad = default ++ latest;
|
2013-04-24 09:20:13 +00:00
|
|
|
xmonadExtras = default ++ latest;
|
2013-04-18 09:17:16 +00:00
|
|
|
xssSanitize = default;
|
|
|
|
yesodAuth = default;
|
|
|
|
yesodCore = default;
|
2013-04-24 09:20:13 +00:00
|
|
|
yesod = default;
|
2013-04-18 09:17:16 +00:00
|
|
|
yesodDefault = default;
|
|
|
|
yesodForm = default;
|
|
|
|
yesodJson = default;
|
|
|
|
yesodPersistent = default;
|
|
|
|
yesodStatic = default;
|
|
|
|
zeromq3Haskell = default;
|
|
|
|
zeromqHaskell = default;
|
|
|
|
zipArchive = default;
|
|
|
|
zipper = default;
|
2013-04-24 09:20:13 +00:00
|
|
|
zlib = all;
|
2013-04-18 09:17:16 +00:00
|
|
|
zlibBindings = default;
|
|
|
|
zlibEnum = default;
|
2013-03-23 16:29:44 +00:00
|
|
|
|
2013-03-29 15:46:59 +00:00
|
|
|
}
|