1# This file defines the builds that are run for the `staging` branch.
2#
3# This should be kept minimal to avoid unnecessary load on Hydra; the
4# point is not to duplicate `staging-next`, but to catch basic issues
5# early and make bisection less painful.
6
7{
8 nixpkgs ? {
9 outPath = (import ../../lib).cleanSource ../..;
10 revCount = 1234;
11 shortRev = "abcdef";
12 revision = "0000000000000000000000000000000000000000";
13 },
14 # The platform doubles for which we build Nixpkgs.
15 supportedSystems ? [
16 "x86_64-linux"
17 "x86_64-darwin"
18 "aarch64-linux"
19 "aarch64-darwin"
20 ],
21 # Attributes passed to nixpkgs. Don't build packages marked as unfree.
22 nixpkgsArgs ? {
23 config = {
24 allowUnfree = false;
25 inHydra = true;
26 };
27 __allowFileset = false;
28 },
29}:
30
31let
32 release-lib = import ./release-lib.nix {
33 inherit supportedSystems nixpkgsArgs;
34 };
35
36 inherit (release-lib)
37 all
38 mapTestOn
39 ;
40in
41mapTestOn {
42 stdenv = all;
43}