labs/tidepool/src/export.nix

39 lines
1.3 KiB
Nix
Raw Normal View History

# This file handles creating all of the exports for this project and is not
# exported itself.
2024-07-03 07:35:21 +00:00
{config}: let
inherit (config) lib;
in {
2024-07-03 07:35:21 +00:00
# freeform = lib.types.any;
config = {
exports = {
2024-07-03 07:35:21 +00:00
inherit lib;
modules = import ./modules.nix;
2024-06-14 14:01:18 +00:00
packages = {
aux-a = config.packages.aux.a;
# 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-07-03 07:35:21 +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;
2024-07-03 09:43:27 +00:00
cross-aux-a-x86_64-linux = config.packages.cross.x86_64-linux.aux.a;
cross-foundation-gcc-x86_64-linux = config.packages.cross.x86_64-linux.foundation.gcc;
2024-06-14 14:01:18 +00:00
};
};
# exported.packages.i686-linux.cross-foundation-gcc-x86_64-linux = config.packages.cross.x86_64-linux.foundation.gcc.package;
};
}