From mboxrd@z Thu Jan 1 00:00:00 1970 From: Meiyo Peng Subject: Re: XDG_DATA_DIRS issue in execution environment on LTSP Date: Thu, 28 Mar 2019 19:51:18 +0800 Message-ID: <87d0mbdxop.fsf@riseup.net> References: <87r2asweu1.fsf@roquette.mug.biscuolo.net> <878swz930e.fsf@riseup.net> <8736n7b5w3.fsf@roquette.mug.biscuolo.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9TZ7-0007a7-CO for guix-devel@gnu.org; Thu, 28 Mar 2019 07:51:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h9TZ6-0000zC-Cf for guix-devel@gnu.org; Thu, 28 Mar 2019 07:51:25 -0400 Received: from mx1.riseup.net ([198.252.153.129]:50442) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h9TZ6-0000yv-2X for guix-devel@gnu.org; Thu, 28 Mar 2019 07:51:24 -0400 In-reply-to: <8736n7b5w3.fsf@roquette.mug.biscuolo.net> 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: Giovanni Biscuolo Cc: guix-devel@gnu.org Hi Giovanni, Giovanni Biscuolo writes: >> #+begin_src fish >> if status is-login || status is-interactive >> set -gx MY_PROFILE "$HOME/.guix-profile" >> >> # Guix on foreign distros. >> # This test is a dirty hack. >> if test -d /var/guix && ! test -L /run/current-system > > This is to distingush if Guix is running natively (which means we do not > need to "manually" set our env) from Guic on forein distros: right? Right. Guix System (the former GuixSD) takes care of all the details for us. So we don't need to manually set these environment variables for Guix System. -- Meiyo Peng https://www.pengmeiyu.com/