2023-04-20 05:26:33 +00:00
|
|
|
{ lib
|
2023-05-02 17:52:13 +00:00
|
|
|
, config
|
|
|
|
, buildPlatform
|
|
|
|
, hostPlatform
|
2023-04-20 05:26:33 +00:00
|
|
|
}:
|
|
|
|
|
2023-05-02 17:52:13 +00:00
|
|
|
lib.makeScope
|
|
|
|
# Prevent using top-level attrs to protect against introducing dependency on
|
|
|
|
# non-bootstrap packages by mistake. Any top-level inputs must be explicitly
|
|
|
|
# declared here.
|
|
|
|
(extra: lib.callPackageWith ({ inherit lib config buildPlatform hostPlatform; } // extra))
|
|
|
|
(self: with self; {
|
2023-04-20 05:26:33 +00:00
|
|
|
|
2023-05-10 06:24:46 +00:00
|
|
|
gnupatch = callPackage ./gnupatch { tinycc = tinycc-mes; };
|
|
|
|
|
|
|
|
gnumake = callPackage ./gnumake { tinycc = tinycc-mes; };
|
|
|
|
|
|
|
|
ln-boot = callPackage ./ln-boot { };
|
2023-04-24 01:38:32 +00:00
|
|
|
|
2023-05-02 17:52:13 +00:00
|
|
|
mes = callPackage ./mes { };
|
2023-05-03 04:31:40 +00:00
|
|
|
mes-libc = callPackage ./mes/libc.nix { };
|
2023-04-24 04:35:22 +00:00
|
|
|
|
2023-05-10 06:24:46 +00:00
|
|
|
inherit (callPackage ./stage0-posix { }) kaem m2libc mescc-tools mescc-tools-extra;
|
2023-05-01 02:05:30 +00:00
|
|
|
|
2023-05-02 17:52:13 +00:00
|
|
|
tinycc-bootstrappable = callPackage ./tinycc/bootstrappable.nix { };
|
|
|
|
tinycc-mes = callPackage ./tinycc/mes.nix { };
|
2023-05-10 05:46:59 +00:00
|
|
|
|
2023-05-11 15:05:30 +00:00
|
|
|
inherit (callPackage ./utils.nix { }) fetchurl derivationWithMeta writeTextFile writeText;
|
2023-05-10 06:23:28 +00:00
|
|
|
|
2023-05-02 17:52:13 +00:00
|
|
|
})
|