From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0IL0CJTtoGHaWAAAgWs5BA (envelope-from ) for ; Fri, 26 Nov 2021 15:22:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yOOGBJTtoGFsRwAAbx9fmQ (envelope-from ) for ; Fri, 26 Nov 2021 14:22:12 +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 267F91D924 for ; Fri, 26 Nov 2021 15:22:11 +0100 (CET) Received: from localhost ([::1]:33682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqc77-0007ve-25 for larch@yhetil.org; Fri, 26 Nov 2021 09:22:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqc70-0007vP-9E for bug-guix@gnu.org; Fri, 26 Nov 2021 09:22:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47470) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqc70-0001Rw-1E for bug-guix@gnu.org; Fri, 26 Nov 2021 09:22:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mqc6z-0007DI-Sx for bug-guix@gnu.org; Fri, 26 Nov 2021 09:22:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52107: An Idea Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 26 Nov 2021 14:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52107 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nicholas von Klitzing , "52107@debbugs.gnu.org" <52107@debbugs.gnu.org> Received: via spool by 52107-submit@debbugs.gnu.org id=B52107.163793649827695 (code B ref 52107); Fri, 26 Nov 2021 14:22:01 +0000 Received: (at 52107) by debbugs.gnu.org; 26 Nov 2021 14:21:38 +0000 Received: from localhost ([127.0.0.1]:59016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqc6c-0007Cd-9U for submit@debbugs.gnu.org; Fri, 26 Nov 2021 09:21:38 -0500 Received: from michel.telenet-ops.be ([195.130.137.88]:46304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqc6a-0007CU-AQ for 52107@debbugs.gnu.org; Fri, 26 Nov 2021 09:21:37 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id P2Ma260084UW6Th062MaTB; Fri, 26 Nov 2021 15:21:34 +0100 Message-ID: <7e36114357dd0ccd37490ed3b422364c709d60a3.camel@telenet.be> From: Maxime Devos Date: Fri, 26 Nov 2021 14:21:34 +0000 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1637936494; bh=HrvxBURLyIn7c+wACCSlHw1MTzfEFb0yc2r1m7o9unA=; h=Subject:From:To:Date:In-Reply-To:References; b=VUpE4SYkoZFLawFBqw7T6YGRmcd1/ZpEHGFfCqAjzVRbtXrRTPv6xlPE9EiX9hJjt wWRIBgbtLIhkWFvsHdO8mxLd7nXVgcIOiIRd9xY9zBj4B/PlpnMB5WrBxVLpAWvtjK YT7qd/JUP6ppzqPGcUm6rPHggIYsTEctDMmhqudClzFEAJkeQh8GzgmmgfhvgMJk6K ALyy8z9kbFDSJJjkoYuuYar1OL1v15wr/IxAQhZvSCnuNCRWQNaQxYWGjqS0KvJGGv V1eOlQDd2zyU2lFikGVra7l+ABU4tRE1NarTPQhPGTzwgS7QDCVsYzPZU/EeLr9rBy va+xTUtlLoUmQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637936531; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=HrvxBURLyIn7c+wACCSlHw1MTzfEFb0yc2r1m7o9unA=; b=b+1B/hZJgFx9+MxXH9437kNXgrJpuf6KzVYBGxk6F8HP5FQ0FsD2myHQVkoiKo2ZBFD2H4 y4PIHeGci5aslk0tBnkh/LsWaPv4O4T2DMVj0su1be6FFCbvByXwI2uF0WpGUM7eSI1R0R mhCXfXoKFjlKUpE1iZCuQwWocoP9oN5LaHmmur76lmhGDwroJctX3LFJhtxo11p+6gQvGw H9Q0iVjtNPoRXk9J2vO5D5KzM1uIvlMycslcuNIxMysF+0exJlcmmKkPX7j9fZIQ2x3KA2 KeAFcbxO1zhDB3GzFOR0ZAX1QMRFi+RSxBxtYEy5+32Rgki6f1hTIcO2yTjN2g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637936531; a=rsa-sha256; cv=none; b=hbJQFqP78czXeqBtYfVsisw9Y9c5tmMe4aHOf5hvoBnlSqm2ZZM0ps/KRhYDU0Tf8QHLKd AfFdJg3/qTnPhPXsMxShxcYAvlvcIwborWcM/F+n9lLmiftywYOxmrFsxfl5cdVQZUl/Pf Zl9kSjz/RDjPqjRrCITQFmC/STT0JitG3iJ0B2oaHUgtl43ZDQWtzB+gu74H6a/e6P4MJI tRsEIz/4+nDJyNXq2QQcGUt9Yvdo2DM4vRgIihyBOPZEjHojwDKvJAXJR9KLGZ/wZuCjYz 57pnbzUchIVjjkdjwiGY2Mauyko+FQjW1GOkUiYzvhJFAWAMGMykObug6bQolQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=VUpE4SYk; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=VUpE4SYk; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 267F91D924 X-Spam-Score: -1.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: sHl6hc82LKyM Nicholas von Klitzing schreef op vr 26-11-2021 om 09:42 [+0000]: > Just to get the ball rolling, here is a possible idea. > > It might makes sense to add an additional output to the rust package > `src` and then require this by the rust-analyzer package as > `rust:src`. I'd use a native-search-path instead of a wrapper setting the environment variable, such that rust-analyzer can be used with any version of rust and the user can override the source code used. > In the rust-analyzer package we could then copy a thing from > `icedove-wayland`: > [ >  ...]           (call-with-output-file exe >               (lambda (port) >                 (format port "#!~a > ;; This style of overriding environment variables could be used for > ;; RUST_SRC_PATH, although I am not sure if this is the idiomatic > ;; way to do it. >  MOZ_ENABLE_WAYLAND=1 exec ~a $@" 'wrap-program' could be used here, instead of manually making shell scripts. Greetings, Maxime