From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0F5ZDm6glWVGcgEAkFu2QA (envelope-from ) for ; Wed, 03 Jan 2024 18:59:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 6AjkB26glWUjBAEA62LTzQ (envelope-from ) for ; Wed, 03 Jan 2024 18:59:10 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=RCixWbkh; 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=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704304698; 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=BcI9HeSt+aRJMy0JVg96ZFCiRrG7W/QSzItyQRZ06w4=; b=lvor5PnhhlZN+s9kPoF8kDEuJQSuQeppOvfycvltw2AYeG+3NI8rUigvLB7R2yDTFtQ4BP IYLTw1mnhOjl94lJ2iv+lG7iYkJcfGBpDwp5ENPwTm9V2DDQ7/zz+e4KUhs2VzvlXk+xST nT6U/Yi8p2vm3Qs8nDMGVvNllOzVOYWCdVdA4j8tm5tklkL0nzeSE46lVXZd7QNjY3KT84 q7PCFnDoKZY6ZisBw4Ex2poAgs0mHI6Rr2AQOFOuxQrwEi3qRJPRYBVDTVNwYAzz2IK/S+ 2dlfRbL6CztUAtgIvgO2P8EicrXKEeyRqy/2pDOhZPYlyY5TXvyGr5ymabNnow== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=RCixWbkh; 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=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704304698; a=rsa-sha256; cv=none; b=hYhQhmG2xlaXt4dSY+z2Iu2ohILuTllYddoirh8BhB06UUOZXmjHkVOQmAKfwTOWwuOfA/ Q6e8/lY/Z83+rw02EMA17mb1AqRqidUt5k20zA3vzm3tHxQ8oOX4cMEhOaIoBywl8c7cpz bc+SEFk+jl/J+uG6cYY+TdrfreyDOsgJY+JoPkO7rJwcmUB9mA29m1uerTBSsswOrvnv3z scQV+iB0whyu6VxZMq+lL+zLXBKnrqLIkGR6t7Xze1pmS+qKA9dUMjRgt5Kiu4mkhs/BQD AlLL4MaLShU74vUzwq2Zqf2VdHmQbo5zNxQkz6WDmB0YPrkJ8KmsjEBjME/rzw== 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 1B8985584E for ; Wed, 3 Jan 2024 18:58:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rL5Ub-0001zA-0M; Wed, 03 Jan 2024 12:57:25 -0500 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 1rL5UW-0001yQ-Kc for guix-devel@gnu.org; Wed, 03 Jan 2024 12:57:22 -0500 Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rL5UR-0003u6-3R for guix-devel@gnu.org; Wed, 03 Jan 2024 12:57:20 -0500 Received: by mail-qt1-x82c.google.com with SMTP id d75a77b69052e-427eabbaf25so5152841cf.0 for ; Wed, 03 Jan 2024 09:57:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704304634; x=1704909434; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=BcI9HeSt+aRJMy0JVg96ZFCiRrG7W/QSzItyQRZ06w4=; b=RCixWbkhcVHx5+Cr/KlJGyx1y26IgCpjydKP0VXMu9Yl9Nh7AeFi7uRwIbVKnTGL2W xVFLzd9RwLfYfafnwR+J51niVIthw49YBWUsBjTaQRLcgKyPbRLFME6m+lzu3NDcmC3N cApZrUhWaIqelAW1gILnE4QRgt9TsWtesR1ebm6ES5JR77IjFJuz9S40/SMyozcZtobC lMqFpOjIxrPGVd1d/CWofPWyd7KPelMj+2AFMTjHiXMN526V5ZeLal3Phr21zcHs53Pi ZIB4gmk4BYKV3aiP2T68XaVGTO5VODg+eM1u20ecnaPQq/vQ2CofAWI124BIdJFeWJRD sCaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704304634; x=1704909434; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=BcI9HeSt+aRJMy0JVg96ZFCiRrG7W/QSzItyQRZ06w4=; b=hFlvrlcV+Zko1lUmJ7+eQRrTHiw3U13qNIC5OJnxOrBaZyKgXJM+E6D3O3IPwlCPPp PGbE/RjIw7K9GcR/eJHPQUYgV0wdJYdiy/PZgeeEn1DlyGIVm+dIlm7qOaYbBFmPFogt IuteXrej3G7fo/f+Jn2WwQpQ7sZyA4m1n1w/lEVZ5ySfAU3mDvZlls9uAfS6ZHQjOX2q ++c+MCv8EAxXZa5JVX3ajMeJLscM+M4SriCkmYIdpm3MuikaX8Du8BnPmhl8A51ekNkZ Ya7MiC9e7ktqXetCWbiAqynxjiQ2Mm48F+BiAnb+RedUAroGKNDI+GvT8DANg+ib1vn2 xwsQ== X-Gm-Message-State: AOJu0YzQxKNbmqnQji6bwuwa9wGOFyuNOuNjDV8oZZcZKERW95Uws36q pIM+3zNqIUfmqWVBaLYQWV0= X-Google-Smtp-Source: AGHT+IHCs/cHnEzDh2YOCPA9lcbQg76SuvU9t/9Wf00oty+TrndfLocUjGHa88Q7mbuSlRinw+Ppcg== X-Received: by 2002:ac8:4d03:0:b0:428:3993:ec3d with SMTP id w3-20020ac84d03000000b004283993ec3dmr1305764qtv.18.1704304633861; Wed, 03 Jan 2024 09:57:13 -0800 (PST) Received: from hurd (dsl-10-132-1.b2b2c.ca. [72.10.132.1]) by smtp.gmail.com with ESMTPSA id gd15-20020a05622a5c0f00b00427fa8b8159sm6668158qtb.76.2024.01.03.09.57.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 09:57:13 -0800 (PST) From: Maxim Cournoyer To: Apoorv Cc: guix-devel , Tobias Geerinckx-Rice , Ekaitz Zarraga Subject: Re: Suggestion for a guix shell feature. In-Reply-To: (Apoorv's message of "Wed, 3 Jan 2024 10:14:46 +0100 (CET)") References: <87edf4s7vw.fsf@gmail.com> <87o7e6pb00.fsf@gmail.com> <87h6jvoftr.fsf@gmail.com> Date: Wed, 03 Jan 2024 12:57:12 -0500 Message-ID: <87plyi5mh3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::82c; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82c.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 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -7.20 X-Spam-Score: -7.20 X-Migadu-Queue-Id: 1B8985584E X-TUID: gGfB02jP1y9a Hi, Apoorv writes: > OK, it was my bad I had an older copy of guix.scm file I was passing > that, it didn't have cargo-build-system. But now I'm getting so many > other errors related to cargo deps missing or version mismatch, I > tried adding those deps spent like 1-2 hours but something dep was > still missing or version mismatch, finally I gave up. I'm not sure how > many deps I have to add like this.. this is getting way to complicated > then it needs to be. cargo/rust is poorly integrated in Guix, as there's some impedance mismatch between package handling by Guix and Cargo itself, which would rather take care of it. I'd expect most Rust developpers using Guix only do so to provide Rust/Cargo, and let Cargo take care of the rest. Otherwise you'd need to replicate the pain the cargo-build-system goes through to make it work. A more future-proof approach if you'd like to improve Rust integration into Guix would be to continue integrating the 'antioxydant' build system effort started by Maxime Devos [0], which doesn't rely on Cargo to build Rust crates (and supports dynamic linking of Rust libraries, I think?). [0] https://notabug.org/maximed/cargoless-rust-experiments -- Thanks, Maxim