From 0802657364bc232fb8009bbecc7b2516bcb6dc09 Mon Sep 17 00:00:00 2001
From: lassulus <lassulus@lassul.us>
Date: Mon, 12 Dec 2022 18:34:00 +0100
Subject: [PATCH] htgen: scriptFile should be package or pathname

---
 krebs/3modules/htgen.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/krebs/3modules/htgen.nix b/krebs/3modules/htgen.nix
index 1e7e69927..b760ea671 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;
         };