From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Problems with downloading from https Date: Mon, 27 Oct 2014 13:44:11 +0100 Message-ID: <877fzl65t0.fsf@gnu.org> References: <877fzogiq5.fsf@gmail.com> <20141025200250.675.55930@vulcan.local.tld> <87y4s348k1.fsf@gmail.com> <87fveboseq.fsf@gnu.org> <87k33m4ob9.fsf@gmail.com> <87vbn6h7f4.fsf@gnu.org> <87oasxj2z1.fsf@netris.org> <87ioj566pv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XijeT-0004JX-BH for guix-devel@gnu.org; Mon, 27 Oct 2014 08:44:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XijeK-0005UN-MW for guix-devel@gnu.org; Mon, 27 Oct 2014 08:44:01 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:42365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XijeK-0005U4-G6 for guix-devel@gnu.org; Mon, 27 Oct 2014 08:43:52 -0400 In-Reply-To: <87ioj566pv.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 27 Oct 2014 13:24:28 +0100") 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 Cc: guix-devel@gnu.org, Alex Kost ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Currently, there are a couple of packages that hard-code site/2.0. They > should be changed to use: > > (string-append "--with-site-dir=3D.../site/" (effective-version)) Actually this won=E2=80=99t work because the Guile that runs the build scri= pt is not necessarily the same as the one used to build the thing. So we probably need a helper function in (guix build utils) that runs =E2=80=9Cguile -c '(display (effective-version))'=E2=80=9D and returns that. How does that sound? Ludo=E2=80=99.