GNU bug report logs

#20255 'search-paths' should respect both user and system profile.

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #112 received at 20255@debbugs.gnu.org (full text, mbox, reply):

Received: (at 20255) by debbugs.gnu.org; 29 Jun 2021 17:29:02 +0000
From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 29 13:29:02 2021
Received: from localhost ([127.0.0.1]:55241 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1lyHXi-00031u-8J
	for submit@debbugs.gnu.org; Tue, 29 Jun 2021 13:29:02 -0400
Received: from mail-lj1-f182.google.com ([209.85.208.182]:38497)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alezost@gmail.com>) id 1lyHXg-00031Z-At
 for 20255@debbugs.gnu.org; Tue, 29 Jun 2021 13:29:01 -0400
Received: by mail-lj1-f182.google.com with SMTP id x20so25330346ljc.5
 for <20255@debbugs.gnu.org>; Tue, 29 Jun 2021 10:29:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=5GC+0M+Ew3B7iu5Re6kh+StjbrlECHUVyd8mnr9smkk=;
 b=YuP4bFL4ybEb3SSr8lAz8wMYuRp3biBSRDoeuM3ylM5a4OlMmwy/lS554YCGckCRwL
 052N0G5X0teb+TzW1mxXcQVCffxvxfSy/iFGqoJV/+bOVbCGjL86mkTtEuayYjp3BUH6
 Hm2iTlw7hFIYfipr29ke2jSI1MGL+6xafgYaHP7NrnXTXOuT4xQXeO9JPQAxz6RpxLiV
 KR8zP09iZqLdwiahDTJrxu8ih+deYB8JQVyCXHjgd5xJJn222nCBjKm/p3EG2s7k4SUY
 j5k7SWBWqW6mGs5ESxgjqqNwS4z05Iw5Q49I9Eb5c67uKOGl5AUHzKtXfKcirJF4sQQG
 9Eew==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=5GC+0M+Ew3B7iu5Re6kh+StjbrlECHUVyd8mnr9smkk=;
 b=ByGOrfeE+yNralxLHpEmuLktx6ctlVLDvh3tSeIafc214S2BKjCXJDvIvMS79qG4nY
 UMj4FykDmSua4bDrCuX4SjoltOiwd0AlJGzCwGotN6POcNJm4JrmYJqBnAM4G+b50/hx
 C69NR5XNehfJxToayoL8ymv4/UXyC4o8aMpH13FCbmnFU9ky+soZNHDVZQhSYGYgDCWZ
 vVCBUn9QaKgqOL6WK+qeGCSJQLrkE3ChThWiP9MXbwnmzHTLENJKs3J2qXCPtBkpATfa
 PMQXbVMUPlrM1xF23kr99l2dQJeJTXeq/iwbz6WKCb6SCTiMoIUltuDyizJfpWZgMlpB
 VShg==
X-Gm-Message-State: AOAM53165pRsnObxbbW7THM9e2cBaqNlRWSyklo3/fUmDj4zfvtOBUfZ
 T7SdqJHQIPq+Hq2nBRLIKfE=
X-Google-Smtp-Source: ABdhPJz/uskR8HNH+ZWAMWmJhP/RtYpnbfJBxiQHrCJlX9IbQoebk7B/XUpc0dJceVsXqJW1m1LXWw==
X-Received: by 2002:a2e:969a:: with SMTP id q26mr4750630lji.89.1624987734122; 
 Tue, 29 Jun 2021 10:28:54 -0700 (PDT)
Received: from leviafan ([217.107.194.17])
 by smtp.gmail.com with ESMTPSA id h3sm1681423lfg.204.2021.06.29.10.28.49
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 29 Jun 2021 10:28:51 -0700 (PDT)
From: Alex Kost <alezost@gmail.com>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: Re: bug#20255: 'search-paths' should respect both user and system
 profile.
References: <CAJ3okZ3pg6q=Z29tfuDtdCwRrC6FYbFma_qAtAb2mVw4CTMW3A@mail.gmail.com>
 <87eeun97ur.fsf@gmail.com> <874kdlxsfl.fsf_-_@gmail.com>
 <8735t3d3wf.fsf@gmail.com> <87im1ywq64.fsf@gmail.com>
Date: Tue, 29 Jun 2021 20:29:08 +0300
In-Reply-To: <87im1ywq64.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 28
 Jun 2021 00:48:03 -0400")
Message-ID: <8735t0inq3.fsf@gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 20255
Cc: iyzsong@gmail.com, 20255@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Maxim Cournoyer (2021-06-28 00:48 -0400) wrote:

> Alex Kost <alezost@gmail.com> writes:
[...]
>> I can modify /etc/profile with any "normal" linux distribution but I
>> cannot do it with the Guix System.  And I find it awful that you think
>> it should stay like that.  I am for providing as much freedom for a user
>> (to configure their system) as possible.
>> The current /etc/profile is bearable for me, but if you add a "guix ..."
>> call there without providing a way to modify that file, I will probably
>> stop using the Guix System.
>>
>> Or maybe there is a hacky way to change /etc/profile ?  If so, please
>> share a code how this can be done.  (Then I will not complain anymore)
>
> Thanks for the reply!  I just wanted to make sure the extra energy to be
> spent on the search & implementation of a better solution would not be
> in vain; now I that know that it won't!
>
> I like the idea proposed by Leo Prikler; the one about giving the
> possibility to users to override the list of default profiles considered
> under a file such as ~/.config/guix/default-profiles.
>
> The default would be to load both combine the environment variables of
> the system and user profiles using 'guix package --search-paths', but a
> user could opt-out of that by providing an empty file, or customize the
> list of profiles the way they'd like.
>
> Would that be an acceptable solution from your point of view?

Sure!  Any solution that I can configure for my needs is good for me,
thank you!

-- 
Alex




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Sep 7 09:08:19 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.