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