Open Hellseher opened 5 years ago
Hello, I am very sorry for the long delay, I missed this issue :blush:
Sorry, channels are not supported yet. I hope I will look at them soon.
Did you get the chance to look at this? :)
I recall I created a custom "channels.scm" and I did not have any problems. Could you please write what is the exact issue, so that I could reproduce it.
Add a channel to ~/.config/guix/channels, e.g.
(channel (name 'nonguix) (url "https://gitlab.com/nonguix/nonguix.git") (branch "master"))
guix pull
M-x guix-package-by-name RET linux
The linux
package is not found,
while guix search linux
finds it.
Thank you, now I see what problem you mean.
Unfortunately, I can't check it right now as I have the following error after guix pull
:
Updating channel 'nonguix' from Git repository at 'https://gitlab.com/nonguix/nonguix.git'...
Backtrace:
17 (apply-smob/1 #<catch-closure 7fb961735240>)
In ice-9/boot-9.scm:
705:2 16 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>)
In ice-9/eval.scm:
619:8 15 (_ #(#(#<directory (guile-user) 7fb9613c5140>)))
In guix/ui.scm:
1824:12 14 (run-guix-command _ . _)
In ice-9/boot-9.scm:
829:9 13 (catch srfi-34 #<procedure 7fb95920a880 at guix/ui.scm:657:2 ()> #<pr…> …)
829:9 12 (catch system-error #<procedure 7fb95920a920 at guix/scripts/pull.scm…> …)
829:9 11 (catch git-error #<procedure 7fb95920a7a0 at guix/scripts/pull.scm:76…> …)
In guix/store.scm:
625:10 10 (call-with-store #<procedure 7fb953fb61e0 at guix/scripts/pull.scm:772…>)
In guix/status.scm:
768:4 9 (call-with-status-report _ _)
In guix/scripts/pull.scm:
780:37 8 (_)
In guix/channels.scm:
219:4 7 (latest-channel-instances _ (#<<channel> name: nonguix url: "https:/…>) …)
In guix/combinators.scm:
45:26 6 (fold2 #<procedure 7fb95e29f840 at guix/channels.scm:219:11 (channel …> …)
In guix/channels.scm:
228:33 5 (_ #<<channel> name: nonguix url: "https://gitlab.com/nonguix/nonguix…> …)
In guix/git.scm:
346:8 4 (latest-repository-commit #<store-connection 256.99 7fb953ebdd20> "ht…" …)
292:29 3 (update-cached-checkout "https://gitlab.com/nonguix/nonguix.git" #:ref …)
In ice-9/boot-9.scm:
841:4 2 (with-throw-handler _ _ _)
In guix/git.scm:
128:29 1 (_)
In ice-9/boot-9.scm:
752:25 0 (dispatch-exception _ _ _)
ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
error: %make-auth-ssh-agent: unbound variable
Apparently, there is something wrong with my system currently. So I'll try to check it later :-)
It seems that you are using an outdated Guix. Did you update the Guix channel as well?
Do you experience the same issue with a channel other than Nonguix?
It seems that you are using an outdated Guix.
Yeah, I have not updated my system for several months.
Did you update the Guix channel as well?
No, as I never use guix pull
, I prefer to use guix directly from a git checkout.
Do you experience the same issue with a channel other than Nonguix?
It does not matter what I put at "channels.scm": guix pull
errors immediately. But nevermind, I will update my system some
day and I am pretty sure, this error will be fixed automatically :-)
How do you set up channels without channels.scm?
How do you set up channels without channels.scm?
Sorry, I don't understand what you mean.
If you ask about my guix usage, then I don't use channels at all. Guix had GUIX_PACKAGE_PATH
before channels appear, and this variable satisfies my needs absolutely.
If you ask about my setup for this issue, then I used "channels.scm" to figure it out :-)
FYI, in case it helps anyone, I reported the same issue and a probable cause at https://gitlab.com/emacs-guix/emacs-guix/-/issues/17
Hi,
I try to use my own channel but I can't list package detonations in it. Could point on how I may add them to the search list?