From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MEKxGIcGmGXezQAAkFu2QA (envelope-from ) for ; Fri, 05 Jan 2024 14:39:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id YOX9EYcGmGU35AAAqHPOHw (envelope-from ) for ; Fri, 05 Jan 2024 14:39:19 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuta.io header.s=s1 header.b=i2EPncee; 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=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704461959; h=from:from:sender:sender:reply-to: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=yjzHHcT15F5v1dfeSv4YBOvPc8Ck8wJwwO1rlbHJfMM=; b=QXcN7sz1YUl/OJ+YjyZ7Ifq1ncyLEEkY/cGlkRUm8yDVS0GXlb6ACTRaqAiUMR/GeK1Y1G T+PoHaG1h0Uh5aWgDoAF+Xy6n2FHdmmyWdOICN7SdYyA2UktZ7c92bZFsuic3LaeGqZqH8 zZKyruP5CvMSO1qDtAOmNjWwrqhPCYWCw3JP5Rd7ZvAoCtKpuie5RUL1RTBv5JLdVtlCz5 frR2Wz9pqGvQP6XGIr/iS8vPR/m1Nyq2de75Q0Gf4QurkqxpKdFoncNqykglaR8+2hLXVa uwLjkGtDpRR/BexBzXzaJlHSzrpOWIXqz0uISboocnn2/AAET8px0k+BPJiU7g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704461959; a=rsa-sha256; cv=none; b=j7WgHbTDhUEwmuV+v+f2Z36/gq9rdZYJTrdkaBuQfX4xRihDhx8nt31Fb2/X6OXNiGFiB1 fKGfCQ7MTkVTk6ibW6fYqhVd3FhL6A4mwPoFi/ImK1rsCJLhQ6LDbZEok3Tfve0JhJbr+C uf2keGf7cwU2+9qrZfcVszg8Dn4BVU1Y+oWsYaFjz4Vp1cqh6uyZUSzVjnR/tUwCXv1bkG pWEfe2GDHJdsYKCqpb4WfvaXfR0+o5UCVeXwIh0BEDcXsHrRig4npM3MYtlX7+DigYjMA1 KRaYXdraiZeEnRWHfJ6N7VeHl5z5SQchOPrYjk8ns5gUIj/a6CFu681bZS80bA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuta.io header.s=s1 header.b=i2EPncee; 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=gnu.org 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 187E35226D for ; Fri, 5 Jan 2024 14:39:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLkPP-0000Vn-Qv; Fri, 05 Jan 2024 08:38:48 -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 1rLkPL-0000VX-Ux for guix-devel@gnu.org; Fri, 05 Jan 2024 08:38:43 -0500 Received: from w1.tutanota.de ([81.3.6.162]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rLkPI-0002Rx-JD for guix-devel@gnu.org; Fri, 05 Jan 2024 08:38:42 -0500 Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w1.tutanota.de (Postfix) with ESMTP id A78A6FBF947; Fri, 5 Jan 2024 13:38:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1704461915; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=yjzHHcT15F5v1dfeSv4YBOvPc8Ck8wJwwO1rlbHJfMM=; b=i2EPncee5xZMN3RhwlDjngY95lYcuAABAdwk1h3clY3fzhnbGhUysARzHr8CJFxG ym7xUAMgYbpMQEm80ANvPpPu6tJqFm5rR4cfkCrdb0SQztTm0Jp4yW+iA5gMoo9bYkY CLkc4EHqfCLAETy7Ve4bqUY2ECe/6bLaGcRRcjscsKrdVaHT89ZJUmsm3lpSOdVQSja fLqnt4oduVeWq7g8ZGgosCcHM5y4Dly/IT/7BNz7383AWU6L1phxKPp6LtoKyQON3Dj xjoicphMG5HSSaGA6SKoanoA3zgP3MaNhxhJalSZf4rwtdx/5akPTHro/zgLrKrRWth DK2OfbWDSA== Date: Fri, 5 Jan 2024 14:38:35 +0100 (CET) To: Maxim Cournoyer Cc: guix-devel , Tobias Geerinckx-Rice , Ekaitz Zarraga Message-ID: In-Reply-To: <87plyi5mh3.fsf@gmail.com> References: <87edf4s7vw.fsf@gmail.com> <87o7e6pb00.fsf@gmail.com> <87h6jvoftr.fsf@gmail.com> <87plyi5mh3.fsf@gmail.com> Subject: Re: Suggestion for a guix shell feature. MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7908_1129975013.1704461915679" Received-SPF: pass client-ip=81.3.6.162; envelope-from=apoorvs@tuta.io; helo=w1.tutanota.de 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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: , Reply-to: Apoorv From: Apoorv via "Development of GNU Guix and the GNU System distribution." 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-Spam-Score: -5.27 X-Spam-Score: -5.27 X-Migadu-Queue-Id: 187E35226D X-Migadu-Scanner: mx11.migadu.com X-TUID: s1mVxrbZn2ZE ------=_Part_7908_1129975013.1704461915679 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Tried to use to antioxydant build system, I cannot seem to add it as a chan= nel but was able to clone the repo and authenticate it manually..=C2=A0 the= n=C2=A0 guix build -L . -f antioxidant-packages.scm fails to run with error= , ice-9/eval.scm:223:20: In procedure proc: error: rust-sequoia-ipc-0.26: unbound variable hint: Did you forget a `use-modules' form? I think I am going to stick to adding libs to LD_LIBRARY_PATH manually as i= t works even though I know you said its wrong. --=20 Sent with Tuta; enjoy secure & ad-free emails:=20 https://tuta.com Jan 3, 2024, 17:57 by maxim.cournoyer@gmail.com: > 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 > > --=20 > Thanks, > Maxim > ------=_Part_7908_1129975013.1704461915679 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Tried to use to antioxydant build system, I cannot seem to add it= as a channel but was able to clone the repo and authenticate it manually..=   then  guix build -L . -f antioxidant-packages<= span class=3D"">.scm fails to run with error,
=
ice-9/eval.scm:223:20: In procedure proc:
error: rus= t-sequoia-ipc-0.26: unbound variable
hint: Did you forget = a `use-modules' form?

I think I am going to stick = to adding libs to LD_LIBRARY_PATH manually as it works even though I know y= ou said its wrong.
--
Sent with Tuta; enjoy s= ecure & ad-free emails:
https://tuta.com
=

Jan 3, 2024, 17:57 by maxim.cournoyer@gmail.c= om:
Hi,

Apoorv <apoorvs@tuta.io> writes:
OK, it was my bad I had an older copy of guix.scm file I was passin= g
that, it didn't have cargo-build-system. But now I'm gettin= g so many
other errors related to cargo deps missing or versi= on mismatch, I
tried adding those deps spent like 1-2 hours b= ut something dep was
still missing or version mismatch, final= ly I gave up. I'm not sure how
many deps I have to add like t= his.. 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 h= andling by Guix and Cargo itself, which would
rather take car= e of it.

I'd expect most Rust developpers usin= g Guix only do so to provide
Rust/Cargo, and let Cargo take c= are 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 t= he 'antioxydant' build
system effort started by Maxime Devos = [0], which doesn't rely on Cargo
to build Rust crates (and su= pports dynamic linking of Rust libraries, I
think?).

[0] https://notabug.org/maximed/cargoless-rust-experi= ments

--
Thanks,
= Maxim

------=_Part_7908_1129975013.1704461915679--