2008-11-28 02:56:36 -08:00
|
|
|
let
|
|
|
|
|
|
|
|
allPackages = import ./all-packages.nix;
|
|
|
|
|
2009-03-09 10:49:13 -07:00
|
|
|
pkgs = allPackages {};
|
2008-11-30 10:36:23 -08:00
|
|
|
|
2010-01-22 10:51:18 -08:00
|
|
|
/* The working or failing letters for cross builds will be sent only to
|
|
|
|
the following maintainers, as most package maintainers will not be
|
|
|
|
interested in the result of cross building a package. */
|
|
|
|
crossMaintainers = with pkgs.lib.maintainers; [ viric ];
|
2010-01-22 06:59:27 -08:00
|
|
|
|
2009-03-30 06:24:46 -07:00
|
|
|
/* Set the Hydra scheduling priority for a job. The default
|
|
|
|
priority (100) should be used for most jobs. A different
|
|
|
|
priority should only be used for a few particularly interesting
|
|
|
|
jobs (in terms of giving feedback to developers), such as stdenv.
|
|
|
|
*/
|
|
|
|
prio = level: job: toJob job // { schedulingPriority = level; };
|
|
|
|
|
|
|
|
toJob = x: if builtins.isAttrs x then x else
|
2009-12-18 04:33:12 -08:00
|
|
|
{ type = "job"; systems = x; schedulingPriority = 5; };
|
2009-03-30 06:24:46 -07:00
|
|
|
|
2009-03-10 08:23:27 -07:00
|
|
|
/* Perform a job on the given set of platforms. The function `f' is
|
|
|
|
called by Hydra for each platform, and should return some job
|
|
|
|
to build on that platform. `f' is passed the Nixpkgs collection
|
|
|
|
for the platform in question. */
|
2009-03-10 05:54:12 -07:00
|
|
|
testOn = systems: f: {system ? builtins.currentSystem}:
|
2009-03-09 10:49:13 -07:00
|
|
|
if pkgs.lib.elem system systems then f (allPackages {inherit system;}) else {};
|
2008-11-30 10:36:23 -08:00
|
|
|
|
2010-01-22 10:51:18 -08:00
|
|
|
/* Similar to the testOn function, but with an additional 'crossSystem'
|
|
|
|
* parameter for allPackages, defining the target platform for cross builds */
|
|
|
|
testOnCross = crossSystem: systems: f: {system ? builtins.currentSystem}:
|
|
|
|
if pkgs.lib.elem system systems then f (allPackages {inherit system
|
|
|
|
crossSystem;}) else {};
|
|
|
|
|
2009-03-10 08:23:27 -07:00
|
|
|
/* Map an attribute of the form `foo = [platforms...]' to `testOn
|
|
|
|
[platforms...] (pkgs: pkgs.foo)'. */
|
2009-03-30 06:24:46 -07:00
|
|
|
mapTestOn = pkgs.lib.mapAttrsRecursiveCond
|
|
|
|
(as: !(as ? type && as.type == "job"))
|
|
|
|
(path: value:
|
|
|
|
let
|
|
|
|
job = toJob value;
|
|
|
|
getPkg = pkgs:
|
|
|
|
pkgs.lib.addMetaAttrs { schedulingPriority = toString job.schedulingPriority; }
|
|
|
|
(pkgs.lib.getAttrFromPath path pkgs);
|
|
|
|
in testOn job.systems getPkg);
|
2009-03-10 08:23:27 -07:00
|
|
|
|
2010-01-22 10:51:18 -08:00
|
|
|
|
|
|
|
/* Similar to the testOn function, but with an additional 'crossSystem'
|
|
|
|
* parameter for allPackages, defining the target platform for cross builds,
|
|
|
|
* and triggering the build of the host derivation (cross built - hostDrv). */
|
|
|
|
mapTestOnCross = crossSystem: pkgs.lib.mapAttrsRecursiveCond
|
|
|
|
(as: !(as ? type && as.type == "job"))
|
|
|
|
(path: value:
|
|
|
|
let
|
|
|
|
job = toJob value;
|
|
|
|
getPkg = pkgs: setCrossMaintainers
|
|
|
|
(pkgs.lib.addMetaAttrs { schedulingPriority = toString job.schedulingPriority; }
|
|
|
|
(pkgs.lib.getAttrFromPath (path ++ ["hostDrv"]) pkgs));
|
|
|
|
in testOnCross crossSystem job.systems getPkg);
|
|
|
|
|
|
|
|
setCrossMaintainers = pkg: pkg // { meta.maintainers = crossMaintainers; };
|
|
|
|
|
2009-09-23 12:45:02 -07:00
|
|
|
/* Find all packages that have a meta.platforms field listing the
|
|
|
|
supported platforms. */
|
|
|
|
packagesWithMetaPlatform = attrSet:
|
|
|
|
if builtins ? tryEval then
|
2009-08-28 00:07:55 -07:00
|
|
|
let pairs = pkgs.lib.concatMap
|
2009-11-04 10:37:48 -08:00
|
|
|
(x:
|
2009-11-06 04:27:56 -08:00
|
|
|
let pair = builtins.tryEval
|
|
|
|
(let
|
|
|
|
attrVal = (builtins.getAttr x attrSet);
|
|
|
|
in
|
|
|
|
{val=(processPackage attrVal);
|
|
|
|
attrVal = attrVal;
|
|
|
|
attrValIsAttrs = builtins.isAttrs attrVal;
|
|
|
|
});
|
|
|
|
success = (builtins.tryEval pair.value.attrVal).success;
|
|
|
|
in
|
|
|
|
if success && pair.value.attrValIsAttrs &&
|
|
|
|
pair.value.val != [] then
|
|
|
|
[{name= x; value=pair.value.val;}] else [])
|
2009-08-28 00:00:40 -07:00
|
|
|
(builtins.attrNames attrSet);
|
2009-08-28 00:07:55 -07:00
|
|
|
in
|
|
|
|
builtins.listToAttrs pairs
|
|
|
|
else {};
|
2009-09-23 12:45:02 -07:00
|
|
|
|
|
|
|
# May fail as much as it wishes, we will catch the error.
|
2009-08-24 22:46:48 -07:00
|
|
|
processPackage = attrSet:
|
2009-08-27 23:29:21 -07:00
|
|
|
if attrSet ? recurseForDerivations && attrSet.recurseForDerivations then
|
2009-09-23 12:45:02 -07:00
|
|
|
packagesWithMetaPlatform attrSet
|
2009-08-27 23:29:21 -07:00
|
|
|
else
|
2009-11-06 04:27:56 -08:00
|
|
|
if attrSet ? meta && attrSet.meta ? platforms
|
|
|
|
then attrSet.meta.platforms
|
|
|
|
else [];
|
2009-08-24 22:46:48 -07:00
|
|
|
|
2009-03-10 08:23:27 -07:00
|
|
|
/* Common platform groups on which to test packages. */
|
2009-08-25 01:28:08 -07:00
|
|
|
inherit (pkgs.lib.platforms) linux darwin cygwin allBut all;
|
2009-03-24 11:32:30 -07:00
|
|
|
|
|
|
|
/* Platform groups for specific kinds of applications. */
|
|
|
|
x11Supported = linux;
|
|
|
|
gtkSupported = linux;
|
|
|
|
ghcSupported = linux ++ darwin;
|
2008-11-30 10:36:23 -08:00
|
|
|
|
2009-03-09 10:49:13 -07:00
|
|
|
in {
|
2008-11-30 10:36:23 -08:00
|
|
|
|
2009-03-09 10:49:13 -07:00
|
|
|
tarball = import ./make-tarball.nix;
|
2008-11-30 10:36:23 -08:00
|
|
|
|
2009-09-23 12:45:02 -07:00
|
|
|
} // (mapTestOn ((packagesWithMetaPlatform pkgs) // rec {
|
2009-03-09 10:49:13 -07:00
|
|
|
|
2009-03-10 08:23:27 -07:00
|
|
|
MPlayer = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
abcde = linux;
|
|
|
|
alsaUtils = linux;
|
2009-03-10 08:23:27 -07:00
|
|
|
apacheHttpd = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
aspell = all;
|
2009-03-14 16:19:49 -07:00
|
|
|
at = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
aterm25 = all;
|
|
|
|
aterm28 = all;
|
|
|
|
audacious = linux;
|
|
|
|
audacious_plugins = linux;
|
2009-03-10 08:23:27 -07:00
|
|
|
autoconf = all;
|
2009-03-24 11:32:30 -07:00
|
|
|
automake110x = all;
|
2009-05-20 05:22:40 -07:00
|
|
|
automake111x = all;
|
2009-03-24 11:32:30 -07:00
|
|
|
automake19x = all;
|
2009-03-14 14:43:37 -07:00
|
|
|
avahi = allBut "i686-cygwin"; # Cygwin builds fail
|
2009-03-10 08:23:27 -07:00
|
|
|
bash = all;
|
2009-03-24 11:32:30 -07:00
|
|
|
bashInteractive = all;
|
2009-03-17 05:29:34 -07:00
|
|
|
bazaar = linux; # first let sqlite3 work on darwin
|
2009-05-06 21:26:35 -07:00
|
|
|
bc = all;
|
2009-03-24 11:32:30 -07:00
|
|
|
binutils = linux;
|
2009-05-05 12:09:33 -07:00
|
|
|
bind = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
bison23 = all;
|
|
|
|
bison24 = all;
|
2009-03-17 05:29:34 -07:00
|
|
|
bitlbee = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
bittorrent = linux;
|
2009-06-08 11:49:04 -07:00
|
|
|
blender = linux;
|
2009-03-14 02:44:15 -07:00
|
|
|
boost = all;
|
2009-04-14 06:56:33 -07:00
|
|
|
boostFull = all;
|
2009-03-24 11:32:30 -07:00
|
|
|
bsdiff = all;
|
2009-05-05 13:15:29 -07:00
|
|
|
btrfsProgs = linux;
|
|
|
|
bvi = all;
|
2009-03-24 11:32:30 -07:00
|
|
|
bzip2 = all;
|
|
|
|
cabextract = all;
|
2009-03-18 16:35:59 -07:00
|
|
|
castleCombat = linux;
|
2009-03-14 08:32:39 -07:00
|
|
|
cdrkit = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
chatzilla = linux;
|
|
|
|
cksfv = all;
|
2009-07-31 02:59:45 -07:00
|
|
|
classpath = linux;
|
2009-04-23 08:01:53 -07:00
|
|
|
cmake = all;
|
2009-03-21 15:20:45 -07:00
|
|
|
compiz = linux;
|
2009-09-29 23:32:02 -07:00
|
|
|
consolekit = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
coreutils = all;
|
|
|
|
cpio = all;
|
|
|
|
cron = linux;
|
|
|
|
cups = linux;
|
2009-05-05 13:15:29 -07:00
|
|
|
cvs = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
db4 = all;
|
2009-05-05 13:15:29 -07:00
|
|
|
ddrescue = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
dhcp = linux;
|
2009-04-01 13:32:04 -07:00
|
|
|
dico = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
dietlibc = linux;
|
|
|
|
diffutils = all;
|
|
|
|
docbook5 = all;
|
|
|
|
docbook5_xsl = all;
|
|
|
|
docbook_xml_dtd_42 = all;
|
|
|
|
docbook_xml_dtd_43 = all;
|
|
|
|
docbook_xsl = all;
|
2009-04-21 11:30:54 -07:00
|
|
|
dosbox = linux;
|
2009-05-05 12:09:33 -07:00
|
|
|
dovecot = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
doxygen = linux;
|
2009-06-18 09:48:29 -07:00
|
|
|
dpkg = linux;
|
2009-08-12 22:38:33 -07:00
|
|
|
drgeo = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
e2fsprogs = linux;
|
2009-05-04 03:52:54 -07:00
|
|
|
ejabberd = linux;
|
2009-05-05 11:34:16 -07:00
|
|
|
elinks = linux;
|
2009-11-22 08:29:15 -08:00
|
|
|
emacs22 = gtkSupported;
|
2009-11-05 06:36:49 -08:00
|
|
|
emacs23 = gtkSupported;
|
2009-03-24 11:32:30 -07:00
|
|
|
enscript = all;
|
2009-03-14 02:44:15 -07:00
|
|
|
eprover = linux;
|
2009-03-16 23:16:10 -07:00
|
|
|
evince = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
expect = linux;
|
|
|
|
exult = linux;
|
2009-05-10 05:35:12 -07:00
|
|
|
fbterm = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
feh = linux;
|
|
|
|
file = all;
|
|
|
|
findutils = all;
|
|
|
|
firefox2 = linux;
|
2009-03-30 06:24:46 -07:00
|
|
|
firefox3 = prio 150 linux;
|
2009-07-06 04:42:21 -07:00
|
|
|
firefox35 = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
flex = all;
|
|
|
|
flex2535 = all;
|
2009-05-06 00:29:20 -07:00
|
|
|
fontforge = linux;
|
2009-05-05 13:15:29 -07:00
|
|
|
fuse = linux;
|
2009-05-04 03:52:54 -07:00
|
|
|
gajim = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
gawk = all;
|
2009-03-10 08:23:27 -07:00
|
|
|
gcc = all;
|
2009-03-24 11:32:30 -07:00
|
|
|
gcc33 = linux;
|
|
|
|
gcc34 = linux;
|
2009-11-02 02:33:59 -08:00
|
|
|
gcc41 = linux;
|
2009-04-29 09:12:10 -07:00
|
|
|
gcc42 = linux;
|
2009-04-15 07:10:41 -07:00
|
|
|
gcc43_multi = ["x86_64-linux"];
|
2009-07-03 11:55:38 -07:00
|
|
|
gcc44 = linux;
|
|
|
|
gcj44 = linux;
|
2009-12-22 01:20:43 -08:00
|
|
|
ghdl = linux;
|
2009-03-17 05:29:34 -07:00
|
|
|
ghostscript = linux;
|
|
|
|
ghostscriptX = linux;
|
2009-03-22 12:09:51 -07:00
|
|
|
gimp = linux;
|
2009-03-16 23:16:10 -07:00
|
|
|
git = linux;
|
2009-04-19 09:07:00 -07:00
|
|
|
glibc = linux;
|
|
|
|
glibcLocales = linux;
|
2009-05-05 11:34:16 -07:00
|
|
|
glxinfo = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
gnash = linux;
|
2009-12-22 01:20:43 -08:00
|
|
|
gnat44 = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
gnugrep = all;
|
|
|
|
gnum4 = all;
|
|
|
|
gnumake = all;
|
|
|
|
gnupatch = all;
|
|
|
|
gnupg2 = linux;
|
2009-03-17 05:29:34 -07:00
|
|
|
gnuplot = allBut "i686-cygwin";
|
2009-03-24 11:32:30 -07:00
|
|
|
gnused = all;
|
|
|
|
gnutar = all;
|
2009-03-17 05:29:34 -07:00
|
|
|
gnutls = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
gphoto2 = linux;
|
2009-05-05 12:09:33 -07:00
|
|
|
gpm = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
gprolog = linux;
|
2009-05-29 16:31:57 -07:00
|
|
|
gpsbabel = all;
|
2009-06-01 15:48:12 -07:00
|
|
|
gpscorrelate = linux;
|
2009-06-15 06:12:24 -07:00
|
|
|
gpsd = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
gqview = gtkSupported;
|
2009-03-14 02:44:15 -07:00
|
|
|
graphviz = all;
|
2009-03-24 11:32:30 -07:00
|
|
|
grub = linux;
|
|
|
|
gsl = linux;
|
2009-03-14 12:40:29 -07:00
|
|
|
guile = linux; # tests fail on Cygwin
|
|
|
|
guileLib = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
gv = linux;
|
2009-05-05 12:09:33 -07:00
|
|
|
gw6c = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
gzip = all;
|
|
|
|
hal = linux;
|
2009-08-12 03:39:49 -07:00
|
|
|
hal_info = linux;
|
2009-05-05 13:15:29 -07:00
|
|
|
hddtemp = linux;
|
|
|
|
hdparm = linux;
|
2009-03-10 08:23:27 -07:00
|
|
|
hello = all;
|
2009-03-24 11:32:30 -07:00
|
|
|
host = linux;
|
2009-07-05 14:39:46 -07:00
|
|
|
htmlTidy = all;
|
2009-04-17 10:36:48 -07:00
|
|
|
hugin = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
iana_etc = linux;
|
2009-06-28 06:35:16 -07:00
|
|
|
icecat3Xul = linux;
|
2009-03-14 08:32:39 -07:00
|
|
|
idutils = all;
|
2009-04-23 08:01:53 -07:00
|
|
|
ifplugd = linux;
|
2009-03-17 05:29:34 -07:00
|
|
|
imagemagick = allBut "i686-cygwin";
|
2009-03-19 09:42:00 -07:00
|
|
|
impressive = linux;
|
2009-03-14 08:32:39 -07:00
|
|
|
inetutils = linux;
|
2009-03-16 03:19:38 -07:00
|
|
|
inkscape = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
iputils = linux;
|
2009-05-05 11:34:16 -07:00
|
|
|
iproute = linux;
|
2010-01-04 02:49:57 -08:00
|
|
|
iptables = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
irssi = linux;
|
2009-10-08 06:14:52 -07:00
|
|
|
jfsutils = linux;
|
2009-05-05 13:15:29 -07:00
|
|
|
jfsrec = linux;
|
2009-03-14 16:29:33 -07:00
|
|
|
jnettop = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
jwhois = linux;
|
2009-04-26 12:14:44 -07:00
|
|
|
k3b = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
kbd = linux;
|
|
|
|
kcachegrind = linux;
|
|
|
|
keen4 = ["i686-linux"];
|
2009-04-12 09:11:04 -07:00
|
|
|
kile = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
klibc = linux;
|
2009-04-12 09:54:42 -07:00
|
|
|
konversation = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
ktorrent = linux;
|
|
|
|
kvm = linux;
|
2009-05-26 06:27:42 -07:00
|
|
|
qemu = linux;
|
2010-01-12 05:23:21 -08:00
|
|
|
qemu_kvm = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
less = all;
|
|
|
|
lftp = all;
|
2009-04-23 08:01:53 -07:00
|
|
|
libarchive = linux;
|
2009-03-10 08:23:27 -07:00
|
|
|
libsmbios = linux;
|
|
|
|
libtool = all;
|
2009-04-09 02:48:14 -07:00
|
|
|
libtool_2 = all;
|
2009-03-24 11:32:30 -07:00
|
|
|
libxml2 = all;
|
|
|
|
libxslt = all;
|
2009-08-03 07:15:22 -07:00
|
|
|
linuxwacom = linux;
|
2009-03-16 03:45:55 -07:00
|
|
|
lout = linux;
|
2009-03-14 16:19:49 -07:00
|
|
|
lsh = linux;
|
2009-05-05 13:15:29 -07:00
|
|
|
lsof = linux;
|
|
|
|
ltrace = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
lvm2 = linux;
|
2009-05-05 13:15:29 -07:00
|
|
|
lynx = linux;
|
|
|
|
lzma = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
man = linux;
|
|
|
|
manpages = linux;
|
2009-03-17 05:29:34 -07:00
|
|
|
maxima = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
mc = all;
|
2009-05-05 13:15:29 -07:00
|
|
|
mcabber = linux;
|
2009-04-03 14:10:26 -07:00
|
|
|
mcron = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
mdadm = linux;
|
2009-03-17 05:29:34 -07:00
|
|
|
mercurial = allBut "i686-cygwin";
|
2009-06-09 09:21:45 -07:00
|
|
|
mesa = linux ++ darwin;
|
2009-08-24 11:22:58 -07:00
|
|
|
midori = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
mingetty = linux;
|
|
|
|
mk = linux;
|
|
|
|
mktemp = all;
|
|
|
|
mod_python = linux;
|
|
|
|
module_init_tools = linux;
|
2009-03-19 03:10:54 -07:00
|
|
|
mono = linux;
|
2009-03-17 05:29:34 -07:00
|
|
|
monotone = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
mpg321 = linux;
|
2009-05-05 13:15:29 -07:00
|
|
|
mutt = linux;
|
2009-03-17 05:29:34 -07:00
|
|
|
mysql = linux;
|
2009-12-17 11:07:00 -08:00
|
|
|
mysql51 = linux;
|
2009-06-27 14:17:45 -07:00
|
|
|
namazu = all;
|
2009-03-17 05:29:34 -07:00
|
|
|
nano = allBut "i686-cygwin";
|
2009-05-05 13:15:29 -07:00
|
|
|
ncat = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
netcat = all;
|
|
|
|
nfsUtils = linux;
|
|
|
|
nix = all;
|
|
|
|
nixUnstable = all;
|
2009-08-12 22:38:33 -07:00
|
|
|
nmap = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
nss_ldap = linux;
|
2009-03-14 08:32:39 -07:00
|
|
|
nssmdns = linux;
|
2009-03-16 03:19:38 -07:00
|
|
|
ntfs3g = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
ntp = linux;
|
2009-05-07 04:54:42 -07:00
|
|
|
ocaml = linux;
|
2009-03-16 23:16:10 -07:00
|
|
|
octave = linux;
|
2009-03-14 02:44:15 -07:00
|
|
|
openoffice = linux;
|
2009-03-17 05:29:34 -07:00
|
|
|
openssh = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
openssl = all;
|
|
|
|
pam_console = linux;
|
|
|
|
pam_ldap = linux;
|
|
|
|
pam_login = linux;
|
|
|
|
pam_unix2 = linux;
|
|
|
|
pan = gtkSupported;
|
|
|
|
par2cmdline = all;
|
2009-04-03 09:00:55 -07:00
|
|
|
pavucontrol = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
pciutils = linux;
|
2009-03-10 08:23:27 -07:00
|
|
|
perl = all;
|
2009-03-24 11:32:30 -07:00
|
|
|
php = linux;
|
2009-03-16 23:16:10 -07:00
|
|
|
pidgin = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
pinentry = linux;
|
|
|
|
pkgconfig = all;
|
2009-03-14 02:44:15 -07:00
|
|
|
pltScheme = linux;
|
2009-03-17 05:29:34 -07:00
|
|
|
pmccabe = linux;
|
2009-09-29 23:32:02 -07:00
|
|
|
policykit = linux;
|
2009-03-14 16:19:49 -07:00
|
|
|
portmap = linux;
|
2009-03-14 02:44:15 -07:00
|
|
|
postgresql = all;
|
2009-05-10 05:35:12 -07:00
|
|
|
postfix = linux;
|
2009-07-18 14:29:48 -07:00
|
|
|
ppl = all;
|
2009-03-24 11:32:30 -07:00
|
|
|
procps = linux;
|
2009-04-26 12:14:44 -07:00
|
|
|
pwdutils = linux;
|
2009-04-02 07:34:54 -07:00
|
|
|
pthreadmanpages = all;
|
2009-08-12 22:38:33 -07:00
|
|
|
pygtk = linux;
|
2009-10-01 07:15:06 -07:00
|
|
|
pyqt4 = linux;
|
2009-03-17 05:29:34 -07:00
|
|
|
python = allBut "i686-cygwin";
|
2009-03-16 03:19:38 -07:00
|
|
|
pythonFull = linux;
|
2009-07-07 07:50:37 -07:00
|
|
|
sbcl = all;
|
2009-03-17 05:29:34 -07:00
|
|
|
qt3 = allBut "i686-cygwin";
|
2009-03-16 23:16:10 -07:00
|
|
|
qt4 = linux;
|
2009-08-15 07:02:49 -07:00
|
|
|
qt45 = linux;
|
2009-12-25 02:59:57 -08:00
|
|
|
qt46 = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
quake3demo = linux;
|
|
|
|
readline = all;
|
|
|
|
reiserfsprogs = linux;
|
|
|
|
rogue = all;
|
|
|
|
rpm = linux;
|
2009-03-17 05:29:34 -07:00
|
|
|
rsync = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
rubber = allBut "i686-cygwin";
|
|
|
|
ruby = all;
|
2009-05-05 11:34:16 -07:00
|
|
|
rxvt_unicode = all;
|
2009-05-05 12:09:33 -07:00
|
|
|
samba = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
screen = linux ++ darwin;
|
2009-09-02 16:04:57 -07:00
|
|
|
scrot = linux;
|
2009-05-05 13:15:29 -07:00
|
|
|
sdparm = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
seccure = linux;
|
2009-06-04 23:54:17 -07:00
|
|
|
sgtpuzzles = linux;
|
2009-04-23 08:01:53 -07:00
|
|
|
sharutils = all;
|
2009-03-24 11:32:30 -07:00
|
|
|
slim = linux;
|
2009-03-17 05:29:34 -07:00
|
|
|
sloccount = allBut "i686-cygwin";
|
2009-05-13 08:31:10 -07:00
|
|
|
smartmontools = all;
|
2009-05-07 05:06:30 -07:00
|
|
|
smbfsFuse = linux;
|
2009-05-05 13:15:29 -07:00
|
|
|
socat = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
spidermonkey = linux;
|
|
|
|
splashutils_13 = linux;
|
|
|
|
splashutils_15 = linux;
|
2009-03-17 13:44:42 -07:00
|
|
|
sqlite = allBut "i686-cygwin";
|
2009-05-05 11:34:16 -07:00
|
|
|
squid = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
ssmtp = linux;
|
2009-03-30 06:24:46 -07:00
|
|
|
stdenv = prio 175 all;
|
2009-04-22 09:44:11 -07:00
|
|
|
stlport = linux;
|
2009-03-14 16:29:33 -07:00
|
|
|
strace = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
su = linux;
|
|
|
|
sudo = linux;
|
2009-03-18 16:35:59 -07:00
|
|
|
superTuxKart = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
swig = linux;
|
|
|
|
sylpheed = linux;
|
|
|
|
sysklogd = linux;
|
|
|
|
syslinux = ["i686-linux"];
|
|
|
|
sysvinit = linux;
|
|
|
|
sysvtools = linux;
|
2009-10-31 16:18:23 -07:00
|
|
|
tahoelafs = linux;
|
2009-06-05 06:51:11 -07:00
|
|
|
tangogps = linux;
|
2009-05-05 13:15:29 -07:00
|
|
|
tcl = linux;
|
2009-03-14 16:29:33 -07:00
|
|
|
tcpdump = linux;
|
2009-03-18 16:35:59 -07:00
|
|
|
teeworlds = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
tetex = linux;
|
2009-03-16 03:45:55 -07:00
|
|
|
texLive = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
texLiveBeamer = linux;
|
|
|
|
texLiveExtra = linux;
|
|
|
|
texinfo = all;
|
2010-01-02 05:21:50 -08:00
|
|
|
thunderbird2 = linux;
|
|
|
|
thunderbird3 = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
tightvnc = linux;
|
|
|
|
time = linux;
|
|
|
|
tinycc = ["i686-linux"];
|
|
|
|
udev = linux;
|
|
|
|
uml = ["i686-linux"];
|
2009-05-05 13:15:29 -07:00
|
|
|
unrar = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
unzip = all;
|
|
|
|
upstart = linux;
|
2009-11-06 17:26:04 -08:00
|
|
|
upstart06 = linux;
|
2009-05-05 13:15:29 -07:00
|
|
|
usbutils = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
utillinux = linux;
|
2009-05-05 11:34:16 -07:00
|
|
|
utillinuxCurses = linux;
|
2009-08-02 23:19:41 -07:00
|
|
|
uzbl = linux;
|
2009-06-01 15:48:12 -07:00
|
|
|
viking = linux;
|
2009-09-11 06:16:00 -07:00
|
|
|
vice = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
vim = linux;
|
2009-03-17 05:29:34 -07:00
|
|
|
vimHugeX = linux;
|
2009-03-10 08:23:27 -07:00
|
|
|
vlc = linux;
|
2009-08-12 22:38:33 -07:00
|
|
|
vncrec = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
vorbisTools = linux;
|
|
|
|
vpnc = linux;
|
2009-05-05 12:09:33 -07:00
|
|
|
vsftpd = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
w3m = all;
|
2009-03-17 05:29:34 -07:00
|
|
|
webkit = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
wget = all;
|
2009-05-05 13:15:29 -07:00
|
|
|
which = all;
|
2010-01-10 14:02:09 -08:00
|
|
|
wicd = linux;
|
2009-03-10 08:23:27 -07:00
|
|
|
wine = ["i686-linux"];
|
2009-05-04 04:03:09 -07:00
|
|
|
wireshark = linux;
|
2009-03-14 16:29:33 -07:00
|
|
|
wirelesstools = linux;
|
2009-05-05 11:34:16 -07:00
|
|
|
wpa_supplicant = linux;
|
2009-08-12 22:38:33 -07:00
|
|
|
wxGTK = all;
|
2009-03-24 11:32:30 -07:00
|
|
|
x11_ssh_askpass = linux;
|
|
|
|
xchm = linux;
|
|
|
|
xfig = x11Supported;
|
2009-10-08 06:14:52 -07:00
|
|
|
xfsprogs = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
xineUI = linux;
|
|
|
|
xkeyboard_config = linux;
|
2009-03-14 16:29:33 -07:00
|
|
|
xlockmore = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
xmltv = linux;
|
2009-03-14 16:29:33 -07:00
|
|
|
xpdf = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
xscreensaver = linux;
|
|
|
|
xsel = linux;
|
|
|
|
xterm = linux;
|
2009-05-10 05:35:12 -07:00
|
|
|
xxdiff = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
zdelta = linux;
|
2009-03-14 16:19:49 -07:00
|
|
|
zile = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
zip = all;
|
2009-05-05 11:34:16 -07:00
|
|
|
zsh = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
|
|
|
|
aspellDicts = {
|
|
|
|
de = all;
|
|
|
|
en = all;
|
|
|
|
es = all;
|
|
|
|
fr = all;
|
|
|
|
nl = all;
|
|
|
|
ru = all;
|
|
|
|
};
|
2009-07-10 09:17:06 -07:00
|
|
|
|
2009-08-12 03:39:49 -07:00
|
|
|
dbus = {
|
|
|
|
libs = linux;
|
|
|
|
tools = linux;
|
|
|
|
};
|
|
|
|
|
2009-11-22 08:29:15 -08:00
|
|
|
emacs22Packages = {
|
2009-07-10 09:17:06 -07:00
|
|
|
bbdb = linux;
|
|
|
|
cedet = linux;
|
|
|
|
ecb = linux;
|
|
|
|
emacsw3m = linux;
|
|
|
|
emms = linux;
|
2009-07-20 10:55:30 -07:00
|
|
|
nxml = all;
|
2009-11-22 08:29:15 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
emacs23Packages = emacs22Packages // {
|
2009-07-10 09:17:06 -07:00
|
|
|
jdee = linux;
|
|
|
|
};
|
|
|
|
|
2009-03-24 11:32:30 -07:00
|
|
|
gnome = {
|
2009-11-03 12:56:26 -08:00
|
|
|
gnome_panel = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
metacity = linux;
|
2009-11-03 12:56:26 -08:00
|
|
|
gnome_vfs = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
};
|
2009-03-10 01:01:35 -07:00
|
|
|
|
2009-03-14 02:44:15 -07:00
|
|
|
gtkLibs = {
|
|
|
|
gtk = linux;
|
|
|
|
};
|
|
|
|
|
2009-04-19 06:58:13 -07:00
|
|
|
haskellPackages_ghc683 = {
|
|
|
|
ghc = ghcSupported;
|
|
|
|
};
|
|
|
|
|
2009-07-20 10:48:00 -07:00
|
|
|
haskellPackages_ghc6102 = {
|
2009-04-19 06:58:13 -07:00
|
|
|
ghc = ghcSupported;
|
|
|
|
};
|
|
|
|
|
2009-07-20 10:48:00 -07:00
|
|
|
haskellPackages_ghc6103 = {
|
|
|
|
ghc = ghcSupported;
|
|
|
|
};
|
|
|
|
|
|
|
|
haskellPackages_ghc6104 = {
|
2009-04-19 06:58:13 -07:00
|
|
|
darcs = ghcSupported;
|
|
|
|
ghc = ghcSupported;
|
2009-04-23 05:33:09 -07:00
|
|
|
gtk2hs = linux;
|
|
|
|
leksah = linux;
|
2009-04-19 06:58:13 -07:00
|
|
|
lhs2tex = ghcSupported;
|
2009-04-25 08:39:25 -07:00
|
|
|
haskellPlatform = linux; /* OpenGL/mesa seems to fail on darwin */
|
2009-04-23 05:33:09 -07:00
|
|
|
xmonad = linux;
|
2009-04-19 06:58:13 -07:00
|
|
|
};
|
|
|
|
|
2010-01-12 01:21:53 -08:00
|
|
|
haskellPackages_ghc6121 = {
|
|
|
|
ghc = ghcSupported;
|
|
|
|
};
|
|
|
|
|
2009-03-24 11:32:30 -07:00
|
|
|
kde3 = {
|
|
|
|
kdebase = linux;
|
|
|
|
kdelibs = linux;
|
|
|
|
};
|
|
|
|
|
2009-09-10 13:06:57 -07:00
|
|
|
kde43 = {
|
|
|
|
kdelibs = linux;
|
|
|
|
kdelibs_experimental = linux;
|
|
|
|
kdebase_workspace = linux;
|
|
|
|
kdebase = linux;
|
|
|
|
kdebase_runtime = linux;
|
|
|
|
oxygen_icons = linux;
|
|
|
|
kdepimlibs = linux;
|
|
|
|
kdeadmin = linux;
|
|
|
|
kdeartwork = linux;
|
2009-10-01 06:56:45 -07:00
|
|
|
kdeaccessibility = linux;
|
2009-09-10 13:06:57 -07:00
|
|
|
kdeedu = linux;
|
|
|
|
kdegraphics = linux;
|
|
|
|
kdemultimedia = linux;
|
|
|
|
kdenetwork = linux;
|
|
|
|
kdepim = linux;
|
|
|
|
kdepim_runtime = linux;
|
|
|
|
kdeplasma_addons = linux;
|
|
|
|
kdegames = linux;
|
|
|
|
kdetoys = linux;
|
|
|
|
kdeutils = linux;
|
|
|
|
kdesdk = linux;
|
|
|
|
kdewebdev = linux;
|
2009-09-10 14:58:19 -07:00
|
|
|
krusader = linux;
|
|
|
|
kmplayer = linux;
|
|
|
|
ktorrent = linux;
|
|
|
|
koffice = linux;
|
2009-10-10 05:51:51 -07:00
|
|
|
konversation = linux;
|
2009-09-10 14:58:19 -07:00
|
|
|
kdesvn = linux;
|
2009-09-11 05:32:43 -07:00
|
|
|
amarok = linux;
|
2009-10-13 10:55:48 -07:00
|
|
|
l10n.ca = linux;
|
|
|
|
l10n.de = linux;
|
|
|
|
l10n.fr = linux;
|
|
|
|
l10n.nl = linux;
|
|
|
|
l10n.ru = linux;
|
2009-09-10 13:06:57 -07:00
|
|
|
};
|
|
|
|
|
2010-01-17 14:09:16 -08:00
|
|
|
linuxPackages_2_6_25 = {
|
2009-04-15 03:12:51 -07:00
|
|
|
aufs = linux;
|
2009-04-14 06:52:27 -07:00
|
|
|
kernel = linux;
|
2009-03-10 01:01:35 -07:00
|
|
|
};
|
2009-03-10 02:05:43 -07:00
|
|
|
|
2010-01-17 14:09:16 -08:00
|
|
|
linuxPackages_2_6_27 = {
|
2009-04-15 03:12:51 -07:00
|
|
|
aufs = linux;
|
2009-03-10 08:23:27 -07:00
|
|
|
kernel = linux;
|
2009-04-14 06:52:27 -07:00
|
|
|
virtualbox = linux;
|
2009-10-15 02:11:25 -07:00
|
|
|
virtualboxGuestAdditions = linux;
|
2009-03-10 02:05:43 -07:00
|
|
|
};
|
|
|
|
|
2010-01-17 14:09:16 -08:00
|
|
|
linuxPackages_2_6_28 = {
|
2009-03-10 08:23:27 -07:00
|
|
|
aufs = linux;
|
|
|
|
kernel = linux;
|
2009-04-14 06:52:27 -07:00
|
|
|
virtualbox = linux;
|
2009-10-15 02:11:25 -07:00
|
|
|
virtualboxGuestAdditions = linux;
|
2009-03-10 02:05:43 -07:00
|
|
|
};
|
2009-04-02 06:43:15 -07:00
|
|
|
|
2010-01-17 14:09:16 -08:00
|
|
|
linuxPackages_2_6_29 = {
|
2009-06-06 16:09:38 -07:00
|
|
|
aufs = linux;
|
|
|
|
kernel = linux;
|
|
|
|
virtualbox = linux;
|
2009-10-15 02:11:25 -07:00
|
|
|
virtualboxGuestAdditions = linux;
|
2009-06-06 16:09:38 -07:00
|
|
|
};
|
|
|
|
|
2010-01-17 14:09:16 -08:00
|
|
|
linuxPackages_2_6_31 = {
|
2009-09-12 00:13:58 -07:00
|
|
|
kernel = linux;
|
|
|
|
};
|
|
|
|
|
2010-01-17 14:09:16 -08:00
|
|
|
linuxPackages_2_6_31_zen = {
|
2009-11-06 03:24:49 -08:00
|
|
|
kernel = linux;
|
|
|
|
};
|
|
|
|
|
2010-01-17 14:09:16 -08:00
|
|
|
linuxPackages_2_6_31_zen_bfs = {
|
2009-11-06 03:24:49 -08:00
|
|
|
kernel = linux;
|
|
|
|
};
|
|
|
|
|
2010-01-17 14:09:16 -08:00
|
|
|
linuxPackages_2_6_32 = {
|
2009-12-18 02:13:57 -08:00
|
|
|
aufs = linux;
|
|
|
|
kernel = linux;
|
|
|
|
virtualbox = linux;
|
|
|
|
virtualboxGuestAdditions = linux;
|
|
|
|
};
|
|
|
|
|
2009-04-02 06:43:15 -07:00
|
|
|
strategoPackages = {
|
2009-11-09 01:57:59 -08:00
|
|
|
sdf = all;
|
|
|
|
strategoxt = all;
|
|
|
|
javafront = all;
|
2009-12-07 06:26:24 -08:00
|
|
|
strategoShell = linux ++ darwin;
|
2009-11-09 01:57:59 -08:00
|
|
|
dryad = linux;
|
|
|
|
};
|
|
|
|
|
|
|
|
strategoPackages018 = {
|
2009-11-09 01:56:06 -08:00
|
|
|
sdfStatic = all;
|
2009-04-02 06:43:15 -07:00
|
|
|
sdf = all;
|
|
|
|
strategoxt = all;
|
|
|
|
javafront = all;
|
2009-12-07 06:56:48 -08:00
|
|
|
aspectjfront = all;
|
|
|
|
strategoShell = all;
|
2009-04-09 02:48:14 -07:00
|
|
|
dryad = linux;
|
2009-04-02 06:43:15 -07:00
|
|
|
};
|
2009-04-23 04:59:43 -07:00
|
|
|
|
2009-04-20 05:08:09 -07:00
|
|
|
perlPackages = {
|
2009-04-20 05:49:35 -07:00
|
|
|
TaskCatalystTutorial = linux;
|
2009-04-20 05:08:09 -07:00
|
|
|
};
|
2009-06-28 06:35:16 -07:00
|
|
|
|
|
|
|
pythonPackages = {
|
|
|
|
zfec = linux;
|
|
|
|
};
|
2009-03-09 10:49:13 -07:00
|
|
|
|
2009-03-10 08:23:27 -07:00
|
|
|
xorg = {
|
2009-03-24 11:32:30 -07:00
|
|
|
fontadobe100dpi = linux;
|
|
|
|
fontadobe75dpi = linux;
|
|
|
|
fontbh100dpi = linux;
|
|
|
|
fontbhlucidatypewriter100dpi = linux;
|
|
|
|
fontbhlucidatypewriter75dpi = linux;
|
|
|
|
fontbhttf = linux;
|
|
|
|
fontcursormisc = linux;
|
|
|
|
fontmiscmisc = linux;
|
|
|
|
iceauth = linux;
|
2009-03-10 08:23:27 -07:00
|
|
|
libX11 = linux;
|
2009-04-02 07:00:08 -07:00
|
|
|
lndir = all;
|
2009-03-24 11:32:30 -07:00
|
|
|
setxkbmap = linux;
|
|
|
|
xauth = linux;
|
2009-05-06 21:26:35 -07:00
|
|
|
xev = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
xf86inputkeyboard = linux;
|
|
|
|
xf86inputmouse = linux;
|
2009-04-28 13:23:17 -07:00
|
|
|
xf86inputevdev = linux;
|
2009-08-12 22:38:33 -07:00
|
|
|
xf86inputsynaptics = linux;
|
|
|
|
xf86videoati = linux;
|
2009-04-09 02:48:14 -07:00
|
|
|
xf86videointel = linux;
|
2009-08-12 22:38:33 -07:00
|
|
|
xf86videonv = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
xf86videovesa = linux;
|
2009-05-05 12:09:33 -07:00
|
|
|
xfs = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
xkbcomp = linux;
|
2009-04-23 08:01:53 -07:00
|
|
|
xmessage = linux;
|
2009-03-16 03:19:38 -07:00
|
|
|
xorgserver = linux;
|
2009-03-24 11:32:30 -07:00
|
|
|
xrandr = linux;
|
|
|
|
xrdb = linux;
|
|
|
|
xset = linux;
|
2009-03-10 08:23:27 -07:00
|
|
|
};
|
|
|
|
|
2010-01-22 10:51:18 -08:00
|
|
|
} )) // (
|
|
|
|
/* Test some cross builds to the Sheevaplug */
|
|
|
|
let
|
|
|
|
crossSystem = {
|
|
|
|
config = "armv5tel-unknown-linux-gnueabi";
|
|
|
|
bigEndian = false;
|
|
|
|
arch = "arm";
|
|
|
|
float = "soft";
|
|
|
|
};
|
2010-01-22 16:29:38 -08:00
|
|
|
nativePlatforms = all;
|
2010-01-22 10:51:18 -08:00
|
|
|
in {
|
|
|
|
crossArmLinux = mapTestOnCross crossSystem (rec {
|
|
|
|
bison = nativePlatforms;
|
|
|
|
uboot = nativePlatforms;
|
|
|
|
uclibc = nativePlatforms;
|
|
|
|
xorg = {
|
|
|
|
fontadobe100dpi = nativePlatforms;
|
|
|
|
fontadobe75dpi = nativePlatforms;
|
|
|
|
fontbh100dpi = nativePlatforms;
|
|
|
|
fontbhlucidatypewriter100dpi = nativePlatforms;
|
|
|
|
fontbhlucidatypewriter75dpi = nativePlatforms;
|
|
|
|
fontbhttf = nativePlatforms;
|
|
|
|
fontcursormisc = nativePlatforms;
|
|
|
|
fontmiscmisc = nativePlatforms;
|
|
|
|
iceauth = nativePlatforms;
|
|
|
|
libX11 = nativePlatforms;
|
|
|
|
lndir = all;
|
|
|
|
setxkbmap = nativePlatforms;
|
|
|
|
xauth = nativePlatforms;
|
|
|
|
xev = nativePlatforms;
|
|
|
|
xf86inputkeyboard = nativePlatforms;
|
|
|
|
xf86inputmouse = nativePlatforms;
|
|
|
|
xf86inputevdev = nativePlatforms;
|
|
|
|
xf86inputsynaptics = nativePlatforms;
|
|
|
|
xf86videoati = nativePlatforms;
|
|
|
|
xf86videointel = nativePlatforms;
|
|
|
|
xf86videonv = nativePlatforms;
|
|
|
|
xf86videovesa = nativePlatforms;
|
|
|
|
xfs = nativePlatforms;
|
|
|
|
xkbcomp = nativePlatforms;
|
|
|
|
xmessage = nativePlatforms;
|
|
|
|
xorgserver = nativePlatforms;
|
|
|
|
xrandr = nativePlatforms;
|
|
|
|
xrdb = nativePlatforms;
|
|
|
|
xset = nativePlatforms;
|
|
|
|
};
|
|
|
|
gtkLibs = {
|
|
|
|
gtk = nativePlatforms;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
})
|