From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oKcJHUUHAmN3TQEAbAwnHQ (envelope-from ) for ; Sun, 21 Aug 2022 12:21:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QIPoHEUHAmMaMwEAauVa8A (envelope-from ) for ; Sun, 21 Aug 2022 12:21:57 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D9DDEC199 for ; Sun, 21 Aug 2022 12:21:56 +0200 (CEST) Received: from localhost ([::1]:54142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPi5b-0001N2-Vw for larch@yhetil.org; Sun, 21 Aug 2022 06:21:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPi52-0001Mt-VP for help-guix@gnu.org; Sun, 21 Aug 2022 06:21:21 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21155) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPi51-0003Km-0d for help-guix@gnu.org; Sun, 21 Aug 2022 06:21:20 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1661077275; cv=none; d=zohomail.com; s=zohoarc; b=N2JxS7GXxdYsxfbA413kxkpbZpwMV0SkWDCBGNj9Hg+35XEl4uzMhILDs9zJazBUtxW+uo1kKkC3p9ZgkxFz87PKwFKrQq02zScft3JJ+c1Ggj9GB7G0LdJKWAEFhQtyax/4UNGGpioMsyr+BgzEQpRjYWJrjF/qAM7mBRhtS1c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1661077275; h=Content-Type:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=EPumi808fjmv+oiZQs41FLRLDQOe20JvVJuoCqXuhGM=; b=UkmYG7z8cauJjxiFmx5+9it15vxYWHp7+7QKVsHx4/8P1oLHsYprHw5NMFd1a5TtkbX+mr2V68Ids7+TPnLm+jQgHHuDXInHw5m2dTUS/8bRD9qIfpVxjdyYgqEkWVTHgVXknfBw0jOAi+65vJ1c1Ocyztufsz7X8ITqFfP7Fuo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=a-rx.info; spf=pass smtp.mailfrom=rx@a-rx.info; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1661077275; s=zoho; d=a-rx.info; i=rx@a-rx.info; h=From:From:To:To:Subject:Subject:References:Date:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=EPumi808fjmv+oiZQs41FLRLDQOe20JvVJuoCqXuhGM=; b=K2f7Tg1Uudh4cnsBv7ZBKolafwyXpZiT4Sc0pQJZuP3iOrDVuJrYwFh66NSeNhj3 h0w53AF9gqdtrKbtOhoo8bPn10Mg3XO+byQjr2wn7GWysFLmlP+nDKXCxnf9iI4cfG+ sSgMG+zq1l+KWYiC3tNNGBv+g1Dm32osoihmVwE8= Received: from softland (148.252.128.1 [148.252.128.1]) by mx.zohomail.com with SMTPS id 1661077271175408.0646471867118; Sun, 21 Aug 2022 03:21:11 -0700 (PDT) Received: from rx by softland with local (Exim 4.96) (envelope-from ) id 1oPi5A-000RU4-22 for help-guix@gnu.org; Sun, 21 Aug 2022 11:21:28 +0100 From: Andreas Reuleaux To: "help-guix" Subject: Re: Packaging Idris2 References: <138fc06ac78045c4a7117566484ebb936caff178.camel@phfrohring.com> <87r11aeot8.fsf@riseup.net> <871qta8tgp.fsf@softland> Date: Sun, 21 Aug 2022 11:21:28 +0100 In-Reply-To: (paren@disroot.org's message of "Sun, 21 Aug 2022 08:31:12 +0100") Message-ID: <87zgfxrj6f.fsf@softland> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rx@a-rx.info; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661077317; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=EPumi808fjmv+oiZQs41FLRLDQOe20JvVJuoCqXuhGM=; b=ukPaqGqeR8tdJiDkag8vq+8SQqt6TAi+HwfZm3oIg3LY5w8fE/FDu1FLnqE11DbOAqOKxx xqUfhzFhq1CXZO0wY3cbji65hpNpKXRMUCSnX4s+SpxFz561eNzywyj0vkyQrIpwueVcOJ IRWVUWmsgfRGscc/7w0Yd0v4AgeL0dqJhXEB7H9sjT9U0SR7kI3j1HBE0pk0YtxebKW7oK cPB1fPJsqGhSytqMLjL9YXacupNEd7Sbuwlom/0J1GCRN9aqqVKQ9evaPbYJG87WaY9/VY QwAGOcPiG+025BFgNN5Pm3mENVcgMYUM93xSPm+0T1JyOlL2jmnf8A42zY0IDw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1661077317; a=rsa-sha256; cv=pass; b=X3DN+6AmI1h5M4U3LbUhKFEux9COn8VRacLEl3m3RVu7eqIO/kQlS51iuqevnuNUg7LhJ+ nWyJylW+7mxsoLtNXCnAlItJFOlDTbthiTBgO4o4ycxo3IpwmgX1oONtZ4FEg7Km9gkRJv njg7CT6XtJUAnC4Skvt1SyeurXX+9oOLfLsFPZ03tuCUZTsetU2z5MAh8ynrucifJ0tNw2 HMsdDoiBBuVEpl1MHaYv91thZDOPfUtvgtkkm9zryvH8JUpDRjvT5ICgxSmdMVwFEwjmqR K1IwGrrcfpNuJS8C0lIu8qFhdAw7WQ6U32cpmmNoYto5Gxlz0lFuNz2Dnz9UuQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=a-rx.info header.s=zoho header.b=K2f7Tg1U; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=a-rx.info header.s=zoho header.b=K2f7Tg1U; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D9DDEC199 X-Spam-Score: -2.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: LaJ7weSmrCVU "(" writes: > Hi Andreas, > > On Sat Aug 20, 2022 at 11:01 PM BST, Andreas Reuleaux wrote: >> You bootstrap it from scheme (chez or racket), as comes within the Idris2 tarball >> (and built with Idris 2 itself: Idris2 -> Chez Scheme / Racket). > > Since this Scheme is pregenerated, it cannot really count as source code. So > we need to find a version of Idris2 that can still be built with Idris1, then > try to build a later version with that Idris2, and keep going until we get to > the latest version, like our rustc bootstrap process. > > -- ( OK, thanks for getting back to me, and I am learning... Nevertheless: this sounds terribly complicated to me. Why would I use a package manager then (the guix package manager i.e.) in the first place, if I can install idris2 in just simple three steps: step 1 download https://www.idris-lang.org/idris2-src/idris2-0.5.1.tgz and unpack it. step 2 adjust PREFIX in config.mk therein ($(HOME)/opt/idris2 in my case) and set PATH, and LD_LIBRARY_PATH accordingly: export PATH=$PATH:$HOME/opt/idris2/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/opt/idris2/lib step 3 (assuming racket is installed - as in my case): make bootstrap-racket make install And In particular: there is no Idris1 involved. (And by the way: the pregenerated scheme in there is not a binary, it is readable scheme code after all - well not terribly readable, but nevertheless). What is won with the extra step of having an older Idris2 installed first, that still compiles with Idris 1 - And then do what with that: compile a newer Idris2 from that (that may still not be sufficiant to compile the latest Idris2), ... Reproducibility ? - Certainly not simplicity! But apparently: you are more experienced in these packaging matters then me. So thanks - in any case. And by the way: my bench marks were on a 8 core Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz running Debian testing) -A