fix: Lazily fetch external modules only if needed

This commit is contained in:
UGA Innovation Factory
2026-01-27 15:05:52 -05:00
parent 1a7bf29448
commit 540f5feb78
6 changed files with 86 additions and 22 deletions

View File

@@ -37,9 +37,6 @@ in
];
options.athenix.sw = {
# Software submodule for the Athenix system suite. sw.enable enables
# base packages and common configuration. Each sw.<type>.enable enables
# additional packages and services for that system type.
enable = mkOption {
type = lib.types.bool;
default = false;
@@ -57,8 +54,6 @@ in
};
type = mkOption {
# DEPRECATED: Backwards compatibility for external modules
# Use athenix.sw.<type>.enable instead
type = lib.types.nullOr (lib.types.either lib.types.str (lib.types.listOf lib.types.str));
default = null;
description = "DEPRECATED: Use athenix.sw.<type>.enable instead. Legacy type selection.";
@@ -66,7 +61,6 @@ in
};
extraPackages = mkOption {
# Additional packages to install beyond the defaults
type = lib.types.listOf lib.types.package;
default = [ ];
description = ''
@@ -77,7 +71,6 @@ in
};
excludePackages = mkOption {
# Packages to exclude from the default package list
type = lib.types.listOf lib.types.package;
default = [ ];
description = ''