IRC channel logs

2024-10-30.log

back to list of logs

<l00py>any big next gen features coming to guix in next 6 months?
<l00py>want to advocate to other possible users
<getstate>wakyct: I just added home-pipewire-service-type and home-dbus-service-type.
<wakyct>thanks getstate, so you didn't modiy %desktop-services? On my system pulseaudio is set to true in the alsa-service-type
<wakyct>I guess it won't hurt to set it #f
<chrislck>to whoever's maintaining ci and bordeaux: much thanks!
<vhns>Is there some pro/cons to having files inlined with 'plain-file' instead of 'local-file'?
<mange>Pro: it's inline, which is nice for when it's a small file. Con: it's inline, which is annoying for when it's a big file. Also, local-file can do directories whereas plain-file can't.
<marmar>if I add a substitute mirror in my config, say https://bordeaux-us-east-mirror.cbaines.net/, would it just try to download stuff from there or would it still ping the official build farms?
<mange>I think it tries the substitute servers in order until it finds what it's looking for.
<mange>So if it doesn't find something in the mirror it will try the other servers you have listed, too.
<PuercoPop>Is there a way for a home server to get the uid of the 'current' user. ie. The user that the home service is being instanciated on?
<mange>I think the activation gexps and shepherd services run as your user, so you can do that using Guile's usual (getuid)?
<PuercoPop>mange: Thanks, I wasn't aware that guile had (getuid) and (getgid)!
<nckhexen>berlin is up again thanks to Mădălin, but I had to manually clean up a dozen files that anonip expects to be FIFOs and weren't, to be able to start nginx and cuirass-web.
<efraim>big thanks to Mădălin! (who I don't think is here)
<nckhexen>Three cheers and a happy dance! (I already thanked them over e-mail.)
<futurile>nice!
<nckhexen>sneek: later tell marmar: It depends on what you mean by add. There are no hidden defaults. (substitute-urls '("...us-east...")) will not query any other server. You must manually {ap,pre}pend %default-substitute-urls)
<sneek>Okay.
<nckhexen>sneek: later tell marmar: if you want that.
<sneek>Will do.
<nckhexen>F fones.
<efraim>TIL I'm waiting for a new word 'interpend'
<nckhexen>Whateverpend would do here.
<nckhexen>I believe the technical term is 'yeet'.
<efraim>I've heard of yeeting out, can you yeet values into a list?
<nckhexen>I think you can yeet most anything mostly anywhere.
<efraim>works for me
<efraim>ACTION goes in search of a young person to ask
<nckhexen>(define yeet cons) ;now we will finally attract the youths
<nckhexen>ACTION away to less silly tasks o/
<efraim>`shepherd-run -e 'hello world' --setenv "HTTP_PROXY=socks5://127.0.0.1:9150" --setenv "HTTPS_PROXY=socks5://127.0.0.1:9150"' will print 'hello world' to the shepherd log file while the HTTP_PROXY and HTTPS_PROXY environment variables are set.
<efraim>... I couldn't think of a more useful example
<Rutherther>sneek: later tell dariqq: re herd load root script to get new env vars: would what work? doesn't it still run in the shepherd process, being the one that doesn't have these environment variables in the first place?
<sneek>Will do.
<abbe>is ci.guix.gnu.org back ?
<Rutherther>abbe: it should be, although the https on it still gives 502, but substituting seems to be working
<abbe>thanks! I'll revert my changes then.
<nckhexen>The Web interface is separate from the substitute servation, which is lucky because I can't get the former to start.
<nckhexen>(connect #<input-output: socket 43> 1 "/var/run/cuirass?") → In procedure connect: No such file or directory
<nckhexen>(This brought to you by COLUMNS.)
<apteryx>is it possible to reboot a VM marionette as used in the system tests?
<apteryx>hm, (virtual-machine (operating-system $os)) fails with: error: os: invalid field specifier
<apteryx>I think the (field value) provided in this case gets destructured in the match: ((_ fields ...) (%virtual-machine fields ...))
<apteryx>I think this fixes it: https://paste.debian.net/1333929/
<apteryx>what would be the Shepherd REPL command to use to reboot the system?
<apteryx>(reboot) ?
<PuercoPop>What data type does the program attribute of the the privileged-program record requires? The comment next to it says file-like. If I want to pass a file inside a package, should do I pass it?
<ieure>PuercoPop, See the discussion of "file-like objects" here: https://guix.gnu.org/manual/en/html_node/G_002dExpressions.html
<PuercoPop>ieure: Thanks
<PuercoPop>So #~(string-append #$ wireshark "/bin/dumpcap") should give me what 🤔?
<ieure>I believe you need file-append -- and no #$wireshark (no space).
<dariqq>I think i have a solution for my shepherd problem: 'herd eval root' a script to restart emacs with the current environment
<sneek>Welcome back dariqq, you have 1 message!
<sneek>dariqq, Rutherther says: re herd load root script to get new env vars: would what work? doesn't it still run in the shepherd process, being the one that doesn't have these environment variables in the first place?
<dariqq>Rutherther: https://paste.debian.net/1333952/ something like this works for me. I am launching that script via gnome-autostart and after emacs is restarted is has proper WAYLAND_DISPLAY/XAUTHORITY etc
<dariqq>yeah the 'herd load root ' attempt does not work beacuse it does not have access to the current environment
<futurile>Q: anyone aware of a home service for mounting usb drives etc automatically (as a user)?
<dariqq>futurile: Maybe udiskie?
<futurile>dariqq: thanks, checking it out
<wakyct>hi, I reconfigured yesterday and switched to Pipewire using the newish home service and most stuff seems to be working, however I don't seem to have the cli tools like pw-jack referenced in the Guix manual at https://guix.gnu.org/manual/devel/en/html_node/Sound-Home-Services.html
<wakyct>afaik that comes with Pipewire (which is running). Any clue where it is or how to get it?
<Rutherther>wakyct: it comes with pipewire, yes. But you don't have pipewire in your profile if you haven't added it specifically. The service runs pipewire without polluting your environment with its binaries, libraries and such if you didn't need them. If you do need them, just add pipewire to your packages list in your guix homconfig
<wakyct>oh perfect thank Rutherther
<wakyct>I guess I'll want to add Wireplumber too?
<dariqq>there is an open patch #73282 to add those to the home profile
<peanuts_>"[PATCH] home: services: pipewire: Add utilities to profile." https://issues.guix.gnu.org/73282
<wakyct>thanks dariqq, I think as a regular user I would expect that, maybe at least a note in the manual is a good idea
<wakyct>anyway I'm stoked I can finally easily rout audio from other programs to Ardour! this is awesome
<wakyct>so running pw-jack, I guess that's Pipewire's implementation so I don't need to add the jack package if I don't have other clients that need it? That is, Pipewire doesn't need the jack package installed to work?
<wakyct>by work I mean or pw-jack to work
<wakyct>"for pw-jack to work"
<f1refly>is it possible to install texlive-csquotes and texlive-moderncv simultaniously? guix complains that they want conflicting versions of texlive-etoolbox
<Gooberpatrol66>is there an ETA for when guix ci will be back up?
<Rutherther>Gooberpatrol66: it is up, if you mean the substitute server
<ekaitz>being basque, reading ETA is always weird
<janneke>isn't that the case for most europeans?
<Rutherther>why was this idea abandoned? https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27155
<Rutherther>(extending final value of a service)
<ekaitz>janneke: idk many people don't know about them... (funny detail "eta" means "and" in basque)
<PotentialUser-20>What tool can I use to select audio input/output? I really don't know what sound system Guix System is running right now.
<f1refly>try pulsemixer
<f1refly>or pactl
<f1refly>no wait
<f1refly>pavucontrol its called glaube ich
<PotentialUser-20>So, Guix uses Pulseaudio?
<aurtzy>PotentialUser-20: yes; there is a pipewire home service though if you're interested in that