unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: david larsson <david.larsson@selfhosted.xyz>
To: Felix Lechner <felix.lechner@lease-up.com>
Cc: Guix Devel <guix-devel@gnu.org>,
	guix-devel-bounces+david.larsson=selfhosted.xyz@gnu.org
Subject: Re: Deploying experimental versions of Guix
Date: Wed, 03 May 2023 21:20:43 +0200	[thread overview]
Message-ID: <9bd3a035f09f96a127ea242f6e01f13b@selfhosted.xyz> (raw)
In-Reply-To: <CAFHYt56yvC2=qL127ZRkm_BrDftUkdXMo14xAW5TH9aS8kMuhQ@mail.gmail.com>

On 2023-05-02 15:44, Felix Lechner via "Development of GNU Guix and the 
GNU System distribution." wrote:
> Hi,
> 
> I'd like to test changes to (gnu system pam). How may I configure my
> system, preferably using "deploy," please, while also pulling from my
> custom channels?

Hi Felix,

I think creating a custom profile with a channels file containing a 
'guix channel pointing to your modified guix version, and more custom 
channels as you wish (add to the same list), should solve it:

#+begin_src bash
guix pull -C custom-channels.scm --profile=/tmp/myguix-and-channels 
--disable-authentication
#+end_src

See: 
https://guix.gnu.org/manual/en/html_node/Using-a-Custom-Guix-Channel.html

You can then source the profile, and after that either reconfigure your 
system as normal, or I suppose guix deploy will use the current profile 
so that should also work:

#+begin_src bash
GUIX_PROFILE="/tmp/my-guix-and-channels"
. "$GUIX_PROFILE/etc/profile"
which -a guix
# should print /tmp/my-guix-and-channels/bin/guix
#+end_src

> 
> I briefly considered shipping a customized (gnu system pam) under a
> different name in my own channel, but the module is being consumed in
> too many places. Ideally, I would somehow shadow the official (gnu
> system pam). Thanks!

I wish "shadowing" specific files was possible too. Would really make 
hacking on guix much easier via custom channels.

Best regards,
David


  reply	other threads:[~2023-05-03 19:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-02 13:44 Deploying experimental versions of Guix Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-05-03 19:20 ` david larsson [this message]
2023-05-04 11:19   ` Csepp
2023-05-08  0:46   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9bd3a035f09f96a127ea242f6e01f13b@selfhosted.xyz \
    --to=david.larsson@selfhosted.xyz \
    --cc=felix.lechner@lease-up.com \
    --cc=guix-devel-bounces+david.larsson=selfhosted.xyz@gnu.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).