From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: string-append plus package Date: Thu, 8 Dec 2016 18:01:37 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cF24q-0003fS-3T for help-guix@gnu.org; Thu, 08 Dec 2016 12:01:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cF24m-0001Y1-4u for help-guix@gnu.org; Thu, 08 Dec 2016 12:01:48 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:41001) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cF24l-0001Xh-VD for help-guix@gnu.org; Thu, 08 Dec 2016 12:01:44 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3tZM8j59f6z3hjFG for ; Thu, 8 Dec 2016 18:01:41 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3tZM8j3783zvnF2 for ; Thu, 8 Dec 2016 18:01:41 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 7SWxTWj8WUoM for ; Thu, 8 Dec 2016 18:01:38 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-144-224.dynamic.mnet-online.de [188.174.144.224]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Thu, 8 Dec 2016 18:01:38 +0100 (CET) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 36FF160108 for ; Thu, 8 Dec 2016 18:01:37 +0100 (CET) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org 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): # 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 |