zsh: unbreak nixos module build for dynamic dhcp hostname (#485244)

This commit is contained in:
Sandro
2026-05-25 13:35:39 +00:00
committed by GitHub
+2 -2
View File
@@ -249,8 +249,8 @@ in
setopt ${builtins.concatStringsSep " " cfg.setOptions}
''}
# Alternative method of determining short and full hostname.
HOST=${config.networking.fqdnOrHostName}
# Determine current fqdn hostname
HOST=$(hostname --fqdn)
# Setup command line history.
# Don't export these, otherwise other shells (bash) will try to use same HISTFILE.