Here is the service-definition I use: (nginx-service #:vhost-list (list (nginx-vhost-configuration (root (string-append nginx "/share/nginx/html"))I believe that file-append is intended for this use case.
Maybe, but I can't get it to work. This minimal system
declarision fails with "In procedure string-append: Wrong type
(expecting string): #<<file-append> base: #<package
nginx@1.11.6 gnu/packages/web.scm:126 2a236c0> suffix:
("/")>"
(use-modules (gnu))
(use-service-modules networking web)
(define NGINX (file-append nginx "/"))
(define TEST (string-append NGINX ""))
-- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |