IRC channel logs

2020-12-27.log

back to list of logs

<dftxbs3e>hello!
<ryanprior>Hi dftxbs3e 👋
<atw>Nice job to Paul A. Patience on packaging fennel!
<ryanprior>Guix seems to set the timestamp on all files to 0, presumably to aid in reproducible builds. For a package I'm working on (vlang again) it's important that some files be newer than others.
<ryanprior>They don't have to have contemporary timestamps, just higher than certain other files. Can I use "touch" or some other method to set timestamps for files? Will that work?
<xelxebar>ryanprior: You might try looking at the `SOURCE_DATE_EPOCH` stuff. Some packages look to be overriding this at key times.
<xelxebar>Interesting-looking language!
<bdju>ryanprior: thank you for writing that blog post! I'll take a proper look in a bit
<ryanprior>bdju: you're welcome, hope it helps! I've struggled with that part of the tool and regularly see others tripping over it, so hopefully by writing it out as such we'll have a resource to share.
<ryanprior>And maybe it'll help us concentrate on solutions to the underlying problems as well and lead to even better tools in the future.
<bdju>ryanprior: I've read your blog post now and followed part of it. I see now why it failed earlier, since it was looking for "testing" and I hadn't cloned the whole repo. interesting. all your examples look like they won't let you just run the package from anywhere (without specifying a full path) in the end, though. is this just for security reasons?
<rekado_>ryanprior: bug is fixed!
<rekado_>bdju: who is “they”?
<bdju>they is a "what" rather than a "who" here and refers to the plural "examples" used earlier in that sentence
<bdju> https://ell.stackexchange.com/questions/54025/talking-about-inanimate-objects-in-plural-they-or-it
<civodul>o/
*civodul prepares guile-zstd release
<jonsger>:)
<roptat>I don't know what's the audio codec, but the sound is horrible in icecat: https://streaming.media.ccc.de/rc3/cwtv
<roptat>but it works well in qutebrowser for instance
<mdevos>roptat: idem, and it is not specific to streaming.media.ccc.de. The website where I sometimes have issues with audio is not publicly accessible though
<mdevos>but it works well in ungoogled-chromium for me
<roptat>yeah, I'd like to understand where the problem is
<mdevos>according to guix show, qtwebengine uses the Chromium browser project. Perhaps a difference between chrome and firefox? I don't have more clues to the origin of the problem however
<jonsger>roptat: for me the audio is bad on firefox and ungoogled-chromium
<mdevos>in which way is it bad? In my case firefox plays the sound at very low pitch
<roptat>very low pitch and cracking noises
<mdevos>roptat: I also have cracking noises
<mdevos>Perhaps the following is relevant: https://support.mozilla.org/en-US/questions/1223329
<roptat>seems that mpv and ffplay are able to read the stream properly (https://live.bn.c3voc.de/hls/cwtv2/native_hd.m3u8)
<roptat>the audio-only version works fine...
*mdevos gives up
<roptat>the audio-only is directly a mp3 file, whereas the video version is a m3u8, which icecat doesn't seem to know how to open, so it probably falls back to some broken javascript...
<roptat>ok, I also give up, now I'm getting webm files and it works...
<bonz060>Hi guys! For emacsen users here, what Emacs email clients do use? I'm thinking of moving to mu4e or notmuch; since with GNUs, I have to open a whole separate window(under exwm) to follow my mails. The biggest +1 for GNUs however is that I get to subscribe to things on nntp(hence I can access Mailing Lists very conveniently)
<janneke>i'm using gnus with exwm, and sometimes notmuch on the side; what do you mean by "whole separate window"?
<pinoaffe>bonz060: I use mu4e for mail, in exwm, and I started dedicating a whole exwm workspace/frame to mu4e a couple of days ago
<bonz060>pinoaffe: could you point out, if you can, a beginner friendly place to start. I'm currently looking at: http://cachestocaches.com/2017/3/complete-guide-email-emacs-using-mu-and-/
<rekado_>mdevos: could you try disabling media.mediasource.mp4.enabled in about:config
<rekado_>?
<bonz060>janneke: In exwm, you basically run things in "Emacs". So when you run something in a whole "separate window", I mean that I'd open Emacs(again) in a window, and open GNUs in that instance of Emacs. That way, GNUs won't ever block exwm...
<bonz060>janneke: Inspired by this: https://github.com/ch11ng/exwm/issues/106#issuecomment-239668328
<mdevos>rekado: thanks! that ‘fixes‘ the issue.
<pinoaffe>bonz060: I don't really know an all-encompassing beginners resource, I looked at some offlineimap, mu4e and msmtp documentation when I made my setup
<pinoaffe>so I fetch mail asynchronously but I still send mail synchronously since doing it async introduced some issues that I have yet to look into
***sorki is now known as srk
<janneke>bonz060: ah, right
<bandali>roptat, https://savannah.nongnu.org/task/?15757#comment12
<efraim>should I need to run 'sudo guix discover' from time to time?
<civodul>efraim: no, it's meant to run in the background and to update the list of available nodes automatically
<rekado_>pinoaffe: I’m not so happy with offlineimap, but I can’t use the obvious alternative
<rekado_>offlineimap is pretty slow and seems a little buggy.
<rekado_>it’s also somewhat annoying that it takes so long for me to see new mail, because I need to wait for the next refresh cycle (instead of getting push messages)
<pinoaffe>rekado: I have yet to encounter buggy behaviour, but that may just be luck :)
<pinoaffe>and I agree that the refresh cycle is annoying, but I don't really mind it
<pinoaffe>I think I saw something about offlineimap supporting polling somewhere, but I forgot where and can't seem to find it rn
<atom`>Hi. I've been trying to add udev rules for Nitrokey to use my Nitrokey FIDO2 and Nitrokey Pro 2 in Guix SD. Following the wiki and mailing list I ended up with the following in my config: https://bin.privacytools.io/?f1ec1dc049cb755e#K42ZDEMMxkfMb8s2O7BvZIua4Ey6P83bHfiEY6YME5A= Additionally libu2f-server and pam-u2f are installed. I cannot find the expected file 41-nitrokey.rules in udev-rules/lib/udev/rules.d/ and the Icecat does not
<atom`>react to the FIDO key. Anyone know what might be wrong?
<ryanprior>I've been looking through the uses of SOURCE_DATE_EPOCH in Guix and I read the RFC about it. It's still not clear to me what it actually does, and I haven't found any sophisticated examples of packages manipulating it.
<ryanprior>I do see some packages that set it to this or that value, or that unset it for a single step, but neither of those address my use case, which is setting different timestamps for different files within a single package.
<DynastyMic>Hi guys. What's the best way to blacklist/block websites for productivity in guix?
<DynastyMic>Should I just install Chomper, or is there a better way to do it?
<rekado_>ryanprior: it’s for setting all recorded timestamps to a single fixed value.
<jonsger>roptat: I think the audio issues on the rc3 streams are not at our end...
<rekado_>it’s a more upstream-compatible way to elide timestamps when necessary
<rekado_>(upstreams often do like their timestamps to remain, so setting SOURCE_DATE_EPOCH is a way to opt in to clearing them.)
<rekado_>ryanprior: if you want to just set the mtime of a file use the “mtime” procedure.
<rekado_>atom`: modify-services returns a value
<rekado_>you’re throwing away that value
<ryanprior>Aaa cool let me look up mtime.
<rekado_>atom`: it is not stateful
<rekado_>it does not *change* the value of %desktop-services
<rekado_>it just returns a new value that has been derived from %desktop-services.
<rekado_>so you really only just need to actually use it in your operating-system’s “services” field.
<ryanprior>I don't see any packages that call the mtime procedure. So I might get to be the first
<dftxbs3e>new transform --with-patch is so helpful :-)
<profmakx><3
*profmakx just booted guix on a rockpro64
<profmakx>from eMMC
<atom`>rekado_ so I could replace %desktop-services with the (modify-services...) call inside the operating-system definition?
<rekado_>ryanprior: sorry, utime!“
<rekado_>ryanprior: see (gnu packages acl), for example
<rekado_>atom`: yes
<ryanprior>Okay now I see examples :)
<rekado_>that’s how it’s intended to be used
<atom`>rekado_ Thank you. I will try this.
<rekado_>atom`: you can also bind the result to a variable name and use that name later
<dftxbs3e>can't wait for --with-substitution for simpler things, or pre-install things
<jonsger>profmakx: congrats
<atom`>rekado_ How do I do this in Guile? (define ...) ?
<profmakx>from eMMC
<profmakx>argh
<profmakx>sorry
<rekado_>atom`: (define fourtytwo 42)
<atom`>rekado_: Thanks.
<pinoaffe>DynastyMic: I don't know what the best way is, but you could add a host file to your operating system definition, see https://guix.gnu.org/manual/en/html_node/operating_002dsystem-Reference.html
<rekado_>i.e. the variable name you want to define followed by a value (or an expression that evaluates to a value)
<pinoaffe>(if I'm understanding what you want to do correctly)
<DynastyMic>pinoaffe: I'll check that one out
<slogman>I'm using i3 via slim on top of %base-services alongside dnsmasq for dns caching/resolution. I've created a simple service to overwite resolv.conf to localhost but it is overwritten with what appears to be the DNS server given by my DHCP server. I am not using network manager. Any tips?
<slogman>oops, s/slim/sddm
<slogman>Actually, upon looking closer, a new question: how can I know if I'm using network-manager or not? Is it supposed to be listed in herd stauts?
<BlackMug>KVM not added to the packages of guix, is there a roadmap for it?
<mdevos>Is it possible to extract a narinfo from a cuirass build? I would find it useful to download the substitutes of recent cuirass builds.
<slogman>Confirmed no network manager. I'm going to assume this issue is Vagrant overwriting the resolv.conf for fun, as things are apt to do. Here's hoping when I flash this to a disk image it doesn't pull this kind of crap
*apteryx has a patch to make fontconfig honor XDG_DATA_DIRS
<apteryx>coming soon: fonts honored per-profile
<FragmentedCurve>Hey, I'm trying to compile Guix 1.2 but it keeps hanging at this point: https://pastebin.com/w8k1T2LZ
<civodul>FragmentedCurve: hi! pastebin.com blocks Tor users; could you use a different site, such as https://paste.debian.net?
<FragmentedCurve>civodul: https://paste.debian.net/1178538/
<civodul>thanks!
<civodul>FragmentedCurve: if you "ls -lrt tests/*.log", perhaps you'll see which test is still running?
<civodul>and then you can "tail -f tests/whatever.log" to see what's going on
<FragmentedCurve>civodul: Ah, thank you. That answered the question. https://paste.debian.net/1178539/
<civodul>FragmentedCurve: oh, that may have to do with parallel tests; if you run "make check -j1", does it vasish?
<civodul>*vanish?
<civodul>or it could be that there's some other program listening on that port?
<FragmentedCurve>civodul: I'm not sure what port its trying to grab, but I shut down all the services I have running that are using ports such as 8080, 5000, etc. If it's trying to use 80, that port has been available each time I tried compiling. I'll if it hangs again, if it does, I'll try building with -j1.
<FragmentedCurve>*If it hangs again, I'll try building with -j1.
<civodul>it's trying port 9999
<civodul>according to (guix tests http)
<dftxbs3e>sneek later tell lfam: See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45476 for syncthing update
<sneek>Will do.
<FragmentedCurve>civodul: Still having the same problem wiht -j1. Also, while the test is running, something is opening 9999 when tests/substitute.scm runs. https://paste.debian.net/1178547/ I'll have to try fixing this later, I need to go now.
<msdfgs>Not a guix question per se, but can anyone help me launch the guix Qemu VM? What command would I need to run it (on ubuntu)? Or what would I need to install. I think I have the QEmu packages installed.
<dftxbs3e>msdfgs, maybe try: https://guix.gnu.org/manual/en/html_node/Running-Guix-in-a-VM.html
<msdfgs>Perfect, thanks so much dftxbs3e!
<dftxbs3e>msdfgs, you could also probably use virt-manager and import an existing disk image there
<dftxbs3e>It would save you from doing anything with the command line and give you better out of the box experience
<buenouanq>substitute: guix substitute: error: TLS error in procedure 'handshake': Error in the pull function
<buenouanq>guix pull: error: `/gnu/store/...guix-1.0.1-15.0984481/bin/guix substitute' died unexpectedly
<buenouanq>running guix pull just now
<buenouanq>what do?