[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to access private channel
From: |
Chris Marusich |
Subject: |
Re: How to access private channel |
Date: |
Fri, 09 Jul 2021 18:42:35 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Lo Peter <peterloleungyau@gmail.com> writes:
> Dear all,
>
> I am experimenting with setting up a private channel as a private
> github repository, then I prepared a channels file for testing:
>
> (list (channel
> (name 'guix)
> (url "https://git.savannah.gnu.org/git/guix.git")
> (commit "9904a15a4c838362673c1affdbaf1e83d92fe8ff"))
> (channel
> (name 'my-guix-pkgs)
> (url "git@github.com:peterloleungyau/my-guix-pkgs.git")
> (commit "b51d236ebbbdd134bafb64e5092342a2d058ec2a")))
>
> Then I try it with:
> $ guix time-machine -C channels.scm --disable-authentication --
> environment --ad-hoc python-radian
> Updating channel 'guix' from Git repository at
> 'https://git.savannah.gnu.org/git/guix.git'...
> guix time-machine: warning: channel authentication disabled
> Updating channel 'my-guix-pkgs' from Git repository at
> 'git@github.com:peterloleungyau/my-guix-pkgs.git'...
> guix time-machine: error: Git error: Failed to retrieve list of SSH
> authentication methods: Failed getting response
>
>
> So it seems the guix daemon cannot use the SSH of my user to access
> the private git repository? How to get around this? Thanks in advance.
Does it work if you don't try using "time-machine"? For example:
guix pull -C channels.scm --disable-authentication
Followed by:
guix environment --ad-hoc python-radian
Does that work? I wonder if the "time-machine" part doesn't properly
handle channels fetched over SSH.
--
Chris
signature.asc
Description: PGP signature