From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id cI5gBWyXY2XpQAEAG6o9tA:P1 (envelope-from ) for ; Sun, 26 Nov 2023 20:07:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cI5gBWyXY2XpQAEAG6o9tA (envelope-from ) for ; Sun, 26 Nov 2023 20:07:24 +0100 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 13DE911765 for ; Sun, 26 Nov 2023 20:07:23 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=imad.nyc header.s=key1 header.b=BmvxUuHF; dmarc=pass (policy=quarantine) header.from=imad.nyc; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701025644; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=TkpQVtQnczK5/8rox1TuFvPyAFb0pTadhmvekK27Grc=; b=E7jztm5dwuwIaIeF8kDh5JK8iNLjZq5F7cVS/ealvTZV4J46cS11pUQ49n+4jESMlZzSry +SbipyeQPc6hXu/x9UXVnv4g/XVQTabyBTQ6IOWsHIcKNtD2HHmJFQjIv2v4qnhXNTtBsh JQUTpBzSQ1xoosrNsTwTPqO1eaQd7AAG+BWZ+BfYXlCpJ78r0mFzN5SWrIhtIN3hjtic28 +OHUQ8z1lKFQlRURB/gWjFVXqBox60dF8nwLtlib/wfaoLg3tHfmGnAUq8qG2VCCRGDai/ E7og+sMmVfzZZtQEUUAqot9SoR0uZgac8W8+pzjTNla5oGcdi/1xIzqQciExxw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701025644; a=rsa-sha256; cv=none; b=EtdS2SO473BX7XIqWzKhl2WxYkD5JlKi2pE++oVcqROCVwFcARS3nBc6kb+kU0tBexzSV9 nSd+/P24eg2Mw9ShiGyR1EADF2oI2uWfL7wZebbJajWJVYhKyRWjqGATpfoTus1OqXMO0J IqUy4BLK1tk7Y5oYeY25++TGJyI4U7CUeGqKT23qOyg8xM9hKA121ZCR+/0ytl/PBZIHNg 2jJsYewHiwEVFtm/4JMiyMYlxYCiDuNkXonjQVo2WX7zfaad/fWOApA/gY61nPR1MLFKIj K6OKdNCrG3G6Eoq5LCRVJS2Q6b5hjOpzFUv964861rjk+hr556vxmHmvTlLZ0Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=imad.nyc header.s=key1 header.b=BmvxUuHF; dmarc=pass (policy=quarantine) header.from=imad.nyc; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7KTB-00076s-1S; Sun, 26 Nov 2023 14:07:05 -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 1r6vQt-00012b-21 for help-guix@gnu.org; Sat, 25 Nov 2023 11:23:04 -0500 Received: from out-183.mta0.migadu.com ([91.218.175.183]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r6vQq-0000zl-Jn for help-guix@gnu.org; Sat, 25 Nov 2023 11:23:02 -0500 Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=imad.nyc; s=key1; t=1700929373; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TkpQVtQnczK5/8rox1TuFvPyAFb0pTadhmvekK27Grc=; b=BmvxUuHFj9h5wwgwmRE6amTG/0eOcD+OkqgTeMUYtPXv3F4GPeAi98AEs7+ycLssGFQn/g ZX4fgG9MUxQOiLdDwkzzjVLVpJ81W1mFpb7mKTGUpqSy17/BPNyIb1O4B+BroYy/3i0mJa rgTHG5eXZGHPC2NglYqWJt/0XOPeUYjGV11fF0j1WJ1/ZCUuCw2wQUfDBAukMTnu6AXKRF /pKBHc7YsGsE733g05sD25tpH752wxRavH8E8QlKi7kHgjXJniQcEOnMYeEE6OtzkogbKO 9m3IqUHMuubiG4JvK1zTmsDhd8WQzyLkGdEXS+/BgJwD5IeY5s652RuODvTS7g== Date: Sat, 25 Nov 2023 11:22:46 -0500 MIME-Version: 1.0 Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Abdullah Imad To: help-guix@gnu.org Subject: Confusion regarding rust packages in guix Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=91.218.175.183; envelope-from=me@imad.nyc; helo=out-183.mta0.migadu.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, 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-Mailman-Approved-At: Sun, 26 Nov 2023 14:07:02 -0500 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -6.28 X-Spam-Score: -6.28 X-Migadu-Queue-Id: 13DE911765 X-TUID: jrvmQBJfBO89 Hello, I'm trying to package [helix](https://github.com/helix-editor/helix), a text editor written in rust. I'm unsure how to write the actual package though. The layout is seemingly straight forward - I found a random rust package already in guixpkgs and just copied the config - but when it comes to `cargo-inputs` and `cargo-development-inputs`, I'm not sure what to do. Do I have to define every single variable in `cargo.lock`? For bigger projects this seems like an incredible amount of work. Why does the guix system require packages to be pulled from guix repos when nix just reads the `cargo.lock` and pulls it from crates.io or something? Is that not also deterministic, since that's the entire point of the `cargo.lock` file? In the flake that helix provides : https://github.com/helix-editor/helix/blob/master/flake.nix , the individual dependencies are not defined. Am I missing something, or is this just how its done? Thanks, Abdullah Imad