From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UG1rNr8B52R8UQAASxT56A (envelope-from ) for ; Thu, 24 Aug 2023 09:07:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ODQNNr8B52R99wAAauVa8A (envelope-from ) for ; Thu, 24 Aug 2023 09:07:43 +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 8EA2A46EAD for ; Thu, 24 Aug 2023 09:07:43 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=S06rIsRt; 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"; dmarc=pass (policy=reject) header.from=disroot.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692860863; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=7eYncbDnIBaaZtnbtNHNbAR+rg0Ej341LI4wfNe6Tr4=; b=GJzMRivvF5E42vQF5jGG7+SraZRG/DV4gjqlQ4pqfjy08cO706jcpF6j+UePCJk9M0HVOK eQoZTzTYwKgL/ikQfggiMJ/onJ0JqfKqBbvsK09N3YBttMs12tAcAOjjwmTtNGNVaUsaX1 pwpndDNG25BlqlH0dZZ7GP5wT/GEnlwbcEnRffUQm9BHa4ZR9Qn7SANjVGb4BfX7ymmWY3 sHCiinYZnGzX6rQk70/Cbz8rOCXhULFfpwfqoz2jvRXj71gk9U/Z2+3QufMX7bugLwk538 CqdsOZ6g3cjNmnagWPRDofarfwFKQ7rDhKta0FNJaczDunyVQpKMuxbpB0aR9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=S06rIsRt; 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"; dmarc=pass (policy=reject) header.from=disroot.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692860863; a=rsa-sha256; cv=none; b=iteqUMA8YjPA3VDYfgPdKocxo09EvGoZRWVp9ZyurFbe11Nhoaa+r7ctEpN/EQwTqq1wRF sKxuxqMblfk+1aeF4LYYqn/otO2uK0JUjFE5uoqcK+laYw5H7Jaty8hOH4SlybDbTEx2UO NddPVEn9bgrLk+7kvtOwfO8UVd9uRcxQGnwsPp8M7ZX8T5U3izACQsDEuzV+154XI8pGVb +DptP3IpaOx4tInRT2BMxzF1n8XJpfq88QIbPgRx4aIWEdjnet3x1QfE9rc7GpLri15jV4 MJD86hYXHaTfO/dlL4m9QpA+lqcE5a4O9TtNvSWog1y9dz7GeiB6jEKB6sn5kw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZ4Qs-0001Hu-PF; Thu, 24 Aug 2023 03:07:06 -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 1qZ4Qq-0001GQ-HK for guix-devel@gnu.org; Thu, 24 Aug 2023 03:07:04 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZ4Qo-0006RN-Fp for guix-devel@gnu.org; Thu, 24 Aug 2023 03:07:04 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 74128410C2; Thu, 24 Aug 2023 09:07:01 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E6qiGVphmTnx; Thu, 24 Aug 2023 09:07:00 +0200 (CEST) References: <77a0c1d6-1a3d-473b-b86d-1ff17cefe9de@moller.systems> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1692860820; bh=22GhkaMnu+ARklCU2J9SYPSPbWD7rXQoFw6axHyV8NA=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=S06rIsRtgtC/XOm5v99ClByfz63E++m+0f6nkP4Sp/CKGenzezxnCyFEqpPwtEGi1 jZQMVqraDPY7hrlGMPeRDfbyeDSqHQejMG+K23SxiU+PyVeztWd85hI1XLV1CHaaYF 4iN3tNktzJP9Yo4aS577I9z4f384wQtRTNwWVbs8ORUWl0vJAmLJqHd4sdvQBQpU9u 5+0ldVd5zr/gIZsoT2fqogCm2f+ewPLj6eXhHvJDAx0BHWtplxInCsqhPY80ymtI1i YiysEBzUUSPmiovAAYlNIkMUowV/LE4zAF7URfJWATPkKhm6oiLrhvaJOXfVJtBQwY 42I8d5VtCJtOg== From: "(" To: Jonas =?utf-8?Q?M=C3=B8ller?= Cc: guix-devel@gnu.org Subject: Re: Why does Guix duplicate dependency versions from Cargo.toml? Date: Thu, 24 Aug 2023 08:05:14 +0100 In-reply-to: <77a0c1d6-1a3d-473b-b86d-1ff17cefe9de@moller.systems> Message-ID: <87a5ughqb0.fsf@disroot.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=layka.disroot.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -4.75 X-Spam-Score: -4.75 X-Migadu-Queue-Id: 8EA2A46EAD X-TUID: 76LrlhxUQclr Jonas M=C3=B8ller writes: > Hi Guix! Why does cargo-build-system need #:cargo-inputs specified in the= package definition? This seems like a > big mistake for a couple of reasons. > > 1 It is completely redundant, it should match what is in Cargo.toml. I kn= ow `guix import crate` exists to > automate this process, but I don't understand the rationale for duplicat= ing this information. Because it'd be literally impossible to do otherwise. You'd have to contort Guix into some pretty weird shapes to change a package derivation based on what was downloaded as the source. -- (