summaryrefslogtreecommitdiffstats
path: root/pkgs/top-level/release-staging.nix
blob: a789bb29e0155da033784326a2b5d0a4c4cd2c7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This file defines the builds that are run for the `staging` branch.
#
# This should be kept minimal to avoid unnecessary load on Hydra; the
# point is not to duplicate `staging-next`, but to catch basic issues
# early and make bisection less painful.

{
  nixpkgs ? {
    outPath = (import ../../lib).cleanSource ../..;
    revCount = 1234;
    shortRev = "abcdef";
    revision = "0000000000000000000000000000000000000000";
  },
  # The platform doubles for which we build Nixpkgs.
  supportedSystems ? builtins.fromJSON (builtins.readFile ./release-supported-systems.json),
  # Attributes passed to nixpkgs. Don't build packages marked as unfree.
  nixpkgsArgs ? {
    config = {
      allowUnfree = false;
      inHydra = true;
    };
    __allowFileset = false;
  },
}:

let
  release-lib = import ./release-lib.nix {
    inherit supportedSystems nixpkgsArgs;
  };

  inherit (release-lib)
    all
    mapTestOn
    ;
in
mapTestOn {
  stdenv = all;
}