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 eEgeMNDb4V9PEAAA0tVLHw (envelope-from ) for ; Tue, 22 Dec 2020 11:43:12 +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 MPLyK9Db4V9nNAAAbx9fmQ (envelope-from ) for ; Tue, 22 Dec 2020 11:43: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 EA1E39401CD for ; Tue, 22 Dec 2020 11:43:11 +0000 (UTC) Received: from localhost ([::1]:55442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krg4L-0001Tr-5z for larch@yhetil.org; Tue, 22 Dec 2020 06:43:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krg4E-0001TX-8P for bug-guix@gnu.org; Tue, 22 Dec 2020 06:43:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37541) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1krg4E-0002E8-0x for bug-guix@gnu.org; Tue, 22 Dec 2020 06:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1krg4D-0007SI-V6 for bug-guix@gnu.org; Tue, 22 Dec 2020 06:43:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45360: Cannot log in to GNOME on foreign distro with Guix Resent-From: Carlo Zancanaro Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 22 Dec 2020 11:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45360 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Evan Straw Received: via spool by 45360-submit@debbugs.gnu.org id=B45360.160863735228618 (code B ref 45360); Tue, 22 Dec 2020 11:43:01 +0000 Received: (at 45360) by debbugs.gnu.org; 22 Dec 2020 11:42:32 +0000 Received: from localhost ([127.0.0.1]:49087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krg3k-0007RV-3o for submit@debbugs.gnu.org; Tue, 22 Dec 2020 06:42:32 -0500 Received: from zancanaro.com.au ([45.76.117.151]:44886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krg3i-0007RJ-58 for 45360@debbugs.gnu.org; Tue, 22 Dec 2020 06:42:30 -0500 Received: by zancanaro.com.au (Postfix, from userid 116) id 1063F20C71; Tue, 22 Dec 2020 11:42:28 +0000 (UTC) Received: from jolteon (unknown [27.96.215.68]) by zancanaro.com.au (Postfix) with ESMTPSA id CD54320C68; Tue, 22 Dec 2020 11:42:26 +0000 (UTC) References: <87v9cu4cyg.fsf@gmail.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Carlo Zancanaro In-reply-to: <87v9cu4cyg.fsf@gmail.com> Date: Tue, 22 Dec 2020 22:42:25 +1100 Message-ID: <87tuseoyn2.fsf@zancanaro.id.au> MIME-Version: 1.0 Content-Type: text/plain; format=flowed 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: , Cc: 45360@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.32 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: EA1E39401CD X-Spam-Score: -2.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: 25+bcfDfzriD Hi Evan! On Tue, Dec 22 2020, Evan Straw wrote: > ... When I add a package (like stumpwm) that needs to set > XDG_DATA_DIRS, the problem seems to reappear. ... I think I've had this problem in the past. I'm currently running on a foreign distribution, and I have this in my ~/.profile file: # XDG_DATA_DIRS often starts off empty, but an empty value is # interpreted as this value. Loading a profile can set it, though, # which effectively ignores the default value. We want it to # instead add to the default, so we set it here to the default # value. if [ -z "$XDG_DATA_DIRS" ]; then export XDG_DATA_DIRS="/usr/local/share/:/usr/share/" fi I think I took the default value from https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html where it says: If $XDG_DATA_DIRS is either not set or empty, a value equal to /usr/local/share/:/usr/share/ should be used. I hope that helps! > Is this a bug, or is it possible I've just misconfigured > something? We should consider this a bug, because Guix's attempt to add to the XDG_DATA_DIRS environment variable clobbers the default value that foreign distributions are relying on. We should at least document this in the manual, maybe in "(guix) Application Setup". Carlo