summaryrefslogtreecommitdiffstats
path: root/pkgs/stdenv/cygwin/make-bootstrap-tools-cross.nix
blob: c133be97d600c3a4f1e393b14bca100f0c768378 (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
{
  system ? builtins.currentSystem,
}:

let
  inherit (releaseLib) lib;
  releaseLib = import ../../top-level/release-lib.nix {
    # We're not using any functions from release-lib.nix that look at
    # supportedSystems.
    supportedSystems = [ ];
  };

  make =
    crossSystem:
    import ./make-bootstrap-tools.nix {
      pkgs = releaseLib.pkgsForCross crossSystem system;
    };
in
lib.mapAttrs (n: make) (
  with lib.systems.examples;
  {
    # NOTE: Only add platforms for which there are files in `./bootstrap-files`
    # or for which you plan to request the tarball upload soon. See the
    #   maintainers/scripts/bootstrap-files/README.md
    # on how to request an upload.
    # Sort following the sorting in `./default.nix` `bootstrapFiles` argument.

    x86_64-pc-cygwin = x86_64-cygwin;
  }
)