diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-03-26 14:00:31 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-03-26 14:00:31 +0100 |
commit | f235cc2884e282cf1cfb49d9b2ce1f493c850c50 (patch) | |
tree | 7a6f9e3bc047993b165d40a5faa38321f0ea7da0 /release-combined.nix | |
parent | 1b0acab1e50048d431644a68ee5c66aaac47d810 (diff) | |
download | nixpkgs-f235cc2884e282cf1cfb49d9b2ce1f493c850c50.tar nixpkgs-f235cc2884e282cf1cfb49d9b2ce1f493c850c50.tar.gz nixpkgs-f235cc2884e282cf1cfb49d9b2ce1f493c850c50.tar.bz2 nixpkgs-f235cc2884e282cf1cfb49d9b2ce1f493c850c50.tar.lz nixpkgs-f235cc2884e282cf1cfb49d9b2ce1f493c850c50.tar.xz nixpkgs-f235cc2884e282cf1cfb49d9b2ce1f493c850c50.tar.zst nixpkgs-f235cc2884e282cf1cfb49d9b2ce1f493c850c50.zip |
Add an aggregated to replace the "tested" NixOS view
Also get rid of the "system" jobset input.
Diffstat (limited to 'release-combined.nix')
-rw-r--r-- | release-combined.nix | 58 |
1 files changed, 48 insertions, 10 deletions
diff --git a/release-combined.nix b/release-combined.nix index 004dd1b250a..b26a2184ddb 100644 --- a/release-combined.nix +++ b/release-combined.nix @@ -1,11 +1,49 @@ -{ nixpkgs, officialRelease }: - -{ - nixos = import ./release.nix; - nixpkgs = - import <nixpkgs/pkgs/top-level/release.nix> { - inherit nixpkgs officialRelease; - # Only do Linux builds. - supportedSystems = [ "x86_64-linux" "i686-linux" ]; - }; +{ nixosSrc ? { outPath = ./.; revCount = 1234; shortRev = "abcdefg"; } +, nixpkgsSrc ? { outPath = <nixpkgs>; revCount = 5678; shortRev = "gfedcba"; } +, officialRelease ? false +}: + +rec { + + nixos = import ./release.nix { + inherit nixosSrc nixpkgsSrc officialRelease; + }; + + nixpkgs = import <nixpkgs/pkgs/top-level/release.nix> { + inherit officialRelease; + nixpkgs = nixpkgsSrc; + # Only do Linux builds. + supportedSystems = [ "x86_64-linux" "i686-linux" ]; + }; + + tested = (import <nixpkgs> { }).releaseTools.aggregate { + name = "nixos-${nixos.tarball.version}"; + meta.description = "Release-critical builds for the NixOS unstable channel"; + members = + [ nixos.channel + nixos.manual + + nixos.iso_minimal.x86_64-linux + nixos.iso_minimal.i686-linux + nixos.iso_graphical.x86_64-linux + nixos.iso_graphical.i686-linux + + nixos.tests.firefox.x86_64-linux + nixos.tests.firewall.x86_64-linux + nixos.tests.installer.lvm.x86_64-linux + nixos.tests.installer.separateBoot.x86_64-linux + nixos.tests.installer.simple.i686-linux + nixos.tests.installer.simple.x86_64-linux + nixos.tests.kde4.i686-linux + nixos.tests.login.i686-linux + nixos.tests.login.x86_64-linux + nixos.tests.misc.i686-linux + nixos.tests.misc.x86_64-linux + + nixpkgs.tarball + nixpkgs.emacs.i686-linux + nixpkgs.emacs.x86_64-linux + ]; + }; + } |