From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: string-append plus package Date: Sat, 31 Dec 2016 13:56:23 +0100 Message-ID: <9a3f6d70-e24f-2273-4599-94ef0cb05763@crazy-compilers.com> References: <20161208195647.GA23449@jasmine> <87h9608d3l.fsf@gnu.org> <3f930a82-663f-17ed-466c-d3bd021023d8@crazy-compilers.com> <87wpeh6l1u.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNJD7-0005lW-0W for help-guix@gnu.org; Sat, 31 Dec 2016 07:56:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNJD2-0000SV-4g for help-guix@gnu.org; Sat, 31 Dec 2016 07:56:33 -0500 In-Reply-To: <87wpeh6l1u.fsf@gnu.org> 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: =?UTF-8?Q?Ludovic_Court=c3=a8s?= Cc: help-guix@gnu.org Am 31.12.2016 um 00:42 schrieb Ludovic Court=C3=A8s: > Where does that string you want to build go to? As I already wrote in my initial mail, I need to reference the actual package output's path in some config-file within a system definition (e.g. gnu/system/examples/nginx.tmpl). So assume gnu/system/examples/nginx.tmpl to be: (use-modules (gnu)) (use-package-modules networking web) (define NGINX (package-output (open-connection) nginx)) (define TEST (string-append NGINX "/bin/nginxctl")) If "package-output" is not the correct solution, please tell me the correct one. --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |