IRC channel logs
2026-04-15.log
back to list of logs
<illybytes>including the apparent disappearance of /var/guix/profiles/per-user/illy/current-guix <illybytes>which means the current guix symlink in .config/guix is broken <kratacoa>illybytes: can you give more context? what preceded this result? <kratacoa>anyhow, you can just create a symlink with tat name pointing to some other generation in that directory, no? <kratacoa>(to be more specific, to current-guix-*-link) <illybytes>there's a few guix-home, anf some guix-profile <kratacoa>you could run the guix binary from there to do `system reconfigure` <kratacoa>or `guix gc --verify=contents,repair` if you think something is corrupt <illybytes>i should make a short shell script to automate it a bit :p <kratacoa>anyhow, you got any clues about what might have caused this? <illybytes>like i started the reconfigure about the time i sent message asking why my user's current guix folder doessnt exist :p <kratacoa>I remember trying to eliminate all of my system generations and failing with the current one, so I wonder how you got into that state <lullaby>What is a convenient method of connecting to wifi? Running sway, I <lullaby>I've been running `sudo wpa_supplicant ...` and `sudo dhclient ...` which does connect <lullaby>(using atheros 9271 chip) but connection is slow and laggy, and every couple minutes I have to <kratacoa>not suggesting it as a permanent solution, just in case you need to run it during installation <philippe>Hi all! I'm pretty new to guix! I've noticed that when I do `guix pull`, followed by `guix describe` my version of guix is 2 months old (when I first installed guix). Additionally, there is not folder named ~/.config/guix in my home director. Does anyone have an idea what might be going on, I'm pretty new to guix, and running just the package <philippe>This is preventing me from installing up to date packages that I need, so very curious to hear you alls insight. <lullaby>Wifi worked out of the box when installing the operating system from the thumb drive. But after booting guix I had no wi-fi until running wpa_supplicant and dhclient <kratacoa>philippe: did you install through apt or the script provided in the Guix docs? <lullaby>kratacoa: I'm not finding docs to set up usb tethering. To be clear, I am looking for a permanent wifi solution <kratacoa>lullaby: uhm, personally I've always run networkmanager so I can't help much. You should consult the docs, and should not need to run such things manually <kratacoa>lullaby: I just meant that as a temporary solution, it should work by just attaching your phone to usb and turning it on there <philippe>kratacoa I installed from the script in the Guix docs (99% sure it was two months ago, and I don't see it in `apt list --installed`) <lullaby>Oh, my phone doesn't have any data (to share) haha <kratacoa>philippe: does running guix pull succeed? <kratacoa>lullaby: it works by connecting your phone to wifi as well :) <philippe>kratacoa yes, I can confirm it is updating to the latest commit on master, `guix describe` shows a much older commit though. <philippe>and when I do `guix edit $name-of-package` it points me to the up-todate version of the package I want to install <czan>philippe: What does `which guix` show? And you're definitely not running "sudo guix pull", right? <philippe>`which guix` => `/usr/local/bin/guix`, and just doing regular `guix pull` <czan>And you mentioned there's no ~/.config/guix/current after the pull... Do you have anything in /var/guix/profiles/per-user/$USER? In particular, I'm hoping for a "current-guix" symlink. <philippe>Yes, I have a bunch of `current-guix`, `guix-profile` and `profiles` and some other folders in my per-user folder <kratacoa>you can create a symlink from ~/.config/guix/current to /var/guix/profiles/per-user/$USER/current-guix <czan>Interesting. But nothing in ~/.config/guix? Does your user have permissions to write to that folder? You should be able to manually make a symlink from ~/.config/guix/current to /var/guix/profiles/per-user/$USER/current-guix to match what Guix would expect. <philippe>interestingly, when running guix pull I get `user with UID 85205297 not found` at the start <czan>Then, if it doesn't happen already, you can source ~/.config/guix/current/etc/profile in your shell's profile (i.e. .profile, or .bash_profile, or whatever). <czan>I'm not familiar with that error message. <philippe>Thanks a lot! so the only thing in the .config/guix folder should be symlink to current-guix? <czan>~/.config/guix/current should symlink to current-guix. <ieure>philippe, What does `id' output? "user with UID nnn not found" generally means you're running commands as a UID that doesn't exist in /etc/password. This is usually Bad News. <philippe>ieure ran the command and the uid for my username matches the uid that is not found by guix <ieure>philippe, Are you running this in a container? <philippe>@kratacoa the symlink worked! I am now able to update my packages !! thanks for the help <yaircul>If I create a shared directory using 9P protocol in Qemu using e.g. `-device virtio-9p-pci,fsdev=fs0,mount_tag=MY_MOUNT_TAG`, how do I mount this FS in GNU Guix guest system automatically? I can mount it manually using the `mount` command, I could not figure out how to use `config.scm`, though, because `file-system` can only use a UUID, a device name or a file system label. <czan>What happens if you set the file-system's records device to whatever you call mount with? That is: mount $device $mountpoint => try something like (file-system (device "$device")) <czan>s/file-system's records/file-system record's/ <mroh>"guix system search autofs" <ieure>mroh, I wrote/contributed that service, genuinely didn't think anyone else used it (or that most even knew it was there). <ieure>But, yeah, good idea to try it here. <mroh>thank you so much for making that an "official" service! <ieure>mroh, You're welcome! And thank you for saying. autofs is load-bearing on my setup, so I had to do something. First time I've seen your take on it, but I found one other I drew some inspiration from. <yaircul>As far as I remember, neither `... (device ...)` nor `... (device (file-system-label ...))` worked and an error like "there is no such device" was printed. It aligns with the documentation, though: "It can be one of three things: a file system label, a file system UUID, or the name of a /dev node". <yaircul>`autofs` seems to solve the problem, thank you very much! I am so glad this service exists :-) <yaircul>Apparently, one can mount 9P filesystem by a mount tag from `fstab`, and GNU Guix `vm` functionality relies on 9P protocol to share directories somehow. Is it a good idea to file an enchancement proposal or a bug report to `add mount_tag` support (if none has been submitted yet)? <adanska>would anyone be able to take a look at #7897? its just a follow up to the recent icecat update which breaks icedove if they aren't kept in sync <ampinga>hi, after upgrading my guix system it seems I broke the gnome-session. I can't login anymore. After entering the correct password it shows: "Authentication error". I check the systemlog and it shows a lot of warning like that: "warning: gnome-session-binary: unable to find "org.gnome.SettingDaemon.*" Can someone help me <efraim>I don't use gnome but I can make some guesses. Have you rebooted? <mra>apteryx: when i switched to codeberg i rememeber wishing that it had better uptime compared to github. i probably should have wished that this would come about because of codeberg's uptime improving <apteryx>adanska: your icedove fix is merged, thanks <apteryx>(can't close on codeberg, I get error 500) <adanska>thanks apteryx :) poor codeberg, their reliability issues must be such a pain for the admin team <adanska>oh, its closed now, codeberg picked up that it was manually merged <ampinga>efraim: I already rebooted. I reboot a lot of time <yaircul>ampinga, have you tried clicking "show password" or smth? I had the same issue not long ago and it was due to my keyboard malfunction. <ampinga>yaircul: I checked the password also and it is correct. I use the same password with the CLI (or tty IDK)only and it works well <yaircul>Then I am out of ideas, I hope you get to fix this thing D-: // Maybe switching to a previous system or home generation can do the thing <apteryx>can you reproduce in a VM using the desktop template? if so, it's a bug in guix <ampinga>yaircul: the real issue, I deleted by accident all previous generations <test202020>hi, zed is secure? cannit run that over guix container <futurile>test202020: it's a compiled binary, or one you got from guix? <futurile>trev: yeah, just searched for it, looks cool. I guess it's a compiled binary you download. <trev>i don't even see it in guix so how could it be run like that test202020 ? <trev>i guess some other channel must've packed it <trev>i'm waiting for my kitty PR to merge before i pull again and ruin my whole day <attila_lendvai>ACTION is once again frustrated by the entirely unhelpful error message and the lack of log from herd/shepherd <attila_lendvai>nginx just fails to start, and it's a detective's work to find out why <adanska>attila_lendvai, i think theres a bug where system-log doesnt maintain /var/log/messages if you have reconfigured ur system (or at least this is the behaviour i have noticed) <adanska>i have to herd restart system-log for it to start working again <adanska>which restarts the whole user session <attila_lendvai>adanska, shepherd simply doesn't have many log statements in its codebase. i once addressed it while i was hunting down a bug, but the commits were left to bitrot <attila_lendvai>but in general, the way errors are treated in the guix codebase in general is not very mature/disciplined <trev>attila_lendvai: try to start it without the service <attila_lendvai>trev, that's what i meant by detective's work... thanks for the help, though! <attila_lendvai>and my commits to fix error handling and logging getting rejected is even more disappointing than the current state of affairs in the codebase... <trev>the good part about scheme is that you can just load your changes <futurile>Duongph2098: So you're trying to run the 'unattended upgrades' service and it's showing it exited with 'code 1' <futurile>Duongph2098: how did you configure the service? <futurile>Duongph2098: you don't need the 'channels' line as you're just repeating the default <futurile>Duongph2098: or the system-expiration. What are you trying to do with the 'operating-system-file' <yelninei>i think i got a new record: phase `build' succeeded after 73355.1 seconds. Only to have it oom in make-dynamic-linker-cache :( <Duongph2098>futurile: I was trying to copy my whole configuration folder, which is `/home/x/dotfiles`, into the store, and point to `/config/systems/qemu.scm` as the configuration file <futurile>Duongph2098: OK, well I see why, but it has a copy of that in the running system - that's what is in /run/system/ <Duongph2098>futurile: When I run `ls /run/system` i got `no such file or dir` <futurile>Duongph2098: you have no /run directory? <Duongph2098>futurile: But does it has anything to do with making my unattended-upgrade service fail? <Duongph2098>futurile: It has `booted-system` `current-system` etc but no `system` <futurile>Duongph2098: well, you seem to have configured the service away from the default, it's not working at the messages seem to say it can't find a file. So I would set things back to the default - test - and then move from there <Duongph2098>futurile: By default you meant the `operating-system-file` part, right? <attila_lendvai>trev, if you meant that to me, then in practice that does not apply to the init process that does all kinds of dance to retain some sanity in that environment, and loading user code... <futurile>Duongph2098: I'm suggesting that you remove your changes ad use the default configuration for the service first. If it starts with the defaults, THEN work in your changes. You don't need most of the lines you have. <futurile>Duongph2098: at the moment you seem to have this service not working AND you're trying to figure out how to split your configuration. So you have a lot of moving parts all at once :-)) <Duongph2098>futurile: No, currently I'm not bothering with the splitting part. I run `guix system -L reconfigure qemu.scvm` successfully and want to make it work with unattended-upgrade <efraim>i'd love to have the build-directory for the cmake-build-system be configurable <efraim>or for out-of-tree builds in general <futurile>hmm I have a mad idea, create a partition for my gnu/store and then mount it into all my vms. Then have smaller vms. <ieure>futurile, I'm not sure that'd work, doesn't Guix need /var/guix/db/db.sqlite also? <futurile>ieure: probably, I'd need to research it - I know some of the science people do "something" over NFS - but I never looked for the details <futurile>and I don't want to even think about using NFS heh <cdegroot>Shouldn't VMs already shadow-mount the store? Never looked at it, I run two VMs, one is Win10 and the other an old Nix one. <futurile>I haven't seen a config for that (maybe someone's doing it and I just haven't seen it), so for each VM is it's own /gnu/store <futurile>and I guess as ieure is suggesting you'd have to mount /var/guix in some way - though I guess there'd be footguns over two daemons writing to the db at the same time maybe <ieure>futurile, It might work? If I do two reconfigures (ex. system and home) at the same time, I'll see one or the other of them waiting on a lock for the DB. SQLite doesn't support concurrent writers. <futurile>ACTION adds to long list of guix 'todos' <efraim>futurile: you can expose /gnu and /var/guix, and then if you use GUIX_DAEMON_SOCKET to ssh back into the host you can build things from within the vm or container <efraim>it's also what I've used in the past for using Guix on a cluster, install on the head node and all guix commands travel back to the head node using ssh and then NFS export /gnu and /var/guix <identity>(info "(guix) Daemon Offload Setup") might be of interest <identity>though i guess that offloads only builds and not storage <illybytes>oh yeah, successfully got niri + somekind of shell working :3 (copied hako's home-graphical n the default home definition from the live iso's config but without the installer service things) <trev>sigh...anyone know how to get libstdc++ in a specifications->manifest ? <ieure>trev, I believe they're in the gcc package(s). <ieure>trev, (specifications->manifest '("gcc-toolchain")) should work. <illybytes>according to toys.whereis.social, they are in gcc <ieure>trev, There is no lib output for gcc. <ieure>trev, Indeed, there is no gcc package anymore, it's gcc-toolchain. <illybytes>hmm, rn i have some permission issues with flatpak, im trying to use a system repo for flatpak (needed because of something im doing) any way to fix that? <illybytes>i did add the repo with sudo flatpak remote-add bla bla blah, <trev>ieure: must be my env vars in the container or somethin <ieure>trev, How would that affect this? <trev>it can't find the library file within the container <illybytes>> i did add the repo with sudo flatpak remote-add bla bla blah, <illybytes>it doesnt prompt password when flatpak installing something and just fails :p <ieure>trev, /gnu/store/igdsy7ip78mgh4y6lg2mp9yq1qak85cy-gcc-toolchain-15.2.0/lib/libstdc++.so.6 <ieure>trev, If I `guix shell gcc-toolchain', $LIBRARY_PATH is set to the directory holding that symlink. <ieure>Sounds like whatever build system you're using doesn't respect that? Or maybe you need to add -L$LIBRARY_PATH to your LDFLAGS. <trev>ieure: dammit i'm such a bonehead. i was forgetting -m manifest.scm <trev>forgot it doesn't get automatically picked up with --container <ieure>trev, I like problem that are easy to fix! <illybytes>oh yeah, anyone here know how to setup auto mount for external drives? <untrusem>some people I know did that, will need to look into it <ieure>illybytes, Have you looked at the documentation for autofs-service-type? <illybytes>i didnt know what to look up, like i looked up auto mount but didnt think of autofs lol <ieure>illybytes, I wrote the docs and service, would be delighted for any feedback you have about them. <illybytes>oo so u can map specific types of filesystems to specific mount points that handy <illybytes>im guessing if i dont configure it, it will just automatically use /run/ right? <ieure>illybytes, You have to specify a mount point. <ieure>illybytes, autofs is itself a filesystem which gets mounted at the target mount point, so the only way to make /run work like that is to have /run be the autofs mount. I'm not sure if that would work, but it's not a good idea IMO. <ieure>illybytes, It will automatically create the directory to mount on, if it doesn't already exist. <ieure>illybytes, Probably the simplest thing here is to have autofs manage /run/autofs or similar. <folaht>Is there a way to install android-tools on the guix OS? <illybytes>every thing ive tried ends up in a "wrong type argument" error x.w <illybytes>guix/ui.scm:921:18: In procedure car: Wrong type argument in position 1 (exptecting pair): # <unspecified> <illybytes>something seems to be might be missing in the docs cus i swear to god i have tried everything 😭 <lilyp>you run into an error in the error handler <lilyp>let's start at square zero: what are you trying to achieve? <ieure>illybytes, Can you paste your configuration? <illybytes>issue is i dont have an irc client setup on my laptop, but will use localsend to sent it to my phone :p <ieure>illybytes, Looks right to me, maybe the handling of '(ro) is buggy. <illybytes>nope even without that specific indirect map for ro stuff it still errors <lilyp>okay, let's start working our way up <lilyp>does `(service autofs-service-type)` work? <ieure>lilyp, It's a bug in the service. <illybytes>ive tried that on its own before i knew i needed the config <illybytes>zamn, the illy curses follows me everywhere x3 <ieure>illybytes, Would you please open an issue on Codeberg and assign it to me? I can't fix it this second, but will push a fix tonight. <folaht>Who does it need to be assigned to? <ieure>(that is also my codeberg username) <dcunit3d>pls tell me y'all are being considered for at least part of the french gov't linux migration <dcunit3d>yeh, i'm pretty sure Guix users can do wtf they want on that <ieure>I started a thread on guix-devel about it because people keep asking, but it didn't seem to go anywhere. <dcunit3d>and that most linux users will be able to mock out the service that does age verification <ieure>Any website that wants to verify my age can kick rocks. <ente>yeah I just felt it was relevant because it mocks the very concept <ieure>It's one of them new self-mocking concepts, all's you gotta do is explain it to elicit peals of laughter. <ente>it's one of the many things in politics where I'd laugh if the proponents weren't serious <ente>at this point it feels like they're just coming up with new bullshit to stay relevant and have a reason to keep claiming their paychecks while also doing nothing to upset the ruling class <lilyp>i mean they are a tool of the ruling class, why should they upset them? <ente>my point kind of also being, why do we have enough people voting for these people? how are their campaigns effective on working-class people? <ente>or even further, if democracy is broken, how do we fix it on the fundamental level? <ieure>I don't disagree with any of this, but it feels like it belongs in #guix-offtopic.