IRC channel logs

2025-08-26.log

back to list of logs

<apteryx>can we CC to a teams on codeberg?
<apteryx>@go-team for example doesn't seem to work
<ArneBab>The book Naming & Logic now has a working guix pack ⇒ tarball example for deployment: https://www.draketo.de/software/programming-scheme#deploy-guix-tarball
<ArneBab>To test the result: wget https://www.draketo.de/software/guile-doctests-tarball-pack.tar.gz && tar xf guile-doctests-tarball-pack.tar.gz && ./bin/doctest
<ArneBab>It’s also on page 62 of https://www.draketo.de/software/programming-scheme.pdf
<kkremitzki>Hi all--there is some previous work out there of someone making what was then a GuixSD image for Vagrant but which depended on Virtualbox. I have revived that effort now that we're in the Guix System era and gotten it working with libvirt so that it can actually be used within guix itself. I'll have a box published and blog post for instructions
<kkremitzki>soonish
<untrusem>nice 👍 kkremitzki
<apoorv569>Can someone take a look at couple of PR I sent? 2276 and 2277 on codeberg.
<apoorv569>2277 is for sfizz package which is broken for a long time now..
<apoorv569>and 2276 is spectacle-analyzer package which is also broken ATM
<untrusem>hello I am trying to build bookmarkfs, and it is giving me version error to use autoreconf 2.70 or higher but guix already have version 2.71, here is my package defination and error https://bpa.st/537A
<untrusem> https://git.sr.ht/~cismonx/bookmarkfs/tree/master/item/INSTALL.md
<untrusem>solved
<civodul>Hello Guix!
<untrusem>hello civodul
<reyman>hi !
<reyman>I don't know if other people run pipx into guix shell (for packaging application), but even if i add pipx to guix shell manifest and also "run pip install "python3 -m pip install --user pipx", i have an [Errno 13] Permission denied: '/home/reyman/.cache/pipx/79c48d4c973d5f6/bin/activate.fish'"
<reyman>'/gnu/store/3nnkbl90qk9l7a757ldxjdxyz73p0b9c-python-3.11.11/bin/python3.11 -m venv --without-pip /home/reyman/.cache/pipx/79c48d4c973d5f6' failed :(
<reyman>if i run with sudo it works, but this is not the way to do
<noe>reyman, I would guess that you have a root owned file in your cache for some reason
<noe>since its in the cache you could try deleting it
<hugohugo>Is there a Guix equivalent of "dnf whatprovides" to find out which package might provide a specific executable?
<hugohugo>I suppose that does not really fit into the core philosophy, as it requires the built packages to be avaliable to populate such a database, but maybe there is something like it?
<hugohugo>Now I often start a fedora podman container and do e.g. "dnf whatprovides htpasswd" ('httpd-tools' in this case) and then guess / "guix search" for what the guix package might be ('httpd' in this case)
<identity>hugohugo: (info "(guix) Invoking guix locate")
<identity>“Note: For now, ‘guix locate’ builds its database based on purely local knowledge—meaning that you will not find packages that never reached your store.”
<hugohugo>but also "Eventually it will support downloading a pre-built database so you can potentially find more packages."
<hugohugo>good enough for now
<hugohugo>at any rate it is better than my usual "ls -l /gnu/store/*/bin/htpasswd", thanks, learned something
<hugohugo>or we should make sure that we have every package in our store!
<hugohugo>come to think about it, why do we have to manage the store ourselves? guix can 'just' build / download packages in the background based on some heuristics, and then when we do "guix install", the package is already there!
<hugohugo>the isolation makes such things feasible. maybe sometime
<nikolar>how could it possibly know what you want to install next
<nikolar>also i wouldn't want my store growing in the background without any action from me
<nikolar>(i hope that was sarcarsm, but you never know)
<reyman>thks noe, i will try to delete
<unwox>hi guix. does anyone know why guix-home-service-type may not be able to start "local" shepherd for configured users? i have a service in home services list that extends home-shepherd-service but after system reconfigure when i run "herd status" under the configured user i get "herd: error: /run/user/1000/shepherd/socket: No such file or directory"
<civodul>unwox: hi! the user shepherd should get started as soon as one logs in as that user
<civodul>but it might be that logging in as SSH doesn’t count
<unwox>civodul: thanks! it seems i was missing home-bash-service-type in my home services list
<unwox>but is it possible to run user home services without login in though? if for example i wanted to run home-syncthing-service-type under a certain non-root user on a server?
<unwox>s/login in/loging in
<identity>unwox: shepherd services take #:user and #:group arguments
<unwox>identity: thanks but the service i want to run comes only in home variant, no system one
<AidenIsik>Hi, again, I've been trying to get an installer image working for an aarch64 server, and I can successfully build one, however when I try to boot it I'm presented with an error something along the lines of "cannot boot plain kernel image, recompile the kernel with CONFIG_EFI_STUB enabled".
<AidenIsik>Checking the defconfig of the kernel reveals that that flag is already enabled
<AidenIsik>It's a server running TianoCore UEFI btw, and the bootloader I'm trying to use is GRUB
<identity>unwox: with my suggestion you would have to hack on the service's code to make it work anyway :)
<fnat>I've recently started using '(service bluetooth-service-type)' to be able to use my BT headphones on Guix. I managed to get things to work - that involved a system reboot, using bluetoothctl, doing the pairing, restarting PulseAudio. However, I'm now trying to reconnect the headphones again and it seems it no longer works.
<fnat>From the bluetoothctl console, I can see the device paired, with 'devices Paired'.
<fnat>However, if I run 'connect XX:XX:XX:XX:XX' I get an i/o error.
<fnat>I've tried restarting the BT service and kill/starting PulseAudio, but that doesn't help.
<fnat>The exact error is: '[bluetooth]# Failed to connect: org.bluez.Error.Failed Input/output error'.
<fnat>And this is what shows up in the system logs, perhaps a bit more revealing? 'src/device.c:device_connect_le() ATT bt_io_connect(XX:XX:XX:XX:XX:XX): connect to XX:XX:XX:XX:XX:XX: No route to host (113)'
<fnat>Anyone using BT devices who's encountered (and been able to fix! :)) this?
<kratacoa>Not exactly Guix related, but I'm not finding much info online: should I enable Landlock in the kernel config?
<fnat>Not sure what I did, but it works now. Was it perhaps a trivial 'bluetoothctl power on'? Not sure, I'll try and get a consistent setup.
<unwox>fnat: i've got more or less the same experience with bluetooth headphones on linux in general. the setup is usually flaky, sometimes i need to reconnect headphones a couple of times, sometimes connection becomes noisy and glitchy, sometimes headphones require to connect exactly 2 times in order to work for some reason and etc
<fnat>unwox: Oh, sorry to hear that, that's not exactly promising... :) Do you think this is a Linux thing (as opposed to being distribution specific)?
<fnat>(And thanks for the feedback / sharing your experience by the way.)
<fanquake>Could somebody add the "bug" label to https://codeberg.org/guix/guix/issues/1253?
<unwox>fnat: i have a similar experience on steam deck so yeah - it maybe a more general issue
<andreas-e>fanquake: Can you not just add the label by clicking on "Labels" in the rightmost column? Or does this require special permissions?
<unwox>fnat: here is my system config for bluetooth in hope it may help: https://git.sr.ht/~unwox/etc/tree/master/item/guix/pc.scm#L53
<fnat>unwox: Interesting, thanks. I'll report my findings here if I manage to get to a stable setup.
<fnat>Uh, super, thanks, that'll definitely help.
<unwox>fnat: i would also recommend having mpris running in order for headphones buttons/gestures to work: https://git.sr.ht/~unwox/etc/tree/master/item/guix/home.scm#L401
<fanquake>andreas-e: I can't modify anything.
<unwox>fnat: and also i would recommend pipewire over pulsemixer for bluetooth audio to get better codecs
<fnat>unwox: I was thinking of using playerctl for headphones control buttons, is mpris an alternative to that?
<fnat>Oh, pipewire, I see. Sure, happy to try that - just slightly worried that might open up a whole new can of worms!
<identity>“playerctl — control media players via MPRIS”
<andreas-e>fanquake: Out of curiosity, when you create an issue, can you add the labels at that moment? (Anyway I will add the bug label.)
<fanquake>andreas-e: no. Unable to add anything.
<ieure>You have to be a member of the project to add labels.
<fnat>identity: Gotcha, thanks.
<andreas-e>This is not very practical. I see the point for the bug label, which says "confirmed bug". On the other hand, it would be nice to trust that people choose the right labels, and in the worst case ban them if they vandalise issues.
<andreas-e>Well, we do have lots of team members who can act on the bugs.
<unwox>fnat: re mpris: i meant that you'll also need mpris-proxy running for bluetooth headset controls to work
<ekaitz>csantosb: from 9/10 prs notifications i get are yours
<ekaitz>s/from//
<ekaitz>apply for commit access
<AidenIsik>Does anyone here use Guix on ARM UEFI?
<AidenIsik>If so would you be willing to share your configuration to help me track down why I can't boot?
<ieure>I have ARM UEFI hardware, but haven't gotten Guix running on it yet.
<df>hey guix, I'm looking to put together a script to let me quickly edit guix-related files (eg my OS config) - I'm thinking it would start a repl in the bg if not already present, use emacsclient to connect geiser to it if necessary, then optionally open a file (again via emacsclient)
<df>is there already anything to do something like this (or a better way?)
<df>I guess a lot of people probably do it all from within emacs, but I have a tendency to navigate around in the shell and then use emacsclient to open files
<ieure>Yeah, I do it from within Emacs, and usually have a REPL open. If not, it's just C-c C-k to make a new one.
<fnat>unwox: Yeah, got it now, thanks. I thought playerctl (the package) would be enough, but apparently it isn't. I'll try with the mpris proxy service, thanks. It doesn't seem to be in Guix mainstream, though, correct?
<df>yeah perhaps I'm overthinking it, 99% of the time I'll have a repl running and connected anyway
<unwox>fnat: yes, it's not in mainstream but you can copy mine, it's a trivial one: https://git.sr.ht/~unwox/guix-pkgs/tree/master/item/unwox/home/mpris-proxy.scm
<AidenIsik>ieure: by that, do you mean you just haven't attempted to get Guix onto it, or that you've run into issues?
<ieure>AidenIsik, I haven't attempted because I know there are issues, which I haven't had time to adequately resolve.
<AidenIsik>Ah alright, thanks
<ieure>AidenIsik, Hardware is a ThinkPad T16 Gen 6 Snapdragon, it needs some patches that haven't merged to mainline yet, and a couple package updates, at least. And hardware support isn't 100% yet, I believe sound isn't fully working at all yet.
<ieure>Webcam also, and I think the USB-C/TB port.
<AidenIsik>Do you know anything about Grub complaining that the kernel image isn't an EFI stub?
<AidenIsik>Because mine does appear to be looking at the defconfig and the Image file in a hex editor
<AidenIsik>But it still doesn't like it
<ieure>AidenIsik, No, are you sure that's Grub complaining?
<AidenIsik>I assume it is, but I am unsure
<AidenIsik>The grub theme remains and it automatically returns to selection if that's any indication
<ieure>Gotcha, okay.
<fnat>unwox: Aha, super - thanks for all the help!
<AidenIsik>Looking at the grub source right now - it's definitely a GRUB error message, thrown when it doesn't detect the 'MZ' magic at the start of the kernel image
<AidenIsik>Although my kernel image definitely does have that?
<AidenIsik>So that's odd
<df>ieure (or anyone): is there a way to start guix repl from within emacs (other than via shell-command or similar)?
<ieure>df, emacs-guix will launch a REPL for you.
<df>ah my bad, I have emacs-guix checked out but I don't think I'm loading it anywhere
<omar_b>I noticed that rust-cargo is no longer its own package but included as an output of the rust package. How do I add this output to my config?
<identity>omar_b: (list rust "cargo") or `(,rust "cargo") or (specification->package "rust:cargo")
<omar_b>identity does that also include the default "out" or if I want both I need to explicitly add it (list rust "out" "cargo")?
<identity>omar_b: i *think* it does not, but do not take my word for it
<ieure>I assume rust:cargo's closure has to reference rust:out.
<ieure>What your package needs probably depends on what the package is doing.
<ieure>Likely you need both, but try it with the one and see. Gonna give you a direct answer instead of speculating.
<omar_b>OK, thanks. I'll give it a try
<omar_b>Another question? how would I know about such updates in the future?
<ieure>omar_b, The channel news when you pull.
<ieure>That'll, at minimum, let you know that a change happened, and you need to look into it.
<omar_b>(y)
<identity>omar_b: but also the blog on the website, the mailing lists, this irc channel and just plain reading the commit history
<ieure>You omar_b You, uh, wrote that lambda symbol upside-down.
<omar_b>what lambda symbol ieure?
<identity>λ
<ieure>omar_b, You wrote (y), but it should be (λ).
<ieure>(this is a joke)
<omar_b>Ah :D
<omar_b>I'm on the web interface of libera.chat so I actually didn't know that that emoji is written (y) lol
<ieure>What emoji?
<omar_b>this one https://emojipedia.org/thumbs-up
<ieure>Oh, that is surprising.
<hanker>Is there a transformation to add a dependency?
<ieure>hanker, I don't think so. What's the usecase?
<hanker>GNUplot has by default the `--with-qt=no` configure flag. I wanted to make a shell with `--with-configure-flag=gnuplot=--with-qt=yes`, but GNUplot then (obviously) needs to have QT dependencies.
<ieure>Gotcha. Well, you could write a transformer, or you could stop using whatever transformer you're using to change the flags and write a (package) that inherits gnuplot to add the input and flag.
<csantosb>Ey Guix ! We usually replace `(assoc-ref outputs "out")` by #$output, right ?
<csantosb>What about `(assoc-ref outputs "doc")` ?
<Rutherther>#$output:doc
<csantosb>I'd had never guess, thank you !