IRC channel logs
2026-06-13.log
back to list of logs
<hjolmir_the_peni>hi all, i think i found a bug in how derivations are serialized to ATerm but i wanted to check because i found it while doing something a little cursed, so its possible nobody cares <hjolmir_the_peni>namely, if give read-derivation-from-file the output of `nix path-info --derivation nixpkgs#gettext`, then use the `derivation` constructor and pass it every field of the resulting drv, it fails with: <hjolmir_the_peni>In unknown file: 0 (put-string #<output: custom-port 7fb60ab2b3f0> "# Old…" …) ERROR: In procedure put-string: Throw to key `encoding-error' with args `("put-char" "conversion to port encoding failed" 84 #<output: string 7fb60ab2b3f0> #\’)'. <hjolmir_the_peni>im trying to avoid dumping a big ol' scheme file as the reproducer, but it certainly seems like utf-8 breaks roundtripping. very happy to write a fix but i want to make sure that im not missing something that says i shouldn't even want this lol <schematic>Help me understand how to approach this. I have a modular config that I want to setup, but recently I have come across profiles. Are they the better approach to a modular setup? For example, I want to create a wayland module, where once it has been enabled, it should install hyprland (example) and the remaining configurations. Would a profile be a better solution here? Or am I confused about the approach. <hjolmir_the_peni>im by no means an expert, but it feels like maybe a job for service extensions? <Ghil>Quick question. If my PR now has "This branch is out of date" and there is an option to rebase. Should I do it? <Ghil>Or should I wait for a reviewer to check it again? <schematic>Ghil, if it interfers with your PR, yes. Otherwise, it should not matter <schematic>hjolmir_the_peni: that was the plan initially, but I guess I was confused by profiles <Ghil>> Ghil, if it interfers with your PR, yes. Otherwise, it should not matter <Ghil>I don't think it does, It's still saying it can be merge automatically <bdunahu>it would be red and say 'there are conflicts that need to be resolved' or something if it was an issue. If theres no conflict, then it still might be worthwhile to rebase if your branch is over a couple weeks old <Ghil>> it would be red and say 'there are conflicts that need to be resolved' or something if it was an issue. If theres no conflict, then it still might be worthwhile to rebase if your branch is over a couple weeks old <Ghil>It's like 2 days old, and it's just a new package definition in gnome-xyz.scm, so it shouldn't be very problematic. There's nothing indicating a conflict <bdunahu>okay, all it means is that at least one commit was pushed into master since you created the branch (or since you last rebased master into your branch). So you'd have to rebase every few hours to keep that message away <untrusem->anybody using rust-sources.scm in their channel for rust packaging? <untrusem->I have a problem with it not finding the packages <trev>i am using `cargo-inputs-from-lockfile' <trev>and just checking in the lockfile <adanska>We should ungraft openssl and postgresql on misc-world-rebuild. <adanska>Its a great opportunity to do so since QA hasnt started building it all yet. <csantosb>adanska: in principle, ungrafting of openssl is expected to happen in crypto-team branch, see !9204 <adanska>csantosb, oh, i see. Cool! I suppose that leaves postgresql.. <futurile>morning all - I'm going to remind everyone about Guix Foundation AGM tomorrow ... <futurile>if you want to attend details were emailed to the guix foundation members list <futurile>if you CAN'T attend you can delegate your vote to another member (each member who attends can act for one other person) <futurile>if you are NOT a Guix Foundation member, but would like to attend, ping me and I can send you the details - it's a good opportunity to learn all about it - and we'd love to make GF a real reflection of our community, so the more members the better! <Alavi_me>Hi people. I have installed guix on top of arch linux. the manual says to install fontconfig file:///home/alireza/Documents/Library/documents/programming/Guix/GNU%20Guix%20Reference%20Manual.html#X11-Fonts <Alavi_me>But I don't understand, I already have fontconfig installed through pacman. Now do I also install it from guix? or remove the pacman package and go only with guix? or pacman only?? <Alavi_me>This caused me a lot of problems yesterday (having two fontconfig installations) and all my font rendering. From my conversation with one of the people from #archlinux: <csantosb>Alavi_me: Hi, I'm also using Guix on top of Arch <csantosb>No need to link to your personal folder file:///home/alireza/... 🫢 <csantosb>Anyway, I'm using Guix's fontconfig package, along with all the fonts I'm using (font-fira-code ...) <Alavi_me>I don't know how to copy message in weechat T-T But anyway, when running fc-cache, it pointed to the one from guix. But then I ran /usr/bin/fc-cache and the problem got fixed and my fonts rendered. <Alavi_me>csantosb: Ah sorry. I use local version of guix manual. But you get the gist, it's under the X11-Fonts section of the manual :D <Alavi_me>csantosb: So you don't have fontconfig installed from pacman? guix only? <csantosb>Sure, I do; you cannot remove it anyway, as this is required by many other packages. <csantosb>But my `which fc-cache` points to my local Guix package <csantosb>Just checked; I have no `ttf-...` whatsoever installed with pacman. Only Guix font packages. <Alavi_me>csantosb: do you install your fonts with guix or arch? I used to install them manually under /usr/share/fonts but that broke with the problem of conflicitng fontconfigs, so I installed my fonts from pacman and the issue didn't got fixed until I ran /usr/bin/fc-cache <csantosb>Alavi_me: do you need any font not available in Guix ? <Alavi_me>csantosb: Yeah the fonts on guix are pretty limited. For example ProggyClean nerd font is not available. And what If I want to install fonts manually? fonts that are not available in either of repos <PotentialUser-61>I ask how is it posible to change the reposoritie, concret from Bourdeux-France to a German Mirror, bevor the download software is starting? <Alavi_me>PotentialUser-61: Wait. We have other mirrors than bordeaux.guix.gnu.org and ci.guix.gnu.org ? <csantosb>I've seen a list of substitutes somewhere recently ... 🤔 <PotentialUser-61>I try the installation before, an at these installation, it start a lot of software and take a lot of time, an the speed was slowly. <csantosb>Not sure you can modify the substitute servers during install itself; only later on, in your config. <AlaviA>There's something I don't understand tho. What is the difference between the substitute mirrors we add in the guix service's --substitutes-url and the ones defined in channel-with-substitutes-available in channels.scm? <csantosb>AlaviA (Alavi_me ?), Guix's `fc-cache -v` aparently scans also /usr/share/fonts, where Arch's fonts are <AlaviA>csantosb: Yeah but I don't quite understand what made my fonts break. I think it was that during arch's post-installation hooks, it rebuilds font configs, and by calling it it called the fontconfig packages from guix so the arch fontconfigs didn't get updated? <AlaviA>But the issue was definitely an interference between the two fontconfigs. <csantosb>Yeah, using Guix foreign is great, but sometimes you need to be careful <csantosb>Take python, for example, or any other Arch's base package <AlaviA>csantosb: Guix and Nix seem to have better protection against supply chain attacks, since the whole thing is a monorepo and PRs get reviewed. Supply chain attacks in guix seem unlikely. But somebody was talking about nix's ability to build packages in a sandbox, I don't know about how guix can do it <Alavi_me>Does anyone know this?: There's something I don't understand tho. What is the difference between the substitute mirrors we add in the guix service's --substitutes-url and the ones defined in channel-with-substitutes-available in channels.scm? <Alavi_me>I don't get full reproducibility since it doesn't have the commit hash. So if I want to keep my config fully reproducible, I will need the commit. <Alavi_me>How should I do this? Do I manually update channels.scm with the commit hash everytime and then do `guix pull -C ~/.config/guix/channels.scm`? or is there a way that `guix pull` automatically updates it? <mgd>Hello. I recently installed enlightenment using (service enlightenment-desktop-service-type). I've removed it and reconfigured the system since but it's still appearing as an option on the login screen. I've done the same with Gnome before without any problem. Is there something different about the way enlightenment is installed? <yelninei> what display manager? check or nuke /var/lib/AccountsService <mgd>yelninei sorry I had emacs up in another window. I just have an icons/ and users/ folder there. I assume it's gdm? <yelninei>mgd: Do you use gdm or something else? Is the enlightnement session in /run/current-system/profile/share/xsessions or /run/current-system/profile/share/wayland-sessions <yelninei>the accountsservice caches your last used session in users/$USER . Does the session actually work or does your display manager think that it should be there? <mgd>yelninei there is an enlightment.desktop file there <mgd>yelninei I can actually select it and the desktop environment opens but freezes <mgd>yelninei ok, that helps. I ran `guix package --list-installed | grep enlightenment` but nothing came up <mgd>let my try to reconfigure the system again <yelninei>can you check your packages of your operating-system? <sham1>Okay, I'm getting some very odd behaviour. I'm trying to do `guix weather` and I'm getting stuff like "guix weather: warning: ci.guix.gnu.org: connection failed: Permission denied". Has anyone else had this? <yelninei>mgd: yes, the package you installed with "guix install" are not discoverable to gdm <sham1>Hm. Mystery is getting closer to "solved". Apparently in my ~/.cache/guix/substitutes I have some permission problems <sham1>That would explain why I've been having some trouble getting some of my substitutes off the ground now that I'm thinking about it <mgd>yelninei (operating-system <mgd> (initrd microcode-initrd) <mgd> (firmware (list linux-firmware)) <apteryx>arg, watch status on guix repo got reset again (why?) and I got spammed by many notifications I'm not supposed to receive (from my team scopes) <yelninei>mgd: I dont see how youd end up with enlightenment xsession with that config. <yelninei>Rutherther: Huh, now the build is marked as succeeded, while the log shows a failure, but it seems substitutable. I dont understand cuirass sometimes <mgd>ok, thanks anyway. i'll continue exploring <Rutherther>yelninei: I think the log might be from a previous run, sometimes Cuirass doesn't update it. I think that happens mainly when it's already built on a worker and just gets substituted on cuirass <mgd>the system reconfigure seems to have fixed it <mgd>yelninei: Thank you for your help <janneke>;;; WARNING: loading compiled file /home/janneke/src/guix/master/guix/ui.go failed: <janneke>;;; In procedure load-thunk-from-memory: incompatible bytecode version <janneke>;;; note: source file /home/janneke/src/guix/master/guix/ui.scm <janneke>;;; newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/guix/ui.go <janneke> 1.7% substitutes available (412 out of 23,999) <janneke>yelninei: i'm thinking you're way beyond 412, should ci be updated to (try to) build more packages? <yelninei>janneke: way more builds, but it currently it only builds the manuifest which is limited on purpose to not waste ressoruces with things that 100% dont build <bjc`>it'd be real nice if gcc-toolchain@14 were substitutable =) <sneek>bjc`, janneke says: you got tmpfs going, lovely! <bjc`>i try to keep a substitute available, but it still needs to rebuild way too often <yelninei>bjc`: I have gcrooted all the final inputs, things with long testsuites and almost the entire hurd manifest on my linux machine and I rarely have to rebuild anything <bjc`>well, by "way too often" i mean i think i've had to do it twice in the last couple weeks <bjc`>i should gcroot the slow build manifests, though, to save me from an accidental gc <yelninei>ACTION has 6 gccs gcrooted (gccgo, 2 gdcs, 3 gcc s)