2024-06-05 02:04:40 +00:00
|
|
|
{
|
|
|
|
description = "A set of foundational packages required for bootstrapping a larger package set.";
|
|
|
|
|
|
|
|
inputs = {
|
2024-06-11 11:39:26 +00:00
|
|
|
# TODO: When this project is moved to its own repository we will want to add
|
|
|
|
# inputs for the relevant dependencies.
|
|
|
|
# lib = {
|
|
|
|
# url = "path:../lib";
|
|
|
|
# };
|
2024-06-05 02:04:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = inputs: let
|
2024-06-11 11:39:26 +00:00
|
|
|
# inherit (inputs.lib) lib;
|
|
|
|
lib = import ./../lib;
|
2024-06-05 02:04:40 +00:00
|
|
|
|
|
|
|
modules = import ./src;
|
|
|
|
|
|
|
|
forEachSystem = lib.attrs.generate [
|
2024-06-07 05:49:52 +00:00
|
|
|
"i686-linux"
|
2024-06-05 02:04:40 +00:00
|
|
|
];
|
|
|
|
in {
|
2024-06-05 22:16:52 +00:00
|
|
|
extras = let
|
|
|
|
result = lib.modules.run {
|
|
|
|
modules =
|
|
|
|
builtins.attrValues modules;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
result.config.exports.resolved.extras;
|
|
|
|
|
2024-06-05 02:04:40 +00:00
|
|
|
packages = forEachSystem (
|
|
|
|
system: let
|
|
|
|
result = lib.modules.run {
|
|
|
|
modules =
|
|
|
|
(builtins.attrValues modules)
|
|
|
|
++ [
|
|
|
|
{config.aux.system = system;}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
in
|
|
|
|
result.config.exports.resolved.packages
|
|
|
|
);
|
|
|
|
};
|
|
|
|
}
|