* Guix custom channel and gnupg update
@ 2024-11-20 17:39 Michael Dahlberg
2024-11-21 17:41 ` Saku Laesvuori
0 siblings, 1 reply; 2+ messages in thread
From: Michael Dahlberg @ 2024-11-20 17:39 UTC (permalink / raw)
To: help-guix@gnu.org
Hello:
After spending a considerable amount of time researching Guix, I decided to finally make the jump and install in on my main system. My first pain point that I came across was when I needed access to my password-store and found out after a few terrifying hours that my keys are from gpg ver. 2.4.x and Guix only has available gnupg 2.2.39, which is unable to read these keys.
I decided to create a custom channel that includes the latest version of gnupg and its dependent libraries. To do this I used the gnupg.scm file from Guix as a template but modified the versions and hashes of the relevant package definitions. I then used my gnupg.scm file and did a test build and was able to successfully build the latest version of gnupg, and its libraries.
I then created a signed git repo with the custom channel and included it in my ~/.config/guix/channels.scm. A guix pull recognizes my channel and apparently everything is signed as it should be since it seems to be pulled in without errors. However, when I then run
guix show gnupg
or
guix package --list-available | grep gnupg
the only version of gnupg that is available to me is the 2.2.39 from %default-channels
My channel introduction is correct, although my commits are signed with my gpg 2.4.x key. The ascii-armor version of my public key is contained in the origin/keyring branch.
So, I've run out of things to check as to why my package definitions are not being built when I do a
guix pull
and why I'm not seeing them listed in the available list of packages.
I'm open to any troubleshooting suggestions or places to look for errors. Also, if it would be of benefit to see any of my scheme files, I'm happy to provide them.
Thanks VERY MUCH!
Mike
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Guix custom channel and gnupg update
2024-11-20 17:39 Guix custom channel and gnupg update Michael Dahlberg
@ 2024-11-21 17:41 ` Saku Laesvuori
0 siblings, 0 replies; 2+ messages in thread
From: Saku Laesvuori @ 2024-11-21 17:41 UTC (permalink / raw)
To: Michael Dahlberg; +Cc: help-guix@gnu.org
[-- Attachment #1: Type: text/plain, Size: 1482 bytes --]
> I decided to create a custom channel that includes the latest version
> of gnupg and its dependent libraries. To do this I used the gnupg.scm
> file from Guix as a template but modified the versions and hashes of
> the relevant package definitions. I then used my gnupg.scm file and
> did a test build and was able to successfully build the latest version
> of gnupg, and its libraries.
Have you renamed the module defined in your copy of gnupg.scm? If it is
still (gnu packages gnupg) it will probably be shadowed by the module in
base guix.
> I then created a signed git repo with the custom channel and included
> it in my ~/.config/guix/channels.scm. A guix pull recognizes my
> channel and apparently everything is signed as it should be since it
> seems to be pulled in without errors. However, when I then run
>
> guix show gnupg
> or
> guix package --list-available | grep gnupg
Have you checked that the guix command you are using is not the system
default (/run/current-system/profile/bin/guix)? Normally it isn't, but
it could have kept it if you were using it before the pull. If this is
the case, it should get fixed just by logging out and back in.
If these don't help you could try running
guix shell -e '(@ (your channel gnupg module) gnupg-variable-name)'
replacing the module and variable name with correct values. This should
either bring the updated gnupg package into a temporary shell session or
give an error that we can use to debug further.
- Saku
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-21 17:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-20 17:39 Guix custom channel and gnupg update Michael Dahlberg
2024-11-21 17:41 ` Saku Laesvuori
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.