From b892157fe3a8dd904d518630b7df6ff2e8a1f4f9 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 9 Nov 2025 11:48:07 +0000 Subject: nginx: Convert port to string when serializing. --- guix/forge/nginx.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guix/forge/nginx.scm b/guix/forge/nginx.scm index f0d3c34..c932187 100644 --- a/guix/forge/nginx.scm +++ b/guix/forge/nginx.scm @@ -66,9 +66,9 @@ configuration (for example, in the @code{listen} and (($ (or "0.0.0.0" "::") port) (number->string port)) (($ (? ipv4-address? ip) port) - (string-append ip ":" port)) + (string-append ip ":" (number->string port))) (($ (? ipv6-address? ip) port) - (string-append "[" ip "]" ":" port)) + (string-append "[" ip "]" ":" (number->string port))) (($ path) (string-append "unix:" path)))) -- cgit 1.4.1