help-guix
[Top][All Lists]
Advanced

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

Re: string-append plus package


From: Hartmut Goebel
Subject: Re: string-append plus package
Date: Sat, 31 Dec 2016 13:56:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

Am 31.12.2016 um 00:42 schrieb Ludovic Courtès:
> 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.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | address@hidden               |
| www.crazy-compilers.com | compilers which you thought are impossible |




reply via email to

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