labs/tidepool/default.nix

36 lines
787 B
Nix
Raw Normal View History

{
lib ? import ./../lib,
foundation ? import ./../foundation {system = "i686-linux";},
}: let
modules = import ./src/modules.nix;
result = lib.modules.run {
modules =
(builtins.attrValues modules)
++ [
./src/export.nix
{
2024-06-14 08:26:16 +00:00
__file__ = ./default.nix;
2024-06-13 17:22:57 +00:00
# options.foundation = lib.options.create {
# type = lib.types.attrs.of lib.types.derivation;
# };
2024-06-13 17:22:57 +00:00
# config.foundation = foundation;
2024-06-14 08:26:16 +00:00
# config.packages.foundation =
# builtins.mapAttrs (name: package: {
# name = package.name;
2024-06-13 17:22:57 +00:00
2024-06-14 08:26:16 +00:00
# inherit package;
2024-06-13 17:22:57 +00:00
2024-06-14 08:26:16 +00:00
# meta = package.meta;
# })
# foundation;
}
];
};
in
2024-06-13 17:22:57 +00:00
result.config
2024-06-14 11:47:54 +00:00
# result.config.exported