nixpkgs/pkgs/os-specific/linux/minimal-bootstrap/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
923 B
Nix
Raw Normal View History

{ lib
, config
, buildPlatform
, hostPlatform
}:
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-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
mes = callPackage ./mes { };
mes-libc = callPackage ./mes/libc.nix { };
2023-05-10 06:24:46 +00:00
inherit (callPackage ./stage0-posix { }) kaem m2libc mescc-tools mescc-tools-extra;
tinycc-bootstrappable = callPackage ./tinycc/bootstrappable.nix { };
tinycc-mes = callPackage ./tinycc/mes.nix { };
inherit (callPackage ./utils.nix { }) fetchurl derivationWithMeta writeTextFile writeText;
})