unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* string-append plus package
@ 2016-12-08 17:01 Hartmut Goebel
  2016-12-08 17:28 ` Thompson, David
  2016-12-08 19:56 ` Leo Famulari
  0 siblings, 2 replies; 17+ messages in thread
From: Hartmut Goebel @ 2016-12-08 17:01 UTC (permalink / raw)
  To: help-guix

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
nginx@1.11.6 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          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-01-02 23:10 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-08 17:01 string-append plus package Hartmut Goebel
2016-12-08 17:28 ` Thompson, David
2016-12-08 17:46   ` Hartmut Goebel
2016-12-08 17:47     ` Thompson, David
2016-12-08 19:56 ` Leo Famulari
2016-12-19  0:13   ` Hartmut Goebel
2016-12-19  9:47     ` Ludovic Courtès
2016-12-19 11:05       ` Hartmut Goebel
2016-12-19 13:31         ` Ludovic Courtès
2017-01-01 15:34           ` Hartmut Goebel
2017-01-02 23:05             ` Ludovic Courtès
2016-12-29 10:57       ` Hartmut Goebel
2016-12-29 13:06         ` Mathieu Lirzin
2016-12-29 14:21           ` Hartmut Goebel
2016-12-30 23:42         ` Ludovic Courtès
2016-12-31 12:56           ` Hartmut Goebel
2017-01-02 23:10             ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).