From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?5a6L5paH5q2m?= Subject: Re: [PATCH] gnu: Add Glulxe. Date: Wed, 03 Dec 2014 19:27:04 +0800 Message-ID: <87a9352ctz.fsf@gmail.com> References: <1416326481-2572-1-git-send-email-iyzsong@gmail.com> <874mtwv4nd.fsf@gmail.com> <87r3wh71z6.fsf@yeeloong.lan> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xw85u-0007oK-LM for guix-devel@gnu.org; Wed, 03 Dec 2014 06:27:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xw85l-0006vy-Ot for guix-devel@gnu.org; Wed, 03 Dec 2014 06:27:39 -0500 Received: from mail-pd0-x22f.google.com ([2607:f8b0:400e:c02::22f]:47010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xw85l-0006vo-HJ for guix-devel@gnu.org; Wed, 03 Dec 2014 06:27:33 -0500 Received: by mail-pd0-f175.google.com with SMTP id y10so15220619pdj.6 for ; Wed, 03 Dec 2014 03:27:32 -0800 (PST) In-Reply-To: <87r3wh71z6.fsf@yeeloong.lan> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Mark H Weaver , Eric Bavier Cc: guix-devel@gnu.org Mark H Weaver writes: > Eric Bavier writes: > >> This is a bit terse, IMHO. Perhaps something like: >> >> (let* ((out (assoc-ref outputs "out")) >> (inc (string-append out "/include"))) >> (begin >> (mkdir-p inc) >> (for-each >> (lambda (f) (copy-file f (string-append inc "/" f))) >> '("glk.h" "glkstart.h" "gi_blorb.h" "gi_dispa.h" "Make.glkterm")) >> (mkdir-p lib) >> (copy-file "libglkterm.a" (string-append out "/lib/libglkterm.a")))) > > It's not important, but FYI the 'begin' above is not needed. The 'let*' > includes an implicit 'begin'. Thanks! I'll be care next time :) > > Mark