From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UJXuJqQGoGGFLAEAgWs5BA (envelope-from ) for ; Thu, 25 Nov 2021 22:56:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2O6nIqQGoGGDGQAA1q6Kng (envelope-from ) for ; Thu, 25 Nov 2021 21:56:52 +0000 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 AC9D62A5B9 for ; Thu, 25 Nov 2021 22:56:47 +0100 (CET) Received: from localhost ([::1]:41198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqMjW-0005hF-Pa for larch@yhetil.org; Thu, 25 Nov 2021 16:56:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqG8R-0004IF-3r for bug-guix@gnu.org; Thu, 25 Nov 2021 09:54:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqG8Q-0007et-Px for bug-guix@gnu.org; Thu, 25 Nov 2021 09:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mqG8Q-0000uZ-Kh for bug-guix@gnu.org; Thu, 25 Nov 2021 09:54:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52107: rust-analyzer shipped broken without rust-src Resent-From: Nicholas von Klitzing Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 25 Nov 2021 14:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52107 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 52107@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.16378520223433 (code B ref -1); Thu, 25 Nov 2021 14:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Nov 2021 14:53:42 +0000 Received: from localhost ([127.0.0.1]:56303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqG86-0000tJ-Di for submit@debbugs.gnu.org; Thu, 25 Nov 2021 09:53:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:33210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqG81-0000t4-Qp for submit@debbugs.gnu.org; Thu, 25 Nov 2021 09:53:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqG81-0004HZ-K2 for bug-guix@gnu.org; Thu, 25 Nov 2021 09:53:37 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]:52719) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqG7x-0007V4-V3 for bug-guix@gnu.org; Thu, 25 Nov 2021 09:53:37 -0500 Date: Thu, 25 Nov 2021 14:53:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvk.pm; s=protonmail3; t=1637852003; bh=O4rMqUoutuPuvN+/rPHmM6NQOHsAywj//5FcQ2qUf9w=; h=Date:To:From:Reply-To:Subject:From; b=DDNByAXKKDtGFj3nBBfKgiQdNSqub5+IdLKstEUfbkNiBb0/y51f9eoPSA+XIVIrY s+Yk+G4ORHFn3595N1DIjkTdsirQ1fvAqPsJLWYFmu/y4La27+vw+G9PWPpc0LvKu7 XU+qMRX9+HD9fTgRHoHVH6jcML0G2D+Ayl/yknqANJStEFyFh6L5YJei6W2kMWDa9J Y0x8FUgfIGzqQnQYs0NOaVsvdyGtxs/zt6ECZfRh+LYzWhK6hcMbu2Sm2fqicoaR36 /8pmRMIw2LajtQDsazttF8x2rkKgh8Fg35tc/UDTT1GpebUdpMr1qmTDS5YVacqhwP /xtQK/EGq1q6A== From: Nicholas von Klitzing Message-ID: 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=nicholas@nvk.pm; 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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 25 Nov 2021 16:56:21 -0500 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Nicholas von Klitzing Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637877408; h=from:from:sender:sender:reply-to: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:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=O4rMqUoutuPuvN+/rPHmM6NQOHsAywj//5FcQ2qUf9w=; b=JJnlMoLpXFS7V6xuNXF3OaGbWZTYczcvZGtX496ohEK0nu2mgCK5X+RMVkU0aQSE8LrBmx XPxQj5ibv6tOAYc48x87jcVm/qGjKsxXMWZqqRF+A9eanAlXkIlBvT/bz7k//s+pnWPgEw 9prRjUT88o8BPlRxEuH1RZqqJC/ORK6S89dLzTDc4pKNS5G1XKLHO36se10qT+VAUZ20RZ nDkj9ce4f9aWz9mRoTAAWsrPBk7Nfe/Ucej4QcQhr3ulbsr0Z7TsrXW802eTsycjf4xK6r IjXPOSmUZP2LRMrJHooGQztDvr8U+uugpKR+AyYeHWBP4Uihy+xg8JDamE8+xg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637877408; a=rsa-sha256; cv=none; b=eQfBzF1yA4+q67epZJqSQRX48715cPIbaIvysae6mEtHNkw4XehdiKiimhndUIeyNROpPf uH5ycWISlbX8B2iGfo2lNmztgWNJbcPoN5IPXvz6ge0UT7XwW0seOUiiS+f9D+2NhToCtf biER5fV9NPWG849S/V72VK2z9ZNe8wVKV8WEgjv+6qcBu2vrmkptyVphrZvIZIG+z5cpx4 RDFXaNlUYj5s/FRg6eKpl9/FqVTM35w7BxbB9MxGnya+doLUj/H45Rgpo9HkyrX+S6eb2V BU9k7bAnioF503Un2AdraVWdTzgsBCxdd62veshBmWuEsuiISbZFCkv16Fttzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=nvk.pm header.s=protonmail3 header.b=DDNByAXK; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=nvk.pm header.s=protonmail3 header.b=DDNByAXK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=nvk.pm (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: AC9D62A5B9 X-Spam-Score: -2.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: Ep/L4Sdc2dFp Hello Guix, The rust-analyzer package depends on having a local copy of the rust compil= er (rustc) source code available in order for it to function. Currently, neither the rust-analyzer nor the rust package include rust-src,= which means rust-analyzer is broken by default. On non-guix systems the rustc source code is usually installed using `rustu= p component add rust-src`. The workaround I'm currently using is to run `guix build --source rust` fol= lowed by adding `export RUST_SRC_PATH=3D/home/$user/rustc-$version-src/libr= ary` to ~/.profile following every rust upgrade. rust-analyzer is a crucial tool for many rust developers, so this experienc= e should definitely be improved or at least documented. I am not very familiar with guix and therefore cannot recommend a good way = to solve this. What would possible solutions to this issue be? Kind regards, Nicholas