From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#18221: Source of mit-scheme Date: Sun, 17 Aug 2014 17:06:07 +0200 Message-ID: <87mwb3i2ao.fsf@gnu.org> References: <20140808074757.GA13320@debian> <87wqacry8b.fsf@yeeloong.lan> 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]:36468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJQ7J-00077q-39 for bug-guix@gnu.org; Mon, 18 Aug 2014 12:49:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJQ7C-0006aM-QL for bug-guix@gnu.org; Mon, 18 Aug 2014 12:49:09 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:39455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJQ7C-0006aB-NF for bug-guix@gnu.org; Mon, 18 Aug 2014 12:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XJQ7C-0007oD-6b for bug-guix@gnu.org; Mon, 18 Aug 2014 12:49:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87wqacry8b.fsf@yeeloong.lan> (Mark H. Weaver's message of "Wed, 13 Aug 2014 15:22:28 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Mark H Weaver Cc: 18221@debbugs.gnu.org Mark H Weaver skribis: > The problem here is that the "c" belongs in a different place in the > filename than where the "i386" or "x86-64" goes. The filenames are: > > mit-scheme-9.2-i386.tar.gz > mit-scheme-9.2-x86-64.tar.gz > mit-scheme-c-9.2.tar.gz > > So I guess we need something like this (untested): > > (uri (string-append "mirror://gnu/mit-scheme/stable.pkg/" > version "/mit-scheme-" > (match (%current-system) > ("x86_64-linux" > (string-append version "-x86-64")) > ("i686-linux" > (string-append version "-i386")) > (_ > (string-append "c-" version))) > ".tar.gz")) Yes, I think that=E2=80=99s what=E2=80=99s needed, so OK to commit. (And yes, I agree it=E2=80=99s fine to ignore cross-compilation for now.) Thanks, Ludo=E2=80=99.