Hi,

I'm confused about string-append working inconsistently:

In package definitions, I'm used to write '(string-append PKG "…")'. But
when I use this for defining a service, I get an error:

In procedure string-append: Wrong type (expecting string): #<package
[email protected] gnu/packages/web.scm:124 42449c0>

What is going on here?

Here is the service-definition I use:

             (nginx-service #:vhost-list
               (list (nginx-vhost-configuration     
                      (root (string-append nginx "/share/nginx/html"))
                      (https-port #f)
                      (ssl-certificate #f)
                      (ssl-certificate-key #f))))

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | [email protected]               |
| www.crazy-compilers.com | compilers which you thought are impossible |


Reply via email to