From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8InXNSkx62QWegAA9RJhRA:P1 (envelope-from ) for ; Sun, 27 Aug 2023 13:19:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8InXNSkx62QWegAA9RJhRA (envelope-from ) for ; Sun, 27 Aug 2023 13:19:05 +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 CA7C859726 for ; Sun, 27 Aug 2023 13:19:05 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b=eehVTC5W; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693135145; a=rsa-sha256; cv=none; b=fDSijCSLBe69k23puChYZxIlXt3reIiPoVrvUMnOHmDjs8gQEmTgcSktXKslFf79nXxnFY nEvXfajFwe2xF8sHM57KxqIlcaxmhtUZas0/HkYMiveyrp64/bgcM2nK5s8ARQtY+QkOq4 yL5Bl9Ulifqi/qPGehITdapmsdreQaQXm7lm5BhFjS+yizczH5BEddjlZa0vTx82OPH+Ux 9H7XFKD/iP0WTEBHqTEdC/1b1qBLJ31j5QrGgzOpl9pT1rI3lgxXgsBFMni1iHyXwxV3rF BlZ7u8/oreJW2zKo8up6r04sd/ID1Me5sHLnE7as+0lzZFkiARWMKEzvU5DiDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b=eehVTC5W; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693135145; 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=qMyQn8goLBR5uf/aXY8r0TX8wXb1minfSQM1g4uek9Q=; b=cLMHHiclwJ6WOXuxXupnTny0nGi3ZKI1UYZ+GO7aAYXrc7lcGNkC+9+dAhiQ2OIG26vWAn NHrizPnsrJJhgRET1haNc4X0hE+ASoBPwgVXOGSJuLtvuUXS7RmE+hNHEcZMDhWjM2XcfJ Vas4g4lHsl2k6P/D0a+4HWvIfAdDpXrR7X7oPiXUGk/I1ElQyGv5AXN8ZpRP3ROzjsoqEV 7g2LVU3EGFWNIkM1rT/H9roDhkhzlofcWs6NrKDwiZmN7mcLAqglZGnnDFBAdyZqHjr03k 8unaR1RWNB2hoLvOZrMLbDXUIceqJtZ5Cef4iAA2ubAk3OZ5fyqVXm0H796Bvw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qaDmw-0007mo-DA; Sun, 27 Aug 2023 07:18:38 -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 1qaDmu-0007m3-F7 for guix-devel@gnu.org; Sun, 27 Aug 2023 07:18:36 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qaDmo-0007ta-GT for guix-devel@gnu.org; Sun, 27 Aug 2023 07:18:36 -0400 Date: Sun, 27 Aug 2023 11:18:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1693135106; x=1693394306; bh=qMyQn8goLBR5uf/aXY8r0TX8wXb1minfSQM1g4uek9Q=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=eehVTC5WWn3HTX5heD2UEVvj4H0SKQ2qb/9tHLQnaPoNdOhWtFrrwMhA1gb3empcA yJp30VckLGTnvsqvTkeWEh89kgsTN115iWeAKHR88Fzq1UPXoK0dfH1LfaguUSMmw3 oLU69qlqDhNzofk6iOUfNpg4K+RRMLCSlgKvN2gCdFCewJwz7416x0GOi1mZ4pVtOe 1ma6Y6sDtGyV8WkYxRYXC1j5B8QAPeBXKgZ5Nsd6UTK1QbEDi9wpac1uymsXOdpDlG YY/8BR1cDdaNlOPmeUWdT3D1i3kISlm1cqTeDjx4uLjhU3urj/vXxZEy1aDlyfIeJ0 TbicfALUvKWkg== To: =?utf-8?Q?Jonas_M=C3=B8ller?= From: Attila Lendvai Cc: guix-devel@gnu.org Subject: Re: Why does Guix duplicate dependency versions from Cargo.toml? Message-ID: <4XFdkXwJhGInqTiVuIyiYNeBijvW_GOD1qsWfQ81xHZsedYqUU0DDEpETIcG4ZcxVyck9Nc58UD1ZXCvmiCc45ps-GlK0ggaJkZ2bH3si50=@lendvai.name> In-Reply-To: <77a0c1d6-1a3d-473b-b86d-1ff17cefe9de@moller.systems> References: <77a0c1d6-1a3d-473b-b86d-1ff17cefe9de@moller.systems> Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.136; envelope-from=attila@lendvai.name; helo=mail-40136.proton.ch 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_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Spam-Score: -6.60 X-Migadu-Queue-Id: CA7C859726 X-Migadu-Spam-Score: -6.60 X-TUID: dli82k/ZuE1n i may not understand this well enough, but with that in mind... the nix crowd allows something that they call vendoring: they use the nativ= e tools of the language ecosystem to fetch the transitive closure of the de= pendencies, as specified by their own package management descriptions. then= they compute a hash on the entire directory, and record it in the leaf pac= kage's definition. i think this vendoring dir/archive then even gets cached= by their substitute servers (for prosperity). IIUC, this method is rejected by guix on principle. if someone wants to test their mailing list search-fu, then there was a sim= ilar discussion about golang in the past. --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CAs children go, so go nations. It's that simple.=E2=80=9D =09=E2=80=94 Carol Bellamy