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 iGjyOhg3HWGQOwAAgWs5BA (envelope-from ) for ; Wed, 18 Aug 2021 18:36:40 +0200 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 KIqKNhg3HWH2IQAAbx9fmQ (envelope-from ) for ; Wed, 18 Aug 2021 16:36:40 +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 46B5329D5A for ; Wed, 18 Aug 2021 18:36:40 +0200 (CEST) Received: from localhost ([::1]:40172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGOYR-0008Vq-7R for larch@yhetil.org; Wed, 18 Aug 2021 12:36:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGOXp-0007n6-Vz for bug-guix@gnu.org; Wed, 18 Aug 2021 12:36:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45875) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGOXp-0000qS-M3 for bug-guix@gnu.org; Wed, 18 Aug 2021 12:36:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mGOXp-0001sb-JZ for bug-guix@gnu.org; Wed, 18 Aug 2021 12:36:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50103: Pulseaudio doesn't export XDG_CONFIG_DIRS Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 18 Aug 2021 16:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50103 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: John Kehayias Received: via spool by 50103-submit@debbugs.gnu.org id=B50103.16293045397197 (code B ref 50103); Wed, 18 Aug 2021 16:36:01 +0000 Received: (at 50103) by debbugs.gnu.org; 18 Aug 2021 16:35:39 +0000 Received: from localhost ([127.0.0.1]:57421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGOXS-0001rw-LQ for submit@debbugs.gnu.org; Wed, 18 Aug 2021 12:35:38 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:46773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGOXP-0001rk-PR for 50103@debbugs.gnu.org; Wed, 18 Aug 2021 12:35:37 -0400 Received: from nijino.local (62-47-226-13.adsl.highway.telekom.at [62.47.226.13]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4GqYRS5QFRz1LBCr; Wed, 18 Aug 2021 18:35:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4GqYRS5QFRz1LBCr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1629304533; bh=0N0g3zyvzLL6bwjazikHnwdUwZMP9xi3hTZ1PL8QSyI=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=QxPZ/1Uqmcq/2jaSugDW9ytRAOLikssET4fpFejroBds7MdgvZZOHqvDysyXFF8A+ nf32+jwmGzMa4/fGYEfH0kGF4QMcf+E7lKnCSVRGl7kQV9ZGNWsgbJlLgr7sTj1xDR q136XpQSmjA/21YD2YT+djQZTd9pNPUiT6HQZAyk= Message-ID: <870c9fb6c492092ef3b5b41b007c160be423fc69.camel@student.tugraz.at> From: Leo Prikler Date: Wed, 18 Aug 2021 18:35:31 +0200 In-Reply-To: References: <8260714867d007d924c151a18ff9c63950ab2fcd.camel@student.tugraz.at> <04f0f93cb3dd7fa70d940f200b00432eaf9004e9.camel@telenet.be> <459e9a0866a72bd3bf792d347e249f854e5654e1.camel@student.tugraz.at> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 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: 50103@debbugs.gnu.org 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=1629304600; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=0N0g3zyvzLL6bwjazikHnwdUwZMP9xi3hTZ1PL8QSyI=; b=Zl5678LY6xtgBuqCsDj9VHlBmHyc9AG+ftuzgun+L7rphrmmtVVLY+yjHZd+gA8kb0NOJP HnAXRfAxiOwCNH5nZ8HhVq4HXJPbMkxJE0+wictEqTd/JnPZl+QXo35fFQgm0X2BCJVB29 uATvO+/EQnrztf+ddzuKiIMBIOPSktZ1u2PePnGfowzTHFKmKXG18McINco/ygse90WN2K LPuDlq6ZGnmKOG55CGPeIf7tuvq0yNA5RHqVcTHYtbrP/puny+meQCUXQX8fIq+0jzS/9d FsdIZuJ7d2EtkHjO13WDf2bRzDDoGR8AvmCJtx/N2/7cNlMlQxOaxpX9MpBAeQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629304600; a=rsa-sha256; cv=none; b=Q2TSApHidz3LO2VyM8BLwCSxtLqb0wgH1RERFk9Wfq3ZqY6/IT9uzyLORvEtlacJdnYRoS bT2vyAXtJXZVKFBrnga+jg7q1lBf/A97SegTU2jrdn1GS+ErgwdEeUROHY+AnDo4nqSPCc aKf7cQO9+fiZo3roGrA2CL0DkG8Nfd4Q8JoCQLlrfra9C9Ckz2HvQu2Q8foKQS3GPZPZlN tmLDmXaKyg5DB+hhC3xBVoIjW0ijouzaHdyrLGix7dQZIPOQEgxH8BDWhvmuQNmNUpQL4l gdXFU0efSSSe01ln7+P+iI4lT1qa4wDsuSI3vhIhRjz5PuaHdikCxh7clud1Aw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b="QxPZ/1Uq"; 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: 0.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b="QxPZ/1Uq"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (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: 46B5329D5A X-Spam-Score: 0.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: EK9uCemYok1M Hi John, For the record, you should try to cite in a way, that lines don't get broken. I have no idea why this is happening Am Mittwoch, den 18.08.2021, 16:06 +0000 schrieb John Kehayias: > Hi Leo, > > On Wednesday, August 18th, 2021 at 11:19 AM, Leo Prikler wrote: > [...] > .config/guix is hardcoded in a few places already isn't it? (or is > that just for root? took just a quick look) Personally, I prefer > everything in .config to keep the home folder cleaner, but we all > know there's a strong mix of things like $HOME/.something and > $HOME/.config/something. $(HOME)/.config is particularly hard-coded in the current /etc/profile, which is why I dub it "fake XDG conformance". I personally disagree with the use for $(HOME)/.config for software packages. > [...] > > I suppose that still leaves the question of search paths. I don't > think I know enough of the internals to have a helpful input here so > far. Handling multiple profiles together would help pull in some > search-paths and maybe alleviate #48538 (dbus)? Would then /etc be > constructed from all the profiles together (by passing this > XDG_CONFIG_DIRS issue)? If it is still /etc in each profile relying > on env to find things, then at least in this case XDG_CONFG_DIRS > still has to appear somewhere. Search paths in profiles could be > good, conceptually works for how profiles are used, to me. For context, `guix package --search-paths' would implement the merged approach IIUC, but then you would have to invoke guix from /etc/profile, which reportedly is not every person's tea. You could still manually source $GUIX_PROFILE/etc/profile, but would then get an incomplete view depending on what your profiles look like. As for the XDG_CONFIG_DIRS, I don't think your scenario is the only possible one, but with things being as they are currently, it is among the likeliest outcomes. Another approach would be to define "precious" search paths, which would be considered even if not explicitly mentioned by any package/profile. (I think this somewhat overlaps with/complements search paths as a first-class manifest citizen). I'm just throwing out ideas here, so you shouldn't necessarily take any of them as *the* solution to all our problems or something that can be easily implemented given the status quo, but if you want, you can take some inspiration from them or try out your own (thought) experiments. Regards