[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

string-append plus package

From: Hartmut Goebel
Subject: string-append plus package
Date: Thu, 8 Dec 2016 18:01:37 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1


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
address@hidden 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))))

Hartmut Goebel

| Hartmut Goebel          | address@hidden               |
| | compilers which you thought are impossible |

reply via email to

[Prev in Thread] Current Thread [Next in Thread]