[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Toward 0.2
From: |
Nikita Karetnikov |
Subject: |
Re: Toward 0.2 |
Date: |
Thu, 28 Feb 2013 15:53:12 -0500 |
> Remember that (guix build ...) modules must not use Guix modules other
> than (guix build ...). This is a convention to distinguish between code
> for the “builder stratum”, and code for the “host stratum”.
OK. But how can I get the location of a package? The needed procedure
(i.e., 'package-output') is in the host code.
> (define* (wrap-program file #:rest variables)
> ...)
Why do you want to use '#:rest' here? The purpose of 'wrap-program' is
to export some variables.
> export CERT_PATH=$CERT_PATH${CERT_PATH:+:}:/nix/.../share/certs
Could you explain the "$CERT_PATH${CERT_PATH:+:}" part?
> Perhaps the separator string could be optional.
Is it possible to make it optional without creating a separate clause?
I'm attaching a patch. It lacks the 'rename-file' part.
0001-utils-Add-wrap-program.patch
Description: Text Data
pgpO8UqWXJwSJ.pgp
Description: PGP signature
- Toward 0.2, Ludovic Courtès, 2013/02/17
- Re: Toward 0.2, Nikita Karetnikov, 2013/02/17
- Re: Toward 0.2, Ludovic Courtès, 2013/02/18
- Re: Toward 0.2, Nikita Karetnikov, 2013/02/19
- Re: Toward 0.2, Ludovic Courtès, 2013/02/20
- Re: Toward 0.2, Nikita Karetnikov, 2013/02/21
- Re: Toward 0.2, Ludovic Courtès, 2013/02/22
- Re: Toward 0.2, Nikita Karetnikov, 2013/02/26
- Re: Toward 0.2, Mark H Weaver, 2013/02/26
- Re: Toward 0.2, Ludovic Courtès, 2013/02/26
- Re: Toward 0.2,
Nikita Karetnikov <=
Re: Toward 0.2, Andreas Enge, 2013/02/20