2014-09-24 16:22:27 -06:00
|
|
|
# This jobset is used to generate a NixOS channel that contains a
|
|
|
|
# small subset of Nixpkgs, mostly useful for servers that need fast
|
|
|
|
# security updates.
|
|
|
|
|
|
|
|
{ nixpkgs ? { outPath = ./..; revCount = 56789; shortRev = "gfedcba"; }
|
|
|
|
, stableBranch ? false
|
|
|
|
, supportedSystems ? [ "x86_64-linux" ] # no i686-linux
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
nixpkgsSrc = nixpkgs; # urgh
|
|
|
|
|
|
|
|
pkgs = import ./.. {};
|
|
|
|
|
|
|
|
lib = pkgs.lib;
|
|
|
|
|
|
|
|
nixos' = import ./release.nix {
|
|
|
|
inherit stableBranch supportedSystems;
|
|
|
|
nixpkgs = nixpkgsSrc;
|
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs' = builtins.removeAttrs (import ../pkgs/top-level/release.nix {
|
|
|
|
inherit supportedSystems;
|
|
|
|
nixpkgs = nixpkgsSrc;
|
|
|
|
}) [ "unstable" ];
|
|
|
|
|
|
|
|
in rec {
|
|
|
|
|
|
|
|
nixos = {
|
|
|
|
inherit (nixos') channel manual iso_minimal dummy;
|
|
|
|
tests = {
|
|
|
|
inherit (nixos'.tests)
|
|
|
|
containers
|
|
|
|
firewall
|
|
|
|
ipv6
|
|
|
|
login
|
|
|
|
misc
|
|
|
|
nat
|
|
|
|
nfs3
|
|
|
|
openssh
|
|
|
|
proxy
|
|
|
|
simple;
|
|
|
|
installer = {
|
|
|
|
inherit (nixos'.tests.installer)
|
|
|
|
grub1
|
|
|
|
lvm
|
|
|
|
separateBoot
|
|
|
|
simple;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs = {
|
|
|
|
inherit (nixpkgs')
|
|
|
|
apacheHttpd_2_2
|
|
|
|
apacheHttpd_2_4
|
2014-09-25 09:52:25 -06:00
|
|
|
cmake
|
|
|
|
cryptsetup
|
2014-09-24 16:22:27 -06:00
|
|
|
emacs
|
2014-09-25 09:52:25 -06:00
|
|
|
gettext
|
|
|
|
git
|
|
|
|
imagemagick
|
|
|
|
linux
|
2014-09-24 16:22:27 -06:00
|
|
|
mysql51
|
|
|
|
mysql55
|
|
|
|
nginx
|
2014-09-25 04:50:08 -06:00
|
|
|
nodejs
|
2014-10-20 00:39:58 -06:00
|
|
|
openjdk
|
2014-09-24 16:22:27 -06:00
|
|
|
openssh
|
|
|
|
php
|
|
|
|
postgresql92
|
|
|
|
postgresql93
|
|
|
|
python
|
|
|
|
rsyslog
|
|
|
|
stdenv
|
2014-09-25 09:52:25 -06:00
|
|
|
subversion
|
2014-09-24 16:22:27 -06:00
|
|
|
tarball
|
|
|
|
vim;
|
|
|
|
};
|
|
|
|
|
|
|
|
tested = pkgs.releaseTools.aggregate {
|
|
|
|
name = "nixos-${nixos.channel.version}";
|
|
|
|
meta = {
|
|
|
|
description = "Release-critical builds for the NixOS channel";
|
|
|
|
maintainers = [ lib.maintainers.eelco ];
|
|
|
|
};
|
|
|
|
constituents =
|
|
|
|
let all = x: map (system: x.${system}) supportedSystems; in
|
|
|
|
[ nixpkgs.tarball ] ++ lib.collect lib.isDerivation nixos;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|