<ming>Hey all, I'm experiencing an odd bug when trying to save file in ungoogled-chromium on Guix. Whenever something would open a file dialog, it crashes with this error: http://paste.debian.net/1288340/ Is there a known fix for this?
<yewscion>I only use chromium for web apps, mostly for fediverse sites and chatting, but "saving a picture" is a fairly common activity for me in both of those cases. Icecat does not exhibit the same problem.
<iyzsong>yewscion: i think you're missing shared-mime-info in the profile (its /share should be in XDG_DATA_DIRS)
<yewscion>iyzsong: Thanks, that pointed me in the right direction! (Turns out I'd made a shim in ~/.local/bin/chromium that pointed to an older version of ungoogled-chromium that was no longer installed in any profile, and that (understandably) broke upon one upgrade or another.)
<iyzsong>okay, but that gdk-pixbuf error is not related to chromium install into profile or not, it's about mimetypes
<yewscion> iyzsong: But unless I'm misunderstanding, I believe guix uses shims to export the needed env variables for binaries, so that when the outdated chromium was being run it was referring to an outdated XDG_DATA_DIRS, which is what caused the error in this case. Though I suppose my shim could have done the same thing, and the error could have been from there instead. Either way, running ~/.guix-home/profile/bin/chromium directly was the
<yewscion>solution; no change to my profile was needed.
<minima>hi, sorry, when using `home-mcron-service-type', does that create some kind of crontab file anywhere in my home folder (which i'm not able to find) or, rather, does it simply instruct shepherd but without writing things to a file?
<ekaitz>hi, can I use a macro in a phase that has been `modified-phases`?
<Altadil>Hi, I am trying to use the qemu-binfmt service to build packages for other systems. It works fine with arm/aarch64 (following the example from the manual). But I can’t find where the qemu platforms are defined. They do not seem to match the list returned by guix build --list-systems, nor the list of supported platforms in section 15.2 of the manual. I tried looking in the definitions of both the qemu package and the qemu-binfmt-ser
<bjc>dns consists of records with types, like a, aaaa, cname, ptr, srv, txt, etc
<apteryx>so PTR is one of the key bit used by mainstream providers to filter spam?
<nckx>(I mean, the way PTR lookups are *implemented* is hacky as hell, but you don't need to know that, and can just pretend there's a nice table of IPs somewhere with an associated hostname. Your ISP has to [let you] set it, there is no other way.)
<bjc>yeah, a lot of email servers check the ptr on an incoming connection to verify it is who it says it is
<bjc>i've been hosting my own email since the dark ages, and i still am going to buy the book, just to make sure i'm up to date. it's almost impossible to find all the information you need in a couple places
<apteryx>is OVH a good choice to host email? it seems decent and cheap, can be close to home
<jpoiret>apteryx: lots of hosting providers are IP banned by big email providers
<jpoiret>dunno about OVH in general but you might run into that
<bjc>the typical situation is that you send mail from “email@example.com”, but the mail server identifies itself as something like “smtp.example.com”, or even another domain entirely in the case of hosting multiple domains
<bjc>so smtp.example.com needs the ptr records to point to the a/aaaa records and vice-versa
<bjc>err, badly worded: the forward and reverse lookups have to be symmetric, is what i'm trying to say
<nckx>Speaking of the part after the @: has anyone tried sending mail that isn't DKIM-signed to big providers recently? Is it even an option?
<bjc>depends on what you mean by recently, but i did a few years back
<nckx>I think my configuration's been effectively untouched for several years now (not counting a recent OpenSMTPd syntax update), so it's either Finished or broken. People still seem to get my emails.
<apteryx>my thought too; email is older than most of us
<bjc>i'm on a fairly standard postfix+dovecot setup, and it basically runs itself except for when i have to add or remove accounts
<minima>hi, suppose i wanted to rewrite the `garbage-collector-job' example from https://guix.gnu.org/manual/en/html_node/Scheduled-Job-Execution.html with the scheme (non-vixie) notation, how should i go about calling "guix gc"? does it make sense to call `(string-append #$guix "gc")' - why does it feel strange? (and why there are so few occurrences of `string-append #$guix "gc"' in the repo?)
<bjc>i don't think it matters hardly at all, but won't that point to the wrong guix?
<minima>(actually moving to the non-vixie notation is not really the point here, sorry - my question is related to building the "guix gc" string)
<bjc>it depends on the context. at build time ‘ls’ isn't available unless you pull it in, which requires the use of #$ to get its store location. at run time, you may want to use the one in the path or an explicit one depending on your needs
<bjc>gc happens on the daemon. the guix command just tells the daemon to do its thing when you say ‘guix gc’, if that's what you're asking
<bjc>the danger would be if the cli to daemon protocol changes somehow that makes the ‘gc’ command stop working when the cli and daemon are different versions. but the odds of that happening are pretty low, i think
<bjc>note: i don't have any actual opinion on whether or not #$guix is the right thing
<minima>hm, thanks bjc i think i see what you mean
<arjan>what is still needed for the emacs package to be updated to 29.1? I noticed there is an open issue that does not makes this clear and also some work was done in the emacs-team branch?
<bjc>i wonder how hard it'd be to implement proper, erlang-style actors with fibers
<bjc>it wouldn't fix the issues that cause shepherd to hang, but it'd stop the hanging most of the time, and provide visibility all the time
<efraim>(guix-gc) is exported by guix/scripts/gc.scm so that might be an option
<minima>should `invoke' be preferred over `system*' - if they're sort of similar/interchangeable? is `invoke''s point to better report errors?
<minima>thanks efraim, do you see any point in using `guix-gc' as opposed to `"guix gc"'?
<samplet>RavenJoad: Ah. I used a separate “git.” domain....
<RavenJoad>I thought of that too. But even with that, I cannot see a way to override the generated nginx server block's name directive (which defaults to _) without having to manually rewrite the whole block.
<samplet>I would describe the old config I’m looking at as “manually rewrite the whole block”. :)
<RavenJoad>Ok. I guess I will just be tinkering with nginx configs until it all works out.
<samplet>I pass a bunch of stuff to the ‘nginx’ field of the cgit config record.
<samplet>I also did that URL punning thing where you can browse and clone at the same URL.
<RavenJoad>Would you be willing to share your config then?
<XiaoBiHu>Hi, I'd like to change the default guix-profile for the gnome window environment. Do you have any suggestions where and how can I do it, please? So far I've tried to put it in $HOME/.bash_profile, but the programs don't show up in the gnome.