From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sGUBAuum3F/SIwAA0tVLHw (envelope-from ) for ; Fri, 18 Dec 2020 12:56:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eD1SOeqm3F9+YQAAbx9fmQ (envelope-from ) for ; Fri, 18 Dec 2020 12:56:10 +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 CB9B89404FF for ; Fri, 18 Dec 2020 12:56:09 +0000 (UTC) Received: from localhost ([::1]:38158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqFIl-0008Rr-NJ for larch@yhetil.org; Fri, 18 Dec 2020 07:56:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqFIX-0008Rg-9N for help-guix@gnu.org; Fri, 18 Dec 2020 07:55:55 -0500 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21017) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqFIR-0008RB-Gv for help-guix@gnu.org; Fri, 18 Dec 2020 07:55:53 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1608296144; cv=none; d=zohomail.com; s=zohoarc; b=CVuReQlGID/qFZNhKS9wTvZtfnSeYcKwH3IITHQP25YVSWlTAjw+IqEcG7ZHUeSbPYGDmvzodn6nloHDayzukm5z3I/3ESCQfMkiWEJijHdkalfHNnKmL2DxyQi/E6s8Qs9Ft8dlJF0PCt8/8me5IKuxuGS6wYej1xC6uoVqAzE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1608296144; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=fudeZHqHlAjk8NozxE6A0NHzWqUPbTbcJOUJnPsD1Vk=; b=kITK6qikcSaLIBbczG0pJvG2OPkNjPRRy5L8MmvZb58Z3kPCXhVJBOb/15xvCAyp0Sb4iwjXcj92BBw786vJEAZdRQ0ast1QHaDOWGqiCLJzjukHYtv6Gv8sz8fDSDD7h7bgBPDrjIg2qRHCgLDNG/K8tneW164wmdFSFaJ+y00= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1608296144; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; bh=fudeZHqHlAjk8NozxE6A0NHzWqUPbTbcJOUJnPsD1Vk=; b=Yg1GOtjjAZOrk7NFkkEDhWKfq7j6v3MKEP/EId7a5glqbZEhflO/kiQP9Qq8fx6d afcvzREBp6BeMcoLGnSyNy6k9tdcApCsbbv+qWqKzA7tP3jMQSsj/9lraGd0gjDeGk9 yHkjufC0WU21NSsSSRjYnheqBvbujVfa9lKNe3sA= Received: from localhost (p54ad49ce.dip0.t-ipconnect.de [84.173.73.206]) by mx.zohomail.com with SMTPS id 1608296142975330.889654911688; Fri, 18 Dec 2020 04:55:42 -0800 (PST) References: <87h7ov0vxl.fsf@disroot.org> <87h7ou1yxf.fsf@ambrevar.xyz> <861rfxj0lx.fsf@gmail.com> <87wnxgf3hh.fsf@disroot.org> <867dpfools.fsf@gmail.com> <875z4z4v6s.fsf@zancanaro.id.au> <86h7ojmqtq.fsf@gmail.com> <8736034fsk.fsf@zancanaro.id.au> <87wnxf75s9.fsf@web.de> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: "Dr. Arne Babenhauserheide" Subject: Re: Can I easily install GNU Emacs 27.1.50 via Guix? In-reply-to: <87wnxf75s9.fsf@web.de> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 18 Dec 2020 13:55:39 +0100 Message-ID: <87v9czmfxw.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.50; envelope-from=rekado@elephly.net; helo=sender4-of-o50.zoho.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, RCVD_IN_DNSWL_NONE=-0.0001, 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: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 1.68 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=elephly.net header.s=zoho header.b=Yg1GOtjj; arc=reject (signature check failed: fail, {[1] = sig:zohomail.com:reject}); dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: CB9B89404FF X-Spam-Score: 1.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: x9TTTpx4cb83 Dr. Arne Babenhauserheide writes: > Carlo Zancanaro writes: >> One may argue that the system is functioning correctly, and this is an >> unfortunate consequence of the way that Guix works. I would still >> consider the faulty behaviour a bug - even if it is a result of >> intentional decisions made in Guix's design. Running evince (i.e. >> /usr/bin/evince) is failing because of an environment variable that >> Guix's wrapper sets for emacs. That environment variable is propagated >> to child processes (as environment variables are), and in this >> instance that causes the child process to misbehave. This is a bug >> caused by Guix's wrapping of emacs. > > In practical terms: You would expect Guix to rename the environment > variable and also patch all guix-installed programs so that they use the > renamed variable without affecting any non-Guix-Program? Yes. I agree that the current behaviour is a whole class of bugs that exists because of confusion between non-Guix binaries and Guix binaries, such as binary plugins loaded indiscriminately from locations in environment variables. It is a difficult but, in my opinion, necessary project, to prefix all these variables and to patch packages to use the prefixed variables for augmentation, while also making sense of the unprefixed variables (e.g. setting PYTHONPATH to make more Python modules available without having the program use PYTHONPATH by itself). This is best investigated for each package individually. The worst offenders in my opinion are the XDG variables and things like PYTHONPATH, GTK_PATH, etc. -- Ricardo