<nckx>Obviously that will only work if both 'instances' run at the same time. If you want to 'time-share' different Guix System installations on the same metal (interesting use case) you should be good with sharing a partition--the only gotcha is not to forget to share /var/guix, or at least the db/, or bad things will happen.
<vivien>Huh… which one of the instances is supposed to run the garbage collector?
<henzo_midala>In fact, i tried it days ago but was not aware of sharing /var/guix. What happened was I started having Guile errors saying "the source file... Is newer than the complied version" and guix command became extremely slow.
<semi>zig is totally broken on my machine - trying to do virtually anything (e.g. zig build) results in "Illegal instruction". Is this a known issue/does zig work for anyone here?
<rovanion>Why is guix-science a thing? Guix-science-nonfree is obvious but...
<AwesomeAdam54321>rovanion: It's because there are very old science tools that aren't maintained or at risk of having security bugs
<sneek>civodul, jackhill says: I haven't forgotten about the GnuTLS stuff! I hope I'll get a chance to return to it Monday evening UTC-5
<Kabouik>ACTION was pretty sure the Guix days were yesterday and today after mixing up 2022 and 2023 on the Guix website, and was excited yesterday at watching one-year old videos like they were fresh and new.
<Kabouik>I even marked those two days on my calendar to not miss the talks.
<Kabouik>I still have the issues I mentioned last week about resolving websites. It seems to be true for every web request I do, even a ping to google.com will take ~10sec before I get the first reply, then ping normally. Then if I interupt the ping and run it again, it's working immediately. I don't know if "resolving" or "dns" are the keywords here, but I'm open to any suggestions.
<futurile1>Kabouik: I won't be much help as I use Guix on a foreign distro. But, things (you've problably tried already) to check are that it's definitly 'resolving' not a network problem generally. So if you ping or ssh to an ip address (local on network, and non-locally) it's fine? If it's name resolution, then you need to check Guix's equivalent of /etc/resolv.conf and the equivalent of systemd-resolvd (a
<abrenon>ok, so if I simply add git-lfs to the native-inputs, it will be work automagically ? does it perform some kind of git lfs install on its own ? (sorry for the vague question, I've just discovered git-lfs and am still unsure how it works and what could be required to leverage it)
<efraim>sneek: later ask vagrant do you know if u-boot provides a UEFI interface for aarch64 and riscv64 by default? I'd like to redo some of our images
<cc0a3hr>Hello I want to install this GNU/Linux-libre distro on my system. I currently using Artix Linux. I want to switch to fully free distro. So I wonder if I can. I use nvidia GPU and open-source drivers doesn't work. This can cause problems installing free distro.
<civodul>to me the question is more about how we can support field deprecation in define-configuration
<mirai>the convo might be missing some context but the idea was that we'd like to have the field getters return only one kind of object, in this case we only want user-account records even though we want to pass either strings-or-records
<civodul>can this be done with a custom define-configuration "type"?
<civodul>oh maybe that's what you had in mind above?
<mirai>greetd-configuration implements this behavior but it uses record-type* which meant that using sanitizers was possible
<civodul>right (there are other examples of deprecated fields with record-type*)
<mirai>civodul: sure, it was another avenue I thought
<lechner>Kabouik / I think you have a DNS issue. Can you run a traceroute instead and see if the hop times are reasonable? We can then look into your name service issue
<oleander>Hello, I'm getting this message after a guix pull && sudo guix system reconfigure /etc/config.scm: "shepherd: Evaluating user expression (and (defined? (quote transient?)) (map (# ?) ?)). I found this email thread where Ludovic wrote that the question marks are horizontal ellipsis not being displayed properly because 'guix' is not running under a UTF-8 locale https://issues.guix.gnu.org/55857. Can this also be related to my
<mirai>I'm not entirely confident what/which approach should we take here, in fact I'm somewhat surprised this wip thing "kinda works" since I'm completely unfamiliar with how this #',... syntax sorcery works
<oleander>lechner: Hi, I figured that out, infact my question was more about the locale not configured properly according to what Ludovic wrote in that email thread. The message doesn't bother me much but I'm struggling with my terminal and browser since they are not displaying some characters properly, like the €.
<mirai>civodul: so we're 'sanitizer 'serializer literals based approach then
<mrvdb>gabber: could do indeed, time permitting. Was just wondering if an iso is just around the corner or still way off
<gabber>depends on how you define "just around the corner"... you could just `guix system image --system=powerpc64le-linux your-config.scm` (or whichever architecture you were referring to before, not sure)
<andreas-e>gabber: I will have a look at the patch later, it looks indeed straightforward, and as if there has been a problem with the QA service; it should not have taken such a long time.
<andreas-e>Two quick comments: The commit message is not perfect, and we avoid marketing speech such as "powerful". (I will adapt it, no worries.)
<andreas-e>(I just need to build chromium first, so it could take a while :-))
<gabber>andreas-e: thank you very much! yeah, sorry about the wording - it was straight up copied from their projects' side (:
<jlicht>cbaines: asking the obvious, but the sorting is descending based on issue number then?
<andreas-e>Sometimes that is the most difficult part :) I have packaged software of which I did not have the faintest idea what it did, but it was needed as an input for something I was interested in :)
<cbaines>jlicht, yep, maybe it needs to be by the date when the latest series was received or something else.
<unmatched-paren>The evil bovine-people who control the world don't want you to know, that's all.
<gabber>i'm looking for the bug that fails libsigsegv on riscv64 - the first one returns 139 in test stackoverflow1. i am looking at the sources right now - but i fail to understand where this 139 (or hex 8b) is supposed to come from. how can i invoke gdb for that specific build (i built the package with --system)?
<apoorv569[m]>For a font package using a zip package where do I get the (sha256 (base32 hash from? sha256sum package.zip ?
<nckx>You could derive the value from ‘sha256sum’ but I strongly recommend not bothering.
<nckx>unmatched-paren: I just learnt about the ‘goat men’ mythos today, so this is surprisingly relevant to my lived experience.
<apoorv569[m]>does guix hash does like first get sha256 then covert that to base32?
<lebowski>hi guix! i have a problem. i'm trying to write a daemon in python and run it with herd. so... in my daemon i call some utils (such as awk and grep). i've added this utils to my system config as system packages and used (substitute* ) in my daemon package definition to call this utils from store. but when i try to run my daemon it cannot use these utils (for example - /gnu/store/l77gnq45qfig4kh4y8j259h0ndqxfgx5-xrandr-1.5.2/bin/xrandr
<lebowski>cannot be used in my daemon, but it is installed and can be called from my (or root) profile. mb anyone know how to resolve this.
<gabber>lebowski: you don't need to add the service's dependencies to your system :)
<gabber>what is the exact error message? maybe paste.debian.net it?
<nckx>apoorv569[m]: Yes (like the ‘sha256sum’ does with hex), but with a twist: the alphabet used it not the most widespread one, but a Nix-specific one.
<nckx>lebowski: I don't really understand the problem, but them being installed or not has no effect on what you're trying to do. That's the whole point of patching.
<nckx>If /gnu/store/l77gnq45qfig4kh4y8j259h0ndqxfgx5-xrandr-1.5.2/bin/xrandr but your daemon fails to invoke(?) it, it's likely that the exact error matters. Could be related to permissions, for example.
<jackhill>hmmm, `guix weather ungoogled-chromium` reports that substitutes are availabe, but trying to upgrade a profile still results in a local build of building /gnu/store/wv1kr7vjlxjlaj5rvi2qfzjj787kn9a8-ungoogled-chromium-109.0.5414.119-1.drv...
<lebowski>nckx: so there is not way to cal utils in python script?
<nckx>Almost certainly, but I don't know all services('s languages) by heart. You seem to be missing my point though, which is that patching your services' package to invoke /gnu/store/l77gnq45qfig4kh4y8j259h0ndqxfgx5-xrandr-1.5.2/bin/xrandr *works* and is the correct solution. You need to investigate why it's not working, for example by finding the error message.
<nckx>If you share more details it might be possible to help you, but currently there's not enough info to say anything more. It's not even clear when it's failing—above it sounded like run time, now you're implying build time?
<lebowski>okay i need to rewrite my stuff to get more info, will be back
<nckx>apoorv569[m]: Basically, if you're the only committer. More accurately, in (make-channel-introduction C (openpgp-fingerprint F)), F is the fingerprint of the key used to sign commit C. C is basically the user's ‘trusted commit’ anchor. If you have multiple channel committers, you can't use just any other authorised key.
<lechner>mekeor[m] / please have a look at juix.org. i am looking for additional people who upload their store maps for comparison and better search
<lechner>andreas-e / please have a look at juix.org. i am looking for additional people who upload their store maps for comparison and better search
<mekeor[m]>lechner: wasn't there an attempt to implement this as a cli feature? iirc, there was a mailing list thread about it...
<andreas-e>lechner: I bookmarked it for later treatment. With all the core-updates compilation, my store is filling up very quickly...
<mekeor[m]>is it stupid to try to run node.js version 18 just by downloading it and running it inside guix-shell--container? that's where it get the libstdc++ related error. any ideas? :) https://paste.rs/Rcc
<lechner>mekeor[m] / yes, but my approach is different. my solution, like so often, is social rather than technical. for example, you can see that someone has 'gocryptfs' but it's not on any of the substitute servers
<andreas-e>How does it work? If I type gocryptfs into the search field, it finds nothing. Nor for libstdc++.
<lechner>andreas-e / i'll take provisional builds, too. The nature of SQL abstracts very quickly from what you think is junk
<graywolf>Out of curiosity, how does (local-file ...) that is later placed into /etc/... work when booting into previous configuration? Is the state of /etc restored on boot? Or will I end up with new /etc and old guix? I see `populating /etc from ...' message during reconfigure, so I'm unsure if that also happens automatically on booting into older generation.
<lechner>actually, the wildcard isn't quite working the way it is supposed to, i don't think. the Pg docs say zero more characters so %/bin/gocryptfs does not presently work (but %bin/gocryptfs does). many improvements are neeed, and i have the experience to imlpement them. it's just a proof of concept to gauge public interest. plus it's written in Guile, which is currently a bit hard for me (to be published shortly)
<lechner>andreas-e / i currently create a map with a script. it writes a bunch of files into an empty folder. if you give me access to those files, your content will show up on the website ten minutes later
<lechner>submission online is one of the things i am working on
<lechner>my hope is to assist anyone working on packaging, or merging things like core-updates
<andreas-e>So would you just like us to send you the outcome of "file -type f" from /gnu/store?
<lechner>andreas-e / no. give me a few minutes please, and i will post here
<lebowski>nckx: okay, need more time. thank you for tips. will debug it tomorrow...
<lechner>then execute guix shell -m ../juix.org/manifest.scm (or wherever it is located)
<lechner>then GUILE_LOAD_PATH=/absolute/path/to/juix.org/git/scm:$GUILE_LOAD_PATH ../git/scm/catalog/client/inventory.scm (or whichever is the relative path)
<lechner>That process may take an hour on rotational media, but is probably faster on SSD.
<lechner>I'll accept those files in any archived form, such as tar.xz or whatever
<lechner>the machine type of x86_64 is presently hard-coded, so please tell me if your base system is something different. i have not given any thought to cross-compiled files. perhaps my focus on the base system is an error
<elevenkb>hey y'all's i installed guix with the script thingy on a foreign distro but I can't access the definition of the `guix-publish.service` for systemd.
<elevenkb>it isn't in the location given in the manual.
<lechner>the script creates a JSON file for each folder in your store (and ignores plain files, the metadata of which tends to be solely of local value). It also computes the "output hash" via guix hash (which in my view should potentially be part of the path names in the store) but no hashes of individual files in order to maintain a modicum of privacy and plausible deniability
<zamfofex>What files are there in ‘~root/.guix-profile/lib/systemd’, then?
<elevenkb>everything? the whole directory `.../lib/systemd` is missing.
<lechner>andreas-e / i have not seen such dangling links but will of course look into it. you are the first person other than i to run that script. you are also far more experienced with Guix and likely to do advanced stuff. please forgive the errors for now.
<elevenkb>zamfofex: for now, i'll just modify the one in the guix source
<lechner>andreas-e / if i do not respond here within a few minutes once you make the files available for download, please send the information to email@example.com. today is a federal holiday in the US, and i will go on a walk with my family shortly
<elevenkb>have no idea what could be causing it, because my channels file is the same as always.
<mekeor[m]>ACTION is guix-pulling --branch=node-18-updates to test node version 18…
<nckx>I just got a mail that my DNS server is up (again), so that's good.
<nckx>elevenkb: Doesn't look familiar, but any more context to that error?
<andreas-e>lechner: After "guix gc -D the_dangling_link" your script starts running. But I will stop it now: I have >100000 directories in /gnu/store, and each of them creates a json file of 1kB to 10MB size. This risks to fill too much of my home directory :)
<gnucode>nckx: what's the benefit of running your own dns server?
<elevenkb>weird yah, just `guix pull` already gives me that error
<lechner>andreas-e / no worries, maybe another time!
<elevenkb>even without any `-C` flag even though I usually use that.
<andreas-e>The 10MB file corresponds to a checkout of openjdk, which has about 82000 files. Referencing them one by one and using a json output file is just too much.
<mekeor[m]>gnucode: you could use it for dns-based adblocking, like pi-hole
<lechner>i am not sure i have ever seen a 10 MB file, though. may latex
<unmatched-paren>gnucode, gabber: if either of you are planning on reading it, could you leave me a sneek message with your feedback? i'm concerned that it may not be comprehensible for people who haven't already understood monads fully
<unmatched-paren>much of the time i spent writing it was either (1) procrastinating or (2) trying to figure it all out for myself :)
<gabber>unmatched-paren: bold assumption of you to think i hadn't understood monads ;)
<unmatched-paren>agh, i should have added an extra conditional to that sentence, i suppose :)
<gabber>i will read it for sure - but probably not tonight. if i find anything especially noteworthy for you to feed back, i can gladly do so, but i have some confidence in our (guix project, that is) review process
<mwette>Thanks for that blog on monads. super nice!
<gabber>i really liked your last post, especially the hands-on approach!
<unmatched-paren>when i started it, i didn't understand the topic very much, so i did have to spend a lot of time trying to figure it all out
<unmatched-paren>but now that i (necessarily) have some degree of comprehension of the subject matter, i can't really judge it from the perspective of someone who doesn't
<unmatched-paren>that looks interesting! i'll have a read, and then i'll have to go zzz :)
<gabber>IIRC monads are one of the basic topics in functional programming - which was taught at uni.... so the term doesn't really scare me
<unmatched-paren>writing an introduction to Guix monads is particularly annoying, though, because (1) Guile isn't a pure language, so there's not the obvious "IF WE WRAP THE SIDE EFFECT IN A MONAD AND PLUG OUR EARS AND SAY LALALALALA REALLY LOUD IT STOPS EXISTING" use case and (2) there aren't many monads implemented in Guix to demonstrate with
<unmatched-paren>so i ended up first demonstrating the construction of a 'maybe' type, without talking about how it's a monad, and then showing how it benefits from monadifizication ;)