From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aDtbMy4TDmL6JgEAgWs5BA (envelope-from ) for ; Thu, 17 Feb 2022 10:19:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KPRJMC4TDmIEggAAauVa8A (envelope-from ) for ; Thu, 17 Feb 2022 10:19:42 +0100 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 6F15413A72 for ; Thu, 17 Feb 2022 10:19:42 +0100 (CET) Received: from localhost ([::1]:43390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKcwu-0000mV-1d for larch@yhetil.org; Thu, 17 Feb 2022 04:19:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKcLX-0005Jd-C4 for guix-patches@gnu.org; Thu, 17 Feb 2022 03:41:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56183) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKcLV-0003mB-Qv for guix-patches@gnu.org; Thu, 17 Feb 2022 03:41:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nKcLV-0000P6-Mz for guix-patches@gnu.org; Thu, 17 Feb 2022 03:41:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53878] [PATCH 07/11] gnu: chez-scheme: Explicitly package bootstrap bootfiles. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 17 Feb 2022 08:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53878 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler , 53878@debbugs.gnu.org Received: via spool by 53878-submit@debbugs.gnu.org id=B53878.16450872521526 (code B ref 53878); Thu, 17 Feb 2022 08:41:01 +0000 Received: (at 53878) by debbugs.gnu.org; 17 Feb 2022 08:40:52 +0000 Received: from localhost ([127.0.0.1]:50080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKcLM-0000OY-0W for submit@debbugs.gnu.org; Thu, 17 Feb 2022 03:40:52 -0500 Received: from mail-qk1-f176.google.com ([209.85.222.176]:36814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKcLK-0000OM-9U for 53878@debbugs.gnu.org; Thu, 17 Feb 2022 03:40:50 -0500 Received: by mail-qk1-f176.google.com with SMTP id g24so4080306qkl.3 for <53878@debbugs.gnu.org>; Thu, 17 Feb 2022 00:40:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=DHvd6SY/MKKrGG+UfdoEmFONmSShbZqBUTHQoZ1rb6A=; b=gZ58p8fEGb7kyE8A19YMFk28PRsQ24MrGAbqzrs6uh9+IODZJAaRHF8g3e/37Kd6+u IVC4Y/L6lWmCk4PWMJEslGVRgpai8fn7EAbXKi2WTUi1TeqIyY/CkdfTw80JPz3oeRiN 6NwLUxJFAdjBG51jDMtOHd+BT2H6qqinkMivA4sA9OZVutncg7/bBh4i98Xpyod3VdQ2 TOLEAbKZgKN+PHlaPn+HkOa9O+7a7/aPTc3mGFUyOnmkx19mbENqiy8zb+QZKiJJ87aV K0QeirbxXKUmpQ5SLtvyGANEdsAMXaeDBLr5EsC3MimTDoOdWUTBlEE6hy/TIXrh+ScM xqAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=DHvd6SY/MKKrGG+UfdoEmFONmSShbZqBUTHQoZ1rb6A=; b=htwSn3lPghAPa4rzqL8TTOUhNfH8hHAEX8AhFfJ5gMHpiqGO7hBXyI2KEnCMyj0Ok7 MT1iJ16xlTpbrchRS3XfT4Lghnvlrwmun9GeegMGNRfnGtju7c7xXI6wFNtee4pBCP4O ztVCOzS5Y8iZ/USF3ljoGxx0mMw7KUo6tvKYsa4sQ+kfguYB88onQoQB8UrU8a1as0KM NBgG8mHDb1hsPsBhirldepYz+dQ7sNlWzRh55HE+2iFAOvXTr7vgmHjSlLvR3hlk0lhg GgtYL/0K4UXQfHu/JT1pYyol16Q4OIg+++BCt+xVc3lp9Zwrm6cfL8HjZJmRewkdFY5w VTJQ== X-Gm-Message-State: AOAM531X5/8//+6rok1vT4qud0Xrktl302YdFqPyk/tRc4GwHzUmoSl6 q38xWW6xFp060hgcQF2mYLUCbUB9ywdj1twUWg0= X-Google-Smtp-Source: ABdhPJwj/7Ex72ydwxU12cF/q64LN5EdB9IMRdGj9yuoa7blfqDKyXlgJbd0mWJZxtFFbmbx+yGo3Q== X-Received: by 2002:a37:b95:0:b0:5f1:8711:c404 with SMTP id 143-20020a370b95000000b005f18711c404mr860423qkl.27.1645087244629; Thu, 17 Feb 2022 00:40:44 -0800 (PST) Received: from [192.168.45.36] (c-73-125-98-51.hsd1.fl.comcast.net. [73.125.98.51]) by smtp.gmail.com with ESMTPSA id bk19sm19599234qkb.125.2022.02.17.00.40.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Feb 2022 00:40:44 -0800 (PST) Message-ID: Date: Thu, 17 Feb 2022 03:40:43 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US References: <20220213215127.218952-1-philip@philipmcgrath.com> <20220213215127.218952-8-philip@philipmcgrath.com> <7a5ff55f7c05308cac7bb2aae5dbe0a16b8fa9b9.camel@ist.tugraz.at> <9979ce6c-9583-18e1-43da-098d2d74e741@philipmcgrath.com> <0a2fdc03-5b05-02e4-ab0f-d9ef23d6460e@philipmcgrath.com> <19a00f93e793a062f3004f1a4f452701fb3234d3.camel@ist.tugraz.at> From: Philip McGrath In-Reply-To: <19a00f93e793a062f3004f1a4f452701fb3234d3.camel@ist.tugraz.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645089582; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DHvd6SY/MKKrGG+UfdoEmFONmSShbZqBUTHQoZ1rb6A=; b=kvWGwX88ntEn2oN4bCOLUdASQoa6l62VkA2hd+z/Ycwbz6pTilFaR3v1iSbWjwZjAymHs9 JwUIHs7lG4odECA4crlHmZj13vmC00Wcz5qWeSMjcSJkWcStxD4Q7D83aCAdWn7p0OvTxD 58kuY7HsBuDVLSkYJyNqooWhetiiPW96pNlP+fhZnJOO6zWlq6fNjp2TRpIKbGGUJgv8ud HQN+Uwh9lhKFFOXSWkZ0wSbLnL5abwguIuH9Uu5qhyZ+TUtcnTdYRzjPKlh/Ftdg8zfZUd c7K/0YXDhviJsDHteIq0dqV5Sd4eWgJticofE8I60NaGDWTH7GVnskJW84rr7A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645089582; a=rsa-sha256; cv=none; b=hC7V946GqHALN2lYSc42pj8diZoGwjM1bQH528THX5jNK0hfShCSJq45hyTqJTO1ULJzFz 6zekIue59kx/4rm+0ubcDiFT61ZIDAyldttutkMTlQi3Ld6J0YOzqLwqXD6gt1O6dzEm0k YOhfduwrg6nIKAHJ5KMHPbIDpFh6AwobdhR69mh+G3CDLLJDI1wpW4PfdenJPmNVRE7EzR Gu5//Gr+ZGMBlKTEjdtQkTbilY/vmw0/977r15ImXQAj9rCQoaUhoa3q0lSUk0F7RlLdAG M5kUftnhOn1B4hCBXIoU3z+HsOFgU0ACcY/CYXL/qp4z0yoPOQllgxvFEfRrEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=gZ58p8fE; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=gZ58p8fE; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6F15413A72 X-Spam-Score: -3.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: Dn6pIqDRtr+W Hi, On 2/17/22 03:19, Liliana Marie Prikler wrote: > Hi, > > Am Donnerstag, dem 17.02.2022 um 03:06 -0500 schrieb Philip McGrath: >> Hi, >> >> On 2/17/22 02:10, Liliana Marie Prikler wrote: >>> [...] >>> I was picturing something like >>> >>> (define chez-bootfiles (chez ...) >>>    (package/inherit chez >>>      (inputs ...) >>>      (native-inputs ...) >>>      (build-system ...) >>>      (arguments ...))) >>> >> >> Sorry, I still don't think I'm following. Would this rely on the >> `mative-inputs` being thunked to let the result of this function be >> an input to `chez-scheme`? > Yes. > >> What commonality is the function abstracting over, compared to having >> 'chez-scheme-for-racket-bootstrap-bootfiles' inherit from 'chez- >> scheme-bootstrap-bootfiles'? > At the moment version, source, home-page and license. I don't really > think bootstrap files ought to be a part of chez' source, so if you > wanted to do this really cleanly, you'd have to drop them from chez and > add restrict chez-bootstrap to them, which would imply you'd have to > use (version (package-version chez-scheme)) explicitly – for now I > don't want to add too much burden to that patch and you can assume > source to be the same between the two. > Ok, this helps, I think. I'll give it a try. In you argued---and convinced me---that we should keep the pre-built bootfiles in the origin until we actually don't need them. With 'chez-scheme-for-racket', that's already true, and there aren't bootfiles in that origin anyway. When someday we can actually bootstrap upstream Chez Scheme, presumably we'll add a snippet to delete the pre-built bootfiles from the origin, at which point the it will still be the same origin for both. -Philip