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 ms9.migadu.com with LMTPS id yI1uO5sDjWQYbwAASxT56A (envelope-from ) for ; Sat, 17 Jun 2023 02:51:40 +0200 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 OPAOAJwDjWSDfwEAauVa8A (envelope-from ) for ; Sat, 17 Jun 2023 02:51:40 +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 C319436A2D for ; Sat, 17 Jun 2023 02:51:39 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qAK9m-0006L3-Gl; Fri, 16 Jun 2023 20:51:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qAK9k-0006Ku-5m for guix-devel@gnu.org; Fri, 16 Jun 2023 20:51:08 -0400 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qAK9f-0007zu-Oj for guix-devel@gnu.org; Fri, 16 Jun 2023 20:51:07 -0400 Received: by mail-qt1-x836.google.com with SMTP id d75a77b69052e-3fd4d251de9so9592361cf.2 for ; Fri, 16 Jun 2023 17:51:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686963062; x=1689555062; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=s9JjEETQL4YOzLnjoo5C13aLSlienyyM6a39LT1O104=; b=AmelAZvJlyPLBk+szVFla7LPaXA89c1Z8woy1CpcgU3itBpbhDcV3U+ReFFpePsKIZ g6zp8ttju2htKgfb/rStO7vO7mxk70Vu0w0Up6HlSw5ys5nHVfGzpJduM/PS7qnmHpcF prQM6kF4f3ILyvOUvRetN5R3r4a5IyBsSYyxLGRbWs23Z/hEbydWAjIRSGwMEFQgGT9i SUB+QxRVpn2l2byZIzieAftd/2ZZ5IuIjZuX2+q72kQ6IXHU+lPzwj48PRwBWK0fb6Ql uht/LdaiLC9Yw04clfQzKeSnXqOoZ3T2ie5GHuQcYjgvWxX0rHzuonJe8oQgNFn1XrKj HxfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686963062; x=1689555062; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=s9JjEETQL4YOzLnjoo5C13aLSlienyyM6a39LT1O104=; b=g1quHusYvinECeRVWRzsU7RWK8qWgI/fxNirv7yv7+M3yW5mqXxP0EyNTl1NGrQWFo gL4p/Yz/olENPqol8pLm4mIrhT/2l3jhPduQXI8hMcUMQMj7b2cMhqtOxbn7NqBTKtf/ 1OuNmB4ZnkrAHsI72aC5SFNTrOaQtaHl8TyHrdNWKvqiuL3CPWVGRFhGSbu5XobOVpWA QjQnipg05AVA00J21BUQpC0YQi5uwJxHpwD02IQYp6IPSqHTKjazwTzqql3TyXehslYi mOkz0WE3U6PlgDdHqUHVePuWXRg3ygHDbHhGewBC8E7F35Zx524TsMEd0fV1d50HM0Qh ivng== X-Gm-Message-State: AC+VfDxp7SZcXusrPUp7y9U6SF7qGSH1ajQGQj5PA5XKf3PY0tuy0+cq Ge2bi56qq1Z+w8vBkrfejIXnip3IufQ5CA== X-Google-Smtp-Source: ACHHUZ40yhUxFoK9BKwTMjj0BIL8BqHuib8dxWKzKxcz5ZIsHGYoXFB7khRKTqJQfNd59AyFsayeeQ== X-Received: by 2002:a05:622a:652:b0:3fd:db38:fed with SMTP id a18-20020a05622a065200b003fddb380fedmr3343333qtb.19.1686963062175; Fri, 16 Jun 2023 17:51:02 -0700 (PDT) Received: from hurd (dsl-151-232.b2b2c.ca. [66.158.151.232]) by smtp.gmail.com with ESMTPSA id d3-20020ac85443000000b003ef2db16e72sm7941547qtq.94.2023.06.16.17.51.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jun 2023 17:51:01 -0700 (PDT) From: Maxim Cournoyer To: Nicolas Graves Cc: Felix Lechner , Vagrant Cascadian , Maxime Devos , guix-devel@gnu.org Subject: Re: rust-build-system from antioxidant References: <87v8g5g2t1.fsf@ngraves.fr> <281e598a-993f-e3f9-682c-4e14ff7a8522@telenet.be> <87ttvd8ooc.fsf@gmail.com> <87y1kobtw3.fsf@wireframe> <87352ra4zg.fsf@ngraves.fr> Date: Fri, 16 Jun 2023 20:51:00 -0400 In-Reply-To: <87352ra4zg.fsf@ngraves.fr> (Nicolas Graves's message of "Fri, 16 Jun 2023 15:53:07 +0200") Message-ID: <87zg4yud1n.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::836; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x836.google.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, FREEMAIL_FROM=0.001, 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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686963099; a=rsa-sha256; cv=none; b=qFc5wHiRUURPUsQKrjLmAaoRBUKd7z97DBYvAzqWUu+rAnhfNSpbAhkOZEkEkZ2Y993rca cA8RP0Dz20MwfwOY4Oz4RLAIsvuFRcu/jpaGQTlTMhC2iMTNkmE9wcKNNjpwr6WEwJvkX5 NbFNDADpYHnMKDCBicfopxjG6bUoQIG2pjztY+1f+X+3VTBK+Wqwj+5kqFcsYqrhF0EQP0 LaCACmJGFvLa/PeuhNaRtiywFUoNe/fz800pXC0yE8BANqMDynnZh1WFcCvUtwje6zWAoy MIqyt76vNGjPZPyErGDqjzUBDtBcwaMQuC9FHcieLofGfmlUCMRfKKxGocd96g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=AmelAZvJ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686963099; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=s9JjEETQL4YOzLnjoo5C13aLSlienyyM6a39LT1O104=; b=IZoX/dcGo+IChIzha6gXE1wSEsn/Jx31RDTgusGD2uJwh00rVJfqShKAAw8nHYbZlt2lbf w106UkLI7xOaCXIS6U3c52X5oN05J4aFf8c+EmjMThZefTEKj0qF1YJS/Y673yadAoR2f9 bQWtOyWj6XvwNSTETrTuA/EcKCA7njq1VsKTb7N+zhywUSqKwO0mgJnAKUzwneI0WSOrMb FKPGvI3EeZ7lQTBCxcsaYZSSD8KrjQeXVVTqmAuHU68h/LRPRO4xVJTrnhUWTDxApj2r5k eWjpd2llNyx6MeO/HvJQByioRqHa5xQBZ9DN4CrPGSt/rsXSIc4nEMv4CNgHBg== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=AmelAZvJ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -6.39 X-Spam-Score: -6.39 X-Migadu-Queue-Id: C319436A2D X-TUID: FzT8rMHMbeYY Hi Nicolas, Nicolas Graves writes: > Hi all, > > Thanks for this discussion that I didn't expected to happen ;) > > I'll try and finish a version of the rust-build-system but I'd like to > know if there are reasons to not want a direct and complete rewrite of > all Rust packages before putting more time into this. My rationale is > that since we have channels, users won't really be affected in any > meaningful way because adding a "snapshot of cargo packages" in a > channel and then adding the channel is straightforward. Thank you! My impression is that the Rust packaging in Guix is so problematic that if a way would mean less work for you and motivate you to push this work to the finish line it, that may well be the better way :-). > I've merged the rust-build-system and rust-workspace-build-system into a > single one, and made some UX improvements (a dozen patches on top of > Maxime's work). > > If atomicity / readability of changes is the issue, I can try to cut the > packages rewrites into patches (although that would make more than 1k > patches total I think). That would match our convention better, if it's not too difficult to accomplish (is this going to be automated? I've written some imperfect but useful automatic rewriting tool in the past to remove the Python 2 packages [0]. Perhaps it could provide some ideas) [0] https://notabug.org/apteryx/guix-api-examples/src/master/purge-python2-packages.scm -- Thanks, Maxim