From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6N7a-0001b7-ER for guix-patches@gnu.org; Thu, 04 May 2017 16:13:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6N7W-0004kj-Ly for guix-patches@gnu.org; Thu, 04 May 2017 16:13:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56690) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d6N7W-0004kc-I6 for guix-patches@gnu.org; Thu, 04 May 2017 16:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d6N7W-0004At-Bu for guix-patches@gnu.org; Thu, 04 May 2017 16:13:02 -0400 Subject: bug#26702: [PATCH 1/2] gnu: Add font-cns11643 Resent-To: guix-patches@gnu.org Resent-Message-ID: From: Alex Kost References: <36cee073-4427-d584-2d9c-c0e2e22fd4ff@openmailbox.org> <87wpa2gcdx.fsf@fastmail.com> <994b0c86-c4ce-8b20-5c02-acf592fdc8bf@openmailbox.org> Date: Thu, 04 May 2017 23:12:00 +0300 In-Reply-To: <994b0c86-c4ce-8b20-5c02-acf592fdc8bf@openmailbox.org> (Brendan Tildesley's message of "Tue, 2 May 2017 00:43:41 +1000") Message-ID: <87h910crfz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Brendan Tildesley Cc: 26702-done@debbugs.gnu.org Brendan Tildesley (2017-05-02 00:43 +1000) wrote: > Marius Bakke =E6=96=BC 2017-05-01 01:10 =E5=AF=AB=E9=81=93: [...] >>> + (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. --=20 Alex