summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-12-12 18:34:00 +0100
committerlassulus <lassulus@lassul.us>2022-12-12 18:34:00 +0100
commit0802657364bc232fb8009bbecc7b2516bcb6dc09 (patch)
tree43def95c89b00f5c0d84f421c06876bf69e8e944
parent1775e867524d47b5055034bedadc7a96a4c7da6f (diff)
htgen: scriptFile should be package or pathname
-rw-r--r--krebs/3modules/htgen.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/htgen.nix b/krebs/3modules/htgen.nix
index 1e7e6992..b760ea67 100644
--- a/krebs/3modules/htgen.nix
+++ b/krebs/3modules/htgen.nix
@@ -41,7 +41,7 @@ let
};
scriptFile = mkOption {
- type = types.nullOr types.str;
+ type = types.nullOr (types.either types.package types.pathname);
default = null;
};