2013-03-26 10:02:29 +00:00
|
|
|
/* This file defines the builds that constitute the Nixpkgs.
|
|
|
|
Everything defined here ends up in the Nixpkgs channel. Individual
|
|
|
|
jobs can be tested by running:
|
|
|
|
|
|
|
|
$ nix-build pkgs/top-level/release.nix -A <jobname>.<system>
|
|
|
|
|
|
|
|
e.g.
|
|
|
|
|
|
|
|
$ nix-build pkgs/top-level/release.nix -A coreutils.x86_64-linux
|
2010-04-19 14:21:52 +00:00
|
|
|
*/
|
2013-03-26 10:02:29 +00:00
|
|
|
|
2016-03-13 18:24:55 +00:00
|
|
|
{ nixpkgs ? { outPath = (import ./../.. {}).lib.cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
|
2013-03-26 10:57:44 +00:00
|
|
|
, officialRelease ? false
|
2013-03-26 12:12:25 +00:00
|
|
|
, # The platforms for which we build Nixpkgs.
|
2015-02-25 18:27:23 +00:00
|
|
|
supportedSystems ? [ "x86_64-linux" "i686-linux" "x86_64-darwin" ]
|
2015-12-16 12:59:02 +00:00
|
|
|
, scrubJobs ? true
|
2013-03-26 10:57:44 +00:00
|
|
|
}:
|
|
|
|
|
2015-12-16 12:59:02 +00:00
|
|
|
with import ./release-lib.nix { inherit supportedSystems scrubJobs; };
|
2008-11-28 10:56:36 +00:00
|
|
|
|
2013-03-26 10:57:44 +00:00
|
|
|
let
|
|
|
|
|
2015-10-23 11:04:10 +00:00
|
|
|
lib = pkgs.lib;
|
|
|
|
|
2013-03-26 10:57:44 +00:00
|
|
|
jobs =
|
2015-10-23 11:04:10 +00:00
|
|
|
{ tarball = import ./make-tarball.nix { inherit pkgs nixpkgs officialRelease; };
|
2013-03-26 10:57:44 +00:00
|
|
|
|
2016-03-24 16:36:26 +00:00
|
|
|
metrics = import ./metrics.nix { inherit pkgs nixpkgs; };
|
|
|
|
|
2014-08-24 09:02:23 +00:00
|
|
|
manual = import ../../doc;
|
2015-04-29 09:27:30 +00:00
|
|
|
lib-tests = import ../../lib/tests/release.nix { inherit nixpkgs; };
|
2014-08-24 09:02:23 +00:00
|
|
|
|
2013-03-26 10:57:44 +00:00
|
|
|
unstable = pkgs.releaseTools.aggregate
|
|
|
|
{ name = "nixpkgs-${jobs.tarball.version}";
|
|
|
|
meta.description = "Release-critical builds for the Nixpkgs unstable channel";
|
2013-08-15 00:29:08 +00:00
|
|
|
constituents =
|
2013-03-26 10:57:44 +00:00
|
|
|
[ jobs.tarball
|
2016-03-24 16:38:58 +00:00
|
|
|
jobs.metrics
|
2014-08-24 16:53:29 +00:00
|
|
|
jobs.manual
|
2015-04-29 09:27:30 +00:00
|
|
|
jobs.lib-tests
|
2013-03-26 10:57:44 +00:00
|
|
|
jobs.stdenv.x86_64-linux
|
|
|
|
jobs.stdenv.i686-linux
|
2015-01-06 10:55:22 +00:00
|
|
|
jobs.stdenv.x86_64-darwin
|
2013-03-26 10:57:44 +00:00
|
|
|
jobs.linux.x86_64-linux
|
|
|
|
jobs.linux.i686-linux
|
2016-01-21 19:06:57 +00:00
|
|
|
jobs.python.x86_64-linux
|
|
|
|
jobs.python.i686-linux
|
|
|
|
jobs.python.x86_64-darwin
|
|
|
|
jobs.python3.x86_64-linux
|
|
|
|
jobs.python3.i686-linux
|
|
|
|
jobs.python3.x86_64-darwin
|
2013-03-26 10:57:44 +00:00
|
|
|
# Ensure that X11/GTK+ are in order.
|
|
|
|
jobs.thunderbird.x86_64-linux
|
|
|
|
jobs.thunderbird.i686-linux
|
2016-01-06 12:25:05 +00:00
|
|
|
# Ensure that basic stuff works on darwin
|
|
|
|
jobs.git.x86_64-darwin
|
|
|
|
jobs.mysql.x86_64-darwin
|
|
|
|
jobs.vim.x86_64-darwin
|
2015-10-23 11:04:10 +00:00
|
|
|
] ++ lib.collect lib.isDerivation jobs.stdenvBootstrapTools;
|
2013-03-26 10:57:44 +00:00
|
|
|
};
|
2008-11-30 18:36:23 +00:00
|
|
|
|
2015-10-23 11:04:10 +00:00
|
|
|
stdenvBootstrapTools.i686-linux =
|
|
|
|
{ inherit (import ../stdenv/linux/make-bootstrap-tools.nix { system = "i686-linux"; }) dist test; };
|
|
|
|
|
|
|
|
stdenvBootstrapTools.x86_64-linux =
|
|
|
|
{ inherit (import ../stdenv/linux/make-bootstrap-tools.nix { system = "x86_64-linux"; }) dist test; };
|
|
|
|
|
|
|
|
stdenvBootstrapTools.x86_64-darwin =
|
2016-01-06 12:25:05 +00:00
|
|
|
let
|
|
|
|
bootstrap = import ../stdenv/darwin/make-bootstrap-tools.nix { system = "x86_64-darwin"; };
|
|
|
|
in {
|
|
|
|
# Lightweight distribution and test
|
|
|
|
inherit (bootstrap) dist test;
|
|
|
|
# Test a full stdenv bootstrap from the bootstrap tools definition
|
|
|
|
inherit (bootstrap.test-pkgs) stdenv;
|
|
|
|
};
|
2015-10-23 11:04:10 +00:00
|
|
|
|
2015-03-20 17:16:43 +00:00
|
|
|
} // (mapTestOn ((packagePlatforms pkgs) // rec {
|
2008-11-30 18:36:23 +00:00
|
|
|
|
2016-01-06 12:25:05 +00:00
|
|
|
# TODO: most (but possibly not all) of the jobs specified here are unnecessary now that we have release-lib.nix
|
|
|
|
# traversing all packages and looking at their meta.platform attributes. Someone who's better at this than I am
|
|
|
|
# should go through these and kill the ones that are safe to kill.
|
|
|
|
#
|
|
|
|
# <niksnut> note that all that " = linux" stuff in release.nix is legacy, from before we had meta.platforms
|
|
|
|
# <copumpkin> niksnut: so should I just kill all the obsolete jobs in release.nix?
|
|
|
|
# <niksnut> I don't know if they're all covered
|
2013-03-26 10:57:44 +00:00
|
|
|
abcde = linux;
|
|
|
|
aspell = all;
|
2013-06-02 07:41:32 +00:00
|
|
|
atlas = linux;
|
2013-03-26 10:57:44 +00:00
|
|
|
bazaar = linux; # first let sqlite3 work on darwin
|
|
|
|
binutils = linux;
|
|
|
|
bind = linux;
|
|
|
|
bvi = all;
|
|
|
|
cdrkit = linux;
|
|
|
|
classpath = linux;
|
|
|
|
ddrescue = linux;
|
|
|
|
dhcp = linux;
|
|
|
|
dico = linux;
|
|
|
|
diffutils = all;
|
|
|
|
disnix = all;
|
|
|
|
disnixos = linux;
|
|
|
|
DisnixWebService = linux;
|
|
|
|
docbook5 = all;
|
|
|
|
docbook5_xsl = all;
|
|
|
|
docbook_xml_dtd_42 = all;
|
|
|
|
docbook_xml_dtd_43 = all;
|
|
|
|
docbook_xsl = all;
|
|
|
|
dosbox = linux;
|
|
|
|
dovecot = linux;
|
|
|
|
doxygen = linux;
|
|
|
|
drgeo = linux;
|
|
|
|
ejabberd = linux;
|
|
|
|
elinks = linux;
|
|
|
|
eprover = linux;
|
|
|
|
expect = linux;
|
|
|
|
exult = linux;
|
|
|
|
flex = all;
|
|
|
|
fontforge = linux;
|
|
|
|
gajim = linux;
|
|
|
|
gawk = all;
|
|
|
|
gcc = linux;
|
2013-10-30 21:04:34 +00:00
|
|
|
gcj = linux;
|
2013-03-26 10:57:44 +00:00
|
|
|
ghostscript = linux;
|
|
|
|
ghostscriptX = linux;
|
|
|
|
glibc = linux;
|
|
|
|
glibcLocales = linux;
|
|
|
|
glxinfo = linux;
|
|
|
|
gnum4 = all;
|
|
|
|
gnupg = linux;
|
2014-08-09 10:28:16 +00:00
|
|
|
gnuplot = allBut cygwin;
|
2013-03-26 10:57:44 +00:00
|
|
|
gnutls = linux;
|
|
|
|
gogoclient = linux;
|
|
|
|
gphoto2 = linux;
|
|
|
|
gpscorrelate = linux;
|
|
|
|
gqview = gtkSupported;
|
|
|
|
gsl = linux;
|
|
|
|
guile = linux; # tests fail on Cygwin
|
2014-12-06 15:23:30 +00:00
|
|
|
html-tidy = all;
|
2013-03-26 10:57:44 +00:00
|
|
|
icewm = linux;
|
|
|
|
inkscape = linux;
|
|
|
|
irssi = linux;
|
|
|
|
jnettop = linux;
|
|
|
|
keen4 = ["i686-linux"];
|
|
|
|
lftp = all;
|
|
|
|
libarchive = linux;
|
|
|
|
libtool = all;
|
|
|
|
libtool_2 = all;
|
|
|
|
lout = linux;
|
|
|
|
lsof = linux;
|
|
|
|
ltrace = linux;
|
|
|
|
lynx = linux;
|
|
|
|
lzma = linux;
|
|
|
|
man = linux;
|
2015-12-06 02:22:42 +00:00
|
|
|
man-pages = linux;
|
2013-03-26 10:57:44 +00:00
|
|
|
maxima = linux;
|
|
|
|
mc = linux;
|
|
|
|
mcabber = linux;
|
|
|
|
mcron = linux;
|
|
|
|
mdadm = linux;
|
2013-05-15 11:11:24 +00:00
|
|
|
mercurial = unix;
|
|
|
|
mercurialFull = linux;
|
2013-03-26 10:57:44 +00:00
|
|
|
mesa = mesaPlatforms;
|
|
|
|
mk = linux;
|
|
|
|
mktemp = all;
|
|
|
|
mod_python = linux;
|
|
|
|
mupen64plus = linux;
|
|
|
|
mutt = linux;
|
2014-08-09 10:28:16 +00:00
|
|
|
nano = allBut cygwin;
|
2013-03-26 10:57:44 +00:00
|
|
|
netcat = all;
|
|
|
|
nss_ldap = linux;
|
|
|
|
nssmdns = linux;
|
|
|
|
ocaml = linux;
|
|
|
|
pciutils = linux;
|
|
|
|
pdf2xml = all;
|
|
|
|
php = linux;
|
|
|
|
pltScheme = linux;
|
|
|
|
pmccabe = linux;
|
|
|
|
ppl = all;
|
|
|
|
procps = linux;
|
|
|
|
pygtk = linux;
|
2014-08-09 10:28:16 +00:00
|
|
|
python = allBut cygwin;
|
2013-03-26 10:57:44 +00:00
|
|
|
pythonFull = linux;
|
|
|
|
sbcl = linux;
|
|
|
|
qt3 = linux;
|
2016-04-15 22:22:41 +00:00
|
|
|
qt4_clang = ["i686-linux"];
|
2013-03-26 10:57:44 +00:00
|
|
|
quake3demo = linux;
|
|
|
|
reiserfsprogs = linux;
|
2014-08-09 10:28:16 +00:00
|
|
|
rubber = allBut cygwin;
|
2013-03-26 10:57:44 +00:00
|
|
|
rxvt_unicode = linux;
|
|
|
|
scrot = linux;
|
|
|
|
sdparm = linux;
|
|
|
|
seccure = linux;
|
|
|
|
sgtpuzzles = linux;
|
2014-08-09 10:28:16 +00:00
|
|
|
sloccount = allBut cygwin;
|
2013-03-26 10:57:44 +00:00
|
|
|
spidermonkey = linux;
|
|
|
|
squid = linux;
|
|
|
|
ssmtp = linux;
|
2015-01-06 10:37:40 +00:00
|
|
|
stdenv = all;
|
2013-03-26 10:57:44 +00:00
|
|
|
stlport = linux;
|
|
|
|
superTuxKart = linux;
|
|
|
|
swig = linux;
|
|
|
|
tahoelafs = linux;
|
|
|
|
tangogps = linux;
|
|
|
|
tcl = linux;
|
|
|
|
teeworlds = linux;
|
|
|
|
tightvnc = linux;
|
|
|
|
time = linux;
|
2013-04-01 10:50:15 +00:00
|
|
|
tinycc = linux;
|
2013-03-26 10:57:44 +00:00
|
|
|
uae = linux;
|
|
|
|
viking = linux;
|
|
|
|
vice = linux;
|
|
|
|
vimHugeX = linux;
|
|
|
|
vncrec = linux;
|
2016-01-25 23:53:13 +00:00
|
|
|
vorbis-tools = linux;
|
2013-03-26 10:57:44 +00:00
|
|
|
vsftpd = linux;
|
|
|
|
w3m = all;
|
|
|
|
weechat = linux;
|
|
|
|
wicd = linux;
|
|
|
|
wine = ["i686-linux"];
|
|
|
|
wirelesstools = linux;
|
|
|
|
wxGTK = linux;
|
|
|
|
x11_ssh_askpass = linux;
|
|
|
|
xchm = linux;
|
|
|
|
xfig = x11Supported;
|
|
|
|
xfsprogs = linux;
|
|
|
|
xineUI = linux;
|
|
|
|
xkeyboard_config = linux;
|
|
|
|
xlockmore = linux;
|
|
|
|
xpdf = linux;
|
|
|
|
xscreensaver = linux;
|
|
|
|
xsel = linux;
|
|
|
|
xterm = linux;
|
|
|
|
zdelta = linux;
|
|
|
|
zsh = linux;
|
|
|
|
zsnes = ["i686-linux"];
|
2009-03-09 17:49:13 +00:00
|
|
|
|
2016-02-10 12:50:31 +00:00
|
|
|
#emacs24PackagesNg = packagePlatforms pkgs.emacs24PackagesNg;
|
2016-01-13 17:05:45 +00:00
|
|
|
|
2013-03-26 10:57:44 +00:00
|
|
|
gnome = {
|
|
|
|
gnome_panel = linux;
|
|
|
|
metacity = linux;
|
|
|
|
gnome_vfs = linux;
|
|
|
|
};
|
2010-04-29 21:41:33 +00:00
|
|
|
|
2015-09-15 09:46:20 +00:00
|
|
|
haskell.compiler = packagePlatforms pkgs.haskell.compiler;
|
2015-05-29 09:25:26 +00:00
|
|
|
haskellPackages = packagePlatforms pkgs.haskellPackages;
|
2011-08-06 10:28:24 +00:00
|
|
|
|
2016-02-10 12:50:31 +00:00
|
|
|
#rPackages = packagePlatforms pkgs.rPackages;
|
2015-11-24 09:14:16 +00:00
|
|
|
|
2013-03-26 10:57:44 +00:00
|
|
|
strategoPackages = {
|
|
|
|
sdf = linux;
|
|
|
|
strategoxt = linux;
|
|
|
|
javafront = linux;
|
|
|
|
strategoShell = linux ++ darwin;
|
|
|
|
dryad = linux;
|
|
|
|
};
|
2011-03-09 08:50:50 +00:00
|
|
|
|
2016-02-10 12:50:31 +00:00
|
|
|
ocamlPackages = { };
|
|
|
|
|
|
|
|
perlPackages = { };
|
|
|
|
|
|
|
|
pythonPackages = { };
|
|
|
|
python2Packages = { };
|
|
|
|
python27Packages = { };
|
|
|
|
python3Packages = { };
|
|
|
|
python35Packages = { };
|
2009-11-09 09:57:59 +00:00
|
|
|
|
2013-03-26 10:57:44 +00:00
|
|
|
xorg = {
|
2014-08-13 00:40:57 +00:00
|
|
|
fontadobe100dpi = linux ++ darwin;
|
|
|
|
fontadobe75dpi = linux ++ darwin;
|
|
|
|
fontbh100dpi = linux ++ darwin;
|
|
|
|
fontbhlucidatypewriter100dpi = linux ++ darwin;
|
|
|
|
fontbhlucidatypewriter75dpi = linux ++ darwin;
|
|
|
|
fontbhttf = linux ++ darwin;
|
|
|
|
fontcursormisc = linux ++ darwin;
|
|
|
|
fontmiscmisc = linux ++ darwin;
|
|
|
|
iceauth = linux ++ darwin;
|
|
|
|
libX11 = linux ++ darwin;
|
|
|
|
lndir = all ++ darwin;
|
|
|
|
setxkbmap = linux ++ darwin;
|
|
|
|
xauth = linux ++ darwin;
|
|
|
|
xbitmaps = linux ++ darwin;
|
|
|
|
xev = linux ++ darwin;
|
2013-03-26 10:57:44 +00:00
|
|
|
xf86inputevdev = linux;
|
|
|
|
xf86inputkeyboard = linux;
|
|
|
|
xf86inputmouse = linux;
|
|
|
|
xf86inputsynaptics = linux;
|
|
|
|
xf86videoati = linux;
|
|
|
|
xf86videocirrus = linux;
|
|
|
|
xf86videointel = linux;
|
|
|
|
xf86videonv = linux;
|
|
|
|
xf86videovesa = linux;
|
2014-04-28 16:33:39 +00:00
|
|
|
xf86videovmware = linux;
|
2014-05-21 13:40:48 +00:00
|
|
|
xf86videomodesetting = linux;
|
2014-08-13 00:40:57 +00:00
|
|
|
xfs = linux ++ darwin;
|
|
|
|
xinput = linux ++ darwin;
|
|
|
|
xkbcomp = linux ++ darwin;
|
|
|
|
xlsclients = linux ++ darwin;
|
|
|
|
xmessage = linux ++ darwin;
|
|
|
|
xorgserver = linux ++ darwin;
|
|
|
|
xprop = linux ++ darwin;
|
|
|
|
xrandr = linux ++ darwin;
|
|
|
|
xrdb = linux ++ darwin;
|
|
|
|
xset = linux ++ darwin;
|
|
|
|
xsetroot = linux ++ darwin;
|
|
|
|
xwininfo = linux ++ darwin;
|
2013-03-26 10:57:44 +00:00
|
|
|
};
|
2010-04-29 21:41:33 +00:00
|
|
|
|
2013-03-26 10:57:44 +00:00
|
|
|
xfce = {
|
|
|
|
gtk_xfce_engine = linux;
|
|
|
|
mousepad = linux;
|
|
|
|
ristretto = linux;
|
|
|
|
terminal = linux;
|
|
|
|
thunar = linux;
|
|
|
|
xfce4_power_manager = linux;
|
|
|
|
xfce4icontheme = linux;
|
|
|
|
xfce4mixer = linux;
|
|
|
|
xfce4panel = linux;
|
|
|
|
xfce4session = linux;
|
|
|
|
xfce4settings = linux;
|
|
|
|
xfdesktop = linux;
|
|
|
|
xfwm4 = linux;
|
|
|
|
};
|
2009-03-10 15:23:27 +00:00
|
|
|
|
2014-08-30 21:20:57 +00:00
|
|
|
linuxPackages_testing = { };
|
|
|
|
linuxPackages_grsec_testing_desktop = { };
|
|
|
|
linuxPackages_grsec_testing_server = { };
|
|
|
|
linuxPackages_grsec_testing_server_xen = { };
|
|
|
|
|
2015-02-25 18:27:23 +00:00
|
|
|
} ));
|
2010-08-10 00:09:29 +00:00
|
|
|
|
2013-03-26 10:57:44 +00:00
|
|
|
in jobs
|