From: Alex Kost <alezost@gmail.com>
To: Brendan Tildesley <brendan.tildesley@openmailbox.org>
Cc: 26702-done@debbugs.gnu.org
Subject: bug#26702: [PATCH 1/2] gnu: Add font-cns11643
Date: Thu, 04 May 2017 23:12:00 +0300 [thread overview]
Message-ID: <87h910crfz.fsf@gmail.com> (raw)
In-Reply-To: <994b0c86-c4ce-8b20-5c02-acf592fdc8bf@openmailbox.org> (Brendan Tildesley's message of "Tue, 2 May 2017 00:43:41 +1000")
Brendan Tildesley (2017-05-02 00:43 +1000) wrote:
> Marius Bakke 於 2017-05-01 01:10 寫道:
[...]
>>> + (outputs '("out" "tw-kai" "tw-sung"))
>>> + (build-system trivial-build-system)
>>> + (native-inputs
>>> + `(("unzip" ,unzip)))
>>> + (arguments
>>> + `(#:modules ((guix build utils))
>>> + #:builder
>>> + (begin
>>> + (use-modules (guix build utils))
>>> + (let* ((font-dir "/share/fonts/truetype/cns11643")
>>> + (out (string-append %output font-dir))
>> I've changes this to use (assoc-ref outputs "out") instead of the
>> magical %output.
> Ok, I don't understand much about those. Are the uses of %outputs (with
> the 's') below also problematic?
No they are OK, moreover this is the only way to access the outputs.
--
Alex
next prev parent reply other threads:[~2017-05-04 20:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-28 18:53 bug#26702: [PATCH 1/2] gnu: Add font-cns11643 Brendan Tildesley
2017-04-30 15:10 ` Marius Bakke
2017-04-30 18:07 ` Kei Kebreau
2017-05-01 14:43 ` Brendan Tildesley
2017-05-01 22:34 ` Marius Bakke
2017-05-04 20:15 ` Alex Kost
2017-05-05 14:51 ` Marius Bakke
2017-05-04 20:12 ` Alex Kost [this message]
2017-05-04 20:03 ` Alex Kost
2017-05-05 7:55 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h910crfz.fsf@gmail.com \
--to=alezost@gmail.com \
--cc=26702-done@debbugs.gnu.org \
--cc=brendan.tildesley@openmailbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.