2024-06-11 11:39:26 +00:00
|
|
|
# This file handles creating all of the exports for this project and is not
|
|
|
|
# exported itself.
|
2024-06-22 17:58:44 +00:00
|
|
|
{
|
2024-06-24 17:51:25 +00:00
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
}: let
|
|
|
|
lib' = config.lib;
|
|
|
|
in {
|
2024-06-16 09:24:21 +00:00
|
|
|
freeform = lib.types.any;
|
|
|
|
|
2024-06-11 11:39:26 +00:00
|
|
|
config = {
|
|
|
|
exports = {
|
2024-06-13 05:00:03 +00:00
|
|
|
lib = config.lib;
|
2024-06-11 11:39:26 +00:00
|
|
|
modules = import ./modules.nix;
|
2024-06-14 14:01:18 +00:00
|
|
|
|
|
|
|
packages = {
|
2024-06-24 17:51:25 +00:00
|
|
|
aux-a = config.packages.aux.a;
|
|
|
|
|
2024-06-16 09:24:21 +00:00
|
|
|
# foundation-gcc-x86_64 =
|
|
|
|
# (config.packages.foundation.gcc.versions."13.2.0".extend (args: {
|
|
|
|
# config = {
|
|
|
|
# platform = {
|
|
|
|
# target = lib.modules.overrides.force "x86_64-linux";
|
|
|
|
# };
|
|
|
|
# };
|
|
|
|
# }))
|
|
|
|
# .config;
|
2024-06-24 17:51:25 +00:00
|
|
|
# foundation-gcc = config.packages.foundation.gcc;
|
|
|
|
# foundation-binutils = config.packages.foundation.binutils;
|
|
|
|
# foundation-linux-headers = config.packages.foundation.linux-headers.versions.latest.extend {
|
|
|
|
# platform.host = lib.modules.overrides.force "x86_64-linux";
|
|
|
|
# };
|
2024-06-15 14:08:45 +00:00
|
|
|
# example-x = config.packages.example.x;
|
|
|
|
# cross-example-x-x86_64-linux = config.packages.cross.x86_64-linux.example.x;
|
2024-06-14 14:01:18 +00:00
|
|
|
};
|
2024-06-11 11:39:26 +00:00
|
|
|
};
|
2024-06-16 09:24:21 +00:00
|
|
|
|
|
|
|
# exported.packages.i686-linux.cross-foundation-gcc-x86_64-linux = config.packages.cross.x86_64-linux.foundation.gcc.package;
|
2024-06-11 11:39:26 +00:00
|
|
|
};
|
|
|
|
}
|