<jra>I have a single-file project that I can "guix build --file=ring_c.scm" and "guix package --install-from-file=ring_c.scm" (thanks to roptat!), but I cannot "guix build -L . ring_c". I get "guix build: error: ring_c: unknown package". What do I need to do to get that working?
<lfam>It sounds like the package is called something besides ring_c
<jra>In my rinc_c.scm I have (package (name "ring_c") ...) Should that do it?
<lfam>Hm, is the package variable also called ring_c?
<lfam>I'm not using Wayland. It's X, using Guix on Debian
<dstolfa>wayland did some kind of weird freeze-up for me (mouse and keyboard stopped responding). after going to a different tty and back, only the keyboard was responding and some applications (i think it was only gtk3) took a literal minute to start, but anything else was responsive
<lfam>I followed the advice from the Arch thread to their wiki page on xinitrc
<lfam>There, it says "Note: At the very least, ensure that the last if block in /etc/X11/xinit/xinitrc is present in your ~/.xinitrc file to ensure that the scripts in /etc/X11/xinit/xinitrc.d are sourced."
<lfam>So, I did that, and now things are starting up quickly
<Guest8345>Hello Im new to guix and have a question, often when removing packages it downloads more packages, I'm guessing because the dependencies are 'tangled'? Is there any way to prevent such downloading?
<efraim>actinium: enlightenment/wayland, I'm used to enlightenment and I have that weird UI slowdown in X that doesn't go away when I have heavy CPU or IO load
<munksgaard>No, but it is on a weird server that I do not have full control over. My user resides on another server somewhere, and I log in to this server through a proxy. I get the UID error everytime I try to execute a guix command, but it hasn't caused any problems so far.
<emestee>civodul: uh i remember someone mentioning this exact issue about a week ago
<zap>also on python and alike: there are situations when package fixes certain version of a package as a dependency, like "setproctitle==1.2.2". Guix now has email@example.com. One could be tempted to go and update package in guix but that can potentially brake many other packages
<dstolfa>one could argue that tests could be used to avoid this, but i wonder how many python programs actually have tests...
<zap>Ho do we deal with that given many python- packages don't run tests
<raghavgururajan>For example, if I want to find files with two different extentions, can I do `(find-files "." "\\.(foo|bar)$")`
<dstolfa>dongcarl: i'm a little bit confused as to what the question is. am i correct to assume that your confusion is why you're quoting the expression rather than just calling substitute?
<dstolfa>the suggestion from ludo seems to be to quote it so that it can only be eval'd when necessary (that is, whenever hurd is the target), allowing you to change the quoted expression without causing any need for rebuilds unless hurd is targeted
<dstolfa>but it sounds like your confusion is with ` and '?
<dstolfa>if the former is your confusion, try something like (eval '(let ((x 1)) (display x)) (interaction-environment)) in the guile REPL
<soheilkhanalipur>I have been facing a definite internet problem in Guix System for a few days now. And this issue is only from my computer! When I connect to internet wirelessly, everything goes well, but after I connect to internet via LAN, internet shuts down after a few minutes
<dongcarl>dstolfa: Sorry stepped away for a sec, they confusion is with the former, and that was a great explanation... Am I right in assuming that: if the lambda for a stage of the build returns a list, said list will be `eval`d?
<dstolfa>i'm not 100% sure about that, i'm new-ish to guix too, but given that ludo suggests to write it that way i would assume so.
<dstolfa>soheilkhanalipur: it might help to describe the problem in a bit more detail, namely which driver you're using, your interface parameters (MTU, etc) and compare that to your wlan interface. does it work on something like debian but doesn't on guix, etc
<mbakke>dongcarl: your patch looks wrong, it should be ,@(if ... '((substitute* ...)) '())
<soheilkhanalipur><dstolfa "سُـھِـیـل: it might help to desc"> I had no problems until a few days ago, this problem first occurred in an update to the system (update process stopped)
***taylan2 is now known as taylan
<solene>when using /pre-inst-env guix system reconfigure I have an issue because on my system I use an additionnal channel and ./pre-inst-env guix doesn't know about it, I have no idea how to solve that
<zap>soheilkhanalipur: did tyou try `guix system roll-back`? this will reset the system to the state before the upgrade
<dstolfa>solene: another, perhaps easier way to do it is to replace the guix channel with your own local git repository on the filesystem with (url "file:///path/to/guix/repo")
<solene>dstolfa: yes, I have one additionnal channel that provide a module, so when I run reconfigure, I have this error: "no code for module (foobar packages openttd)"
<solene>I currently only have a /etc/guix/channels.scm file to access it, I tried to copy the file in ~/.config/guix/ with no success
<solene>it looks like your file, with a bit more information in it
<dstolfa>solene: gotcha, so the way i deal with this is by replacing the savannah guix with another git repository that has guix (my own), and then whenever i run `guix whatever`, it uses guix with my changes, not the one on savannah
<dstolfa>and the way i do it is by making a channel, using that channels.scm file
<chikamungus>Hopefully simple question - if I want to be running bluetoothd, do I just stick (bluetooth-service) in my service list in /etc/config.scm? Everything else seems to be of the form (service frob-service-type)
<solene>dstolfa: that seems rather complicated for such a common use case ^^'
<dstolfa>solene: there may be easier ways to do it, but there are a few other problems i have that require me to do it this way :D
<dstolfa>maybe guix can be pointed to a channels file manually, so you can do it from pre-inst-env
<sneek>lfam, luis-felipe says: Gedit is a simple text editor.
<lfam>raghavgururajan: On foreign distros you have to use `sudo foo` instead
<sarg>hey, I want to contribute a package, but it has a license which is not in the licenses.scm. Should I just add the license to the list?
<raghavgururajan>lfam: I see. The package I am working on invokes `pkexec`. In pure-env, I get 'pkexec' not found, which is understandable. But if I patch the source to replace `pkexec` with `/run/setuid-programs/pkexec`, then the packahe won't work on foriegn-distros right?
<lfam>There is something in there that is x86-only
<lfam>I'm sorry to have forgotten what but, skimming the file, I think it's related to 'uvesafb'
<lfam>I removed that functionality, built the image and tried booting from it.
<lfam>It didn't boot at all; the bootloader couldn't find the kernel
<lfam>What does work is `guix system init` from Debian on another storage medium
<ss2>Is there usually a difference when I call guix build with, or without --rounds? The package I'm trying to build behaves differently when I add --rounds.
<lfam>mbakke: The problem that remains is that the RJ45 NIC doesn't work. I think that some firmware isn't loaded or something... I couldn't get very good advice on this subject in the Solid Run chat, although I do get good advice there typically
<lfam>No matter what I try, `ip link show` reports NO-CARRIER on Guix System
<ixmpp>see i have my repo, pushed to remote, couple branches. i also have another clone of it, where i use a specific other branch and git-remote-gcrypt to push that branch to the same remote. so, seemingly, i have a repo with several unencrypted branches and one encrypted branch, except the remote doesn't show the encrypted one