From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] gnu: Add ircii. Date: Fri, 05 Aug 2016 08:46:40 +0200 Message-ID: <87y44bhfvz.fsf@elephly.net> References: <87fuqoe10m.fsf@we.make.ritual.n0.is> <20160802005413.GB15847@jasmine> <20160802075834.GB1957@solar> <878twf4dcu.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVYuI-0000Gb-8x for guix-devel@gnu.org; Fri, 05 Aug 2016 02:46:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bVYuC-0001vN-9t for guix-devel@gnu.org; Fri, 05 Aug 2016 02:46:57 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:24244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVYuC-0001v6-1f for guix-devel@gnu.org; Fri, 05 Aug 2016 02:46:52 -0400 In-reply-to: <878twf4dcu.fsf@we.make.ritual.n0.is> 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" To: ng0 Cc: guix-devel@gnu.org ng0 writes: > Thanks, in the new revision of the patch both issues you two found are > fixed. > + (replace 'configure > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (let ((out (assoc-ref outputs "out")) > + (ncurses (assoc-ref inputs "ncurses")) > + (openssl (assoc-ref inputs "openssl"))) > + (setenv "CONFIG_SHELL" (which "bash")) > + (zero? > + (system* "./configure" > + ;; TODO: find a socks4+5 lib with small size > + ;; (string-append "--with-socks5=" ghc-socks) > + (string-append "--prefix=" out) > + (string-append "--enable-ipv6") > + (string-append "--with-openssl=" openssl) > + (string-append "--with-emacs-meta-keys"))))))))) Why is this needed? Did you try using #:configure-flags instead of replacing the configure phase? You can refer to inputs with “%build-inputs” there. ~~ Ricardo