IRC channel logs

2025-06-30.log

back to list of logs

<vntsuyo>hello
<vntsuyo>is there a guide on how to package Rust apps somewhere?
<untrusem>vntsuyo: we had a new rust packaging model introduced in this blog post
<untrusem> https://guix.gnu.org/en/blog/2025/a-new-rust-packaging-model/
<z572>can anyone update https://ci.guix.gnu.org/jobset/kde-team url?
<z572>Its url is still savannah now
<tusharhero> https://bpa.st/CAHA
<tusharhero>I have a dynamic ntfs drive, ldmtools creates mapper devices for it. I have been trying to get it to mount on boot but it keeps mounting as read only. But if I mount it manually (using the mount command) it mounts with write permissions.
<tusharhero>How do I get it to mount properly?
<tusharhero>hello untrusem
<civodul>Hello Guix!
<z572>civodul: Can you help me to update the url for https://ci.guix.gnu.org/jobset/kde-team ?
<coldsideofpillow>Hello everyone. I've been planning to switch to Guix recently.
<coldsideofpillow>Coming from NixOS, I just have one main question.
<coldsideofpillow>NixOS has the concept of "modules" to configure certain features. For example, to configure mpv (https://mpv.io/), I can mess around with the home-manager option `programs.mpv.config`. These options are available through tools such as https://mynixos.com/.
<coldsideofpillow>For Guix Home, the equivalent seems to be configuring the options provided by user services (`home-mpv` in this case). But what I don't understand is, how do I see the available fields for a service? The best way I could find was manually inspecting the code with `guix home edit`.
<coldsideofpillow>also I should have clarified, I'm going to switch to Guix /System/, not just the package manager.
<identity>coldsideofpillow: the manual, in this case see (info "(guix) mpv Media Player")
<identity>plus you want to see the mpv docs, which the manual links to
<coldsideofpillow>identity: thanks!
<civodul>z572: done! (the mirror on Savannah should work fine though, doesn’t it?)
<z572>I'm not sure, but kde-team jobset is not eval with new commits.
<z572>I think it's also good to relieve the burden on savannah
<coldsideofpillow>Out of curiousity, does Guix support bootloaders other than GNU GRUB?
<coldsideofpillow>e.g. rEFInd
<efraim>there's a patch for rEFInd that I'm supposed to review... https://codeberg.org/guix/guix/pulls/7
<Deltafire>i've submitted an issue upstream for pdfarranger (currently not saving pdfs)
<secretanonumoys>My user profile might have been deleted somehow, there is only "profile.loc" in the directory where the profile is supposed to be :-(
<reepca>is there a way to see the derivation for a graft without having to first build the package being grafted?
<jakef>getting timeout from https://ci.guix.gnu.org
<ieure>jakef, It's like that all the time.
<jakef>ok noted, thanks
<ieure>reepca, I think `guix build -dn some-package' does what you want.
<secretanonumoys>If you guys are interested, I managed to resolve my issue by deleting some random directories and reconfiguring my system until it worked. I will live with fear of this happening again from now on, but with a working system
<Deltafire>secretanonumoys: what do you mean by "user profile"?
<Deltafire>the .guix_profile symlink?
<reepca>ieure: that only lists the non-graft derivation
<secretanonumoys>Having no proper IRC client is so bad... And having no real time logs for this channel isn't helping. Anyway, by my user profile I meant both ~/.guix-profile symlink and some files in /var/guix/profile/per-user. Also don't ask AI about configuring GNU Guix: it doesn't know what to do and lies a lot
<secretanonumoys>What I did was deleting /home/username and the per-user profile in /var/guix. Then I reconfigured system twice, collected garbage and voila, now I have a functional system
<noe>secretanonumoys, there are real time logs at https://logs.guix.gnu.org
<secretanonumoys>Oh, today is 30th...
<secretanonumoys>jakef: You can use --substitute-urls=https://bordeaux.guix.gnu.org, I like this mirror better
<secretanonumoys>Apparently, there is a way to configure it in system config, but I forgot how to do this
<identity>bordeaux is one of the two default mirrors, is it not?
<identity>i mean, substitute servers
<secretanonumoys>I have troubles connecting to the ci.* one, so I explicitly tell GNU Guix to use the bordeaux to avoid waiting timeouts
<cricri_>Hello hello, I am playing around with guix record inheritance and have got a question about line 56 in this module: https://paste.rs/zPgoE
<cricri_>I expect all services of child os miniplus-os being replaced by the services of parent os mini-os.
<ieure>cricri_, Yes....
<cricri_>But instead, running guix system image -t efi-raw -L ./ ./config/systems/show-os.scm gives me an error message: guix system: error: more than one target service of type 'shepherd-root'
<ieure>cricri_, There are implicit services, you want `operating-system-user-services'. But also, since you have `(inherit mini-os)', `(services (operating-system-services mini-os))' is redundant -- `inherit' copies every field from the parent into the child unless you specify something else.
<ieure>So even if you did the thing you're trying to do correctly, it wouldn't change anything.
<cricri_>yes thanks! Actually, I want to append other services later. But I am too lazy to define an extra variable for the services of mini-os. I prefer to inherit them from mini-os 'directly' instead.
<ieure>cricri_, Sure, I also generally don't bind/define stuff unless I need to use it more than once.
<cricri_>Hmm, and how would you do the same thing for the users field of <operation-system>? Now, I am appending a user to 'operating-system-user-accounts' and assign the whole thing to the 'users' field. When building the image the guix command says: 'warning: the following accounts appear more than once: guixbuilder03 guixbuilder04 guixbuilder05 guixbuilder08....'
<cricri_>Well, at least it is just a warning :)
<ieure>cricri_, (user-account (delete-duplicates ...))
<cricri_>wow, cool. Thanks a lot!
<spiderbit>Attila or how his nick was here yesterday helped me to find out about a bug in stumpwm building process in guix... that not restores the sbcl-home after building the program... now I already modify-inputs can I as easy try to modify the build or "compile" of the package?
<spiderbit> https://github.com/stumpwm/stumpwm/blob/master/make-image.lisp.in#L75
<spiderbit> https://codeberg.org/guix/guix/src/branch/master/gnu/packages/wm.scm#L2760
<spiderbit>Or alternatively could I set statically the right PATH of this "home" variable...
<spiderbit>I think setting it manually on runtime does not work because it needs this variable set at starting of stumpwm
<spiderbit>I want not really wait till somebody else maybe fixes that bug I want do delelop something for stumpwm so would be nice to have that out of the way.
<spiderbit>I tried to work it out with chatgpt it gave me that solution to add this to my config file: http://paste.debian.net/1383609    but somehow it writes wrong lisp code http://paste.debian.net/1383610
<spiderbit>btw chatgpt is really bad (duckduckgo variant) to count correct balanced amount of parens...
<viaken>The LLMs are basically useless for Lisp code.
<viaken>Balancing parens is exactly the sort of thing they're going to be bad at, too. Better to have a decent editor config.
<cancername_>any way to use ccache with guix builds? I have to compile Linux a LOT right now, and getting a compilation failure is extremely frustrating, because that's easily 3h of compilation wasted. ccache could speed hese builds up massively.
<identity>cancername_: you have to do a clean recompile every time, though you could work from a checkout of the linux git repo
<cancername_>identity: I mean, it's not like I can just frob that compiled kernel into a guix package, can I?
<identity>cancername_: no, you probably can not, but that should make the time between starting compilation and seeing a compilation error shorter (at least after the first time)
<cancername_>identity: to be clear the compilation errors are for external reasons, not code errors ^^` I also see that Nix has the ability to do use ccache. no clue how to accomplish that for guix tho
<apoorv569>how can I specify 5.15 kernel in my config? (kernel linux-libre@5.15) doesn't seem to work, I get error `linux-libre@5.15: unbound variable`
<reepca>the "package@version" syntax is only for use with the command line interfaces, or as an argument to specification->package
<reepca>so you could do (specification->package "linux-libre@5.15"), or you could find which variable it's bound to, most likely linux-libre-5.15, and use that instead
<apoorv569>I see. linux-libre-5.15 seems to work. Thanks!