Oh for FUCKS sake

This commit is contained in:
niten 2023-10-07 22:31:37 -07:00
parent d9d5652d6d
commit a045355053
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ let
hostToFqdn = host:
let hostChars = "[a-zA-Z0-9_-]";
in if isNotNull (builtins.match "^${hostChars}+$") then
in if isNotNull (builtins.match "^${hostChars}+$" host) then
"${host}.${domain}."
else if isNotNull (builtins.match "${hostChars}+\\.$" host) then
host