From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: hardcoded $HOME/.guix-profile in kdevelop Date: Mon, 04 Sep 2017 21:17:44 +0200 Message-ID: <87tw0iuvc7.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dowsl-0003WF-JT for guix-devel@gnu.org; Mon, 04 Sep 2017 15:18:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dowsg-0005Lw-SF for guix-devel@gnu.org; Mon, 04 Sep 2017 15:18:03 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: thomas.danckaert@gmail.com Cc: guix-devel Hi, I just stumbled upon commit 2f4d08ee7f897e254c6e533ad2d69c7fe4998f38 while looking for an example of a package that uses QT_PLUGIN_PATH. I noticed that the above commit unconditionally adds “$HOME/.guix-profile” to the XDG_DATA_DIRS. I think we should not hardcode the default user profile directory in application wrappers. Is it really necessary to add “$HOME/.guix-profile” to XDG_DATA_DIRS in the wrapper? Will the package fail to work when it is installed to a different profile? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net