IRC channel logs

2025-01-19.log

back to list of logs

<civodul>simendsjo: you would use ‘guix time-machine -C channels.scm -- shell …’
<ajarara>do people contribute large patch sets from the results of `guix import crate -r`? Once the dependencies shift (e.g. a version bump of a dependency) are the old unused dependencies cleaned up?
<ajarara>I also imagine there's a really significant amount of work categorizing each of the dependencies into the module topics (e.g. crates-compression, crates-crypto) and making sure there aren't dependency cycles between them.
<ajarara>crates-io is 98k lines, so I can't imagine that we're typing these out.
<bdju>I did a guix pull and then guix upgraded yt-dlp but yt-dlp --version still shows 2024-08.06 instead of 2025.01.15 like the guix search results show it should be. what could be the problem here? why won't it upgrade for real? I didn't tell it to skip it
<bdju>maybe because I did a --with-commit= upgrade before? but I swear that gets overriden by default
<apteryx``>Deltafire: it's not just Btrfs RAID1 which is stable; it's all of the configurations except RAID5
<old>hey which package has wifi-menu?
<old>well nvm nmtui is available with gnome
<apteryx>is mumi down?
<apteryx>looks like
<Kimapr>i think there's a problem with the nginx service. herd stop nginx doesn't actually seem to stop nginx
<Kimapr>actually it might be my config file...
<Kimapr>yeah i'm using a custom config file and didn't put a proper pid directive so shepherd would have no idea how to communicate with the nginx, fixed now
<lfam>Glad it worked out!
<mirai>does https://git.savannah.gnu.org/cgit/guix.git work for anyone here?
<mirai>I'm getting '429 Too Many Requests' for more than 2 days
<rrobin>getting 429 for that too
<UncleRRR>I tried that in my browser and yes! 429 Too Many Requests!
<rrobin>it was working yesterday morning, since i did a guix pull then
<UncleRRR>Only cgit is down
<UncleRRR>We could only direct browse the guix.git with /git/guix.git/ now
<rrobin> https://git.savannah.gnu.org/gitweb/?p=guix.git&view=view+git+repository works
<eikcaz>There should be some way to specify channels and a config in one file so I don't need a channes file seperate from the config file
<eikcaz>Anyone have tips on how to do this?
<dariqq>Hello, is 2804ca7cb7012dcb6c4226c5445b9a23c84f356b another world rebuild?
<rrobin>eikcaz: the only thing i am aware of is guix-for-channels, but I am not using it ATM
<rrobin> https://guix.gnu.org/manual/devel/en/html_node/Customizing-the-System_002dWide-Guix.html
<efraim>dariqq: looks like it, guix refresh -l qpdf says 4153 dependent packages
<eikcaz>rrobin: thanks. I feel like I should be able to write a guile script that uses guix inferiors to evaluate an in-lined config.
<eikcaz>guix-for-channels could actually be a solution though absolute overkill
<efraim>looks like the build farm should've built it though
<dariqq>efraim: i think all 3 gtks are getting rebuild :(
<dariqq>efraim: ci.g.g.o is still evaluating https://ci.guix.gnu.org/eval/2005733
<simendsjo>Shouldn't -L path and --load-path=path be the same? The latter doesn't work for me.
<dariqq>efraim: 13k scheduled builds (across all archs)
<efraim>dariqq: reverted. Thanks
<dariqq>thanks
<yarl>Hello!
<lilyp>is it okay to merge emacs-team? as far as i can see the emacs packages would need to be rebuilt
<dariqq>efraim: i think youd need to cancel the builds on ci/bordeaux as well
<csantosb>civodul: is it ok if we use emacs-fedi/fj master ? releases are highly unstable and incompatible, I'm afraid
<futurile>Morning all, hope you're having a great weekend!
<efraim>ACTION is finally passing code between awk and C
<efraim>honestly I'm not sure if my C code is awful or C is awful
<janneke>beauty is in the eye of the beholder; being critical of one's code is a virtue, no matter the quality of the code, imho
<efraim>thanks. I will at least note that I have consistent spacing between parentheses, * and &, indentation, and all other spots I can.
<janneke>(y)
<janneke>also, working code is amazing, it's often much easier to improve on that than to create something that works
<jakef>A package can set a search path environment variable to the user environment with (native-)search-paths, but what about an env var that isn't a path relative to the store directory?
<efraim>I should fix the double-free on second run, but just for the sake of an example it should be fine :/
<jakef>i.e., can installing a package do something like export FOO=bar in the user profile/shell?
<efraim>you could wrap the program with environment variables if you need
<efraim>jakef: check out wrap-program or wrap-script. we normally use it to extend the PATH or for gstreamer plugins or things like that, but it could be used for anything
<jakef>thanks efraim!
<jakef>that's plenty to go on, cheers
<nmeum>anyone here using pipewire under guix? did you also notice that user still has to be in the audio group to be able to play audio? normally, access to the audio device should be mediated through pipewire.
<lilyp>same argument with pulseaudio really; both honour the audio group IIRC
<nmeum>but with pipewire the user usually doesn't have to be in the audio group, being in the audio group means that you have access to the device file and can bypass pipewire
<rekado>pipewire runs with the permissions of the user, though, doesn't it?
<Rutherther>nmeum: are you using elogind?
<nmeum>no, seatd. does it work with elogind as intended?
<Rutherther>I don't know what you mean as intended. elogind will give your user's processes (ie pipewire) access to audio devices, even if you aren't in audio group
<nmeum>yes, exactly. but seatd should do the same. nonetheless pipewire doesn't work for me unless the user is in the audio group.
<Rutherther>nmeum: are you in the 'seat' group?
<nmeum>yes
<nmeum>I will try reproducing this with elogind, but if anyone else is using pipewire on guix and audio works without being in the audio group then please let me know :)
<cel7t_>Hello, I was trying to download the "GNU Guix System on Linux for VisionFive2" raw image from https://guix.gnu.org/en/download/latest/, but it is giving me a "Could not find the requested build product." error (at https://ci.guix.gnu.org/download/2579). I also tried going through the build history but couldn't download anything form there either
<cel7t_>(I'm getting the same error there)
<apteryx>ugh, mumi keeps crashing
<cel7t_>Is there any alternate link to download build images from?
<rekado>apteryx: in xapian or elsewhere?
<divya>Can a committer just merge this already reviewed patch to add emacs-lucid? https://issues.guix.gnu.org/75121
<vup>is is currently possible to write something like `importNpmLock` in nix? I am struggeling to see how I would "emit" a package definition from a gexp or some other way to dynamically create package inputs depending on some file in the store that I parse in a gexp.
<vup>(write a guix equivalent of the nix `importNpmLock` if that was unclear)
<rekado>vup: we have an npm importer.
<rekado>we prefer to have concrete package definitions and compile those. In Guix you wouldn't dynamically generate package definitions at evaluation time.
<vup>so there is no way around that?
<vup>I see the appeal for concrete package definitions, but for my own local packages (that might have a lot of dependencies in flux) it would be nice to avoid that step and have a dynamic package definition based on the lock file
<futurile>vup: maybe Andrew Tropin's RDE has something - I remember him talking about lock files and wanting to create packages from them
<lilyp>divya: fixed and done
<divya>lilyp: Thanks!
<PotentialUser-70>Hello
<PotentialUser-70>Hey guys i installed guix (just the package manager) today and installed emacs-next package but it doesn't show in the app menu, i'm using an ubuntu based distro with kde, does anyone know what the problem may be? or does it just work like this?
<lilyp>do your $XDG_DATA_DIRS contain the guix profile?
<lilyp>if so, it's probably just a matter of logging out and logging in again
<lilyp>if not, there should have been a message popping up at the end telling you to source some profile
<PotentialUser-70>i did follow all the steps in the get started section of the manual and sourced the files that it asked but it seems $XDG_DATA_DIRS  does't contain the guix profile
<Rutherther>lilyp: I think a lot of applications don't have XDG_DATA_DIRS as search path even though they use it, ie for the applications shortcuts. So it's necessary to set this variable manually to make sure it's set
<csantosb>lilyp: I always wonder: any reason not to include libwebp along with emacs packages ?
<lilyp>p sure that image-mode wants to handle webp or some such :)
<PotentialUser-70>i'll try that then
<lilyp>but it takes some while to grow inputs because emacs is fine building without them
<csantosb>Not a big deal anyway: mastodon.el complains at startup about missing libwebp support, that's it
<efraim>is it something that can be patched in mastodon.el to tell it where the binary/library is?
<csantosb>Good idea. Let me try.
<PotentialUser-70>lilyp i tried adding the guix profile to XDG_DATA_DIRS but didn't work, i'm not sure what i'm doing wrong
<Rutherther>PotentialUser-70: where did you add it to? The application launcher needs to have that env var
<simendsjo>I have to say the combination of direnv, guix time machine and guix shell is pretty mind-blowing.
<csantosb>Absolutely !
<PotentialUser-70>Rutherther i tried adding $HOME/.guix-profile/bin and  $HOME/.guix-profile/share
<PotentialUser-70>then again i was using perplexity to help me out cause i wasn't sure where to point it to
<dariqq>PotentialUser-70: you should have a /etc/profile.d/guix.sh or similar that should set everything up for you. Did you install guix with the debian package or via the install script?
<PotentialUser-70>i used the script
<PotentialUser-70>i see a zzz-guix.sh script
<Rutherther>PotentialUser-70: that is not what I am asking. I am asking to what process you added these environment variables
<ajarara>hi, is there reading beyond what's in the manual for adding crates to the guix package set? Is it just organize/alphabetize and send up as regular patches? It's about 30 packages that I'd add to get this top level package (the result of guix import crate -r)
<civodul>ajarara: hi! even ‘guix import crate -r -i gnu/packages/crates-xyz.scm whatever’
<civodul>(the ‘-i’ switch is quite new, saves time!)
<civodul>apart from that, i don’t know
<lockbox____>ajarara: also need to remove the `skip-build` it likes to add and make sure they each can build (the development-inputs gets messed up from time to time, haven't dug into why), and sometimes they need external packages (eg. pkg-config, protoc, openssl etc.)
<lockbox____>*by they i mean each individual crate you are adding
<mgd>does anyone use Guix for Data Engineering? Outside of the usual python tools and SQL, what other tools for data warehouses/lake are available on Guix?
<ajarara>thanks #guix!
<ekaitz>hi! libassuan does not provide a .so.0 file anymore?
<ekaitz>i had a package that built and now it doesn't because the RUNPATH check fails
<civodul>ekaitz: it’s called .so.9 now, but someone writing code linking against it doesn’t have to worry about it
<civodul>you just pass -lassuan and it does the right thing
<ekaitz>hmmm
<ekaitz>civodul: it's not a package i can build
<ekaitz>they are binaries that come from the government
<ekaitz>i'm trying to patch it but now it doesn't work as it did
<ekaitz>it simply doesn't work now and I cannot sign documents
<ekaitz>it worked less than a month ago
<Kreijstal>in case someone knows https://unix.stackexchange.com/questions/789855/guix-patching-is-different-than-doing-it-manually I am trying to build wine 10 with no luck on guix :)
<civodul>ekaitz: in that case you probably need to use the older libassuan (2.5.6, it seems)
<ekaitz>yep
<ekaitz>civodul: that worked!!!
<civodul>yay!