IRC channel logs
2026-04-06.log
back to list of logs
<dajole>I'm trying to test my home-restic-backup-service-type (https://paste.debian.net/hidden/bd9c1730) by triggering it manually with `herd trigger backup-to-foo`. It says "Triggering timer." but seems to fail silently. I can create restic backups from the cli just fine. How can I introspect observe what's going wrong in the home service? <mra>Rutherther: ah, I see. I'll have a look through that <mra>I guess a GCD on the topic seems rather inevitable <brian|lfs>I tired and tried to write a config file since graphic instgaller doesn't work I give up <yar-oracool>Can we use modify service types the same way we do service type definitions? I have been banging my head against the wall for a while but nothing so far. The modul is detected but no matter where I put the code it gives an error. <bjc>iirc, ‘modify-services’ can only update and delete from the set of services in its argument <bjc>if you want to add to the list you'll need to use ‘append’ or ‘cons*’, etc <yar-oracool>I want to define it in a file and use it like a module <ieure>yar-oracool, What's your error? <yar-oracool>wrong argument type in position 1 (expecting struct) <ieure>yar-oracool, And what's the code? <yar-oracool>It's either whre I'm placing it or how I defined it in the external file <ieure>Error seems like it's how you're calling it, but I don't have enough information to tell you. <ieure>You could also share more information. <ieure>You can't send a line break in an IRC message, because they're used as part of the protocol and everything would break horribly. <ieure>yar-oracool, Do you want the fix to your code, or a pointer already existing code that already does what you're trying to do? <yar-oracool>A standard system would be ideal if it functions the way I like. <ieure>yar-oracool, PM'd since it's offtopic for #guix. <ieure>But wrap your operating-system in that function, and it will do what you want. <ieure>The problem with your code is that you're calling (service ...) but giving it a procedure. It expects a service. <trev>do we have something similar to Nix's buildGo124Module? <trev>basically i want to take all go inputs and put them into a vendor directory <miro`>Hello. I have a question about developing guix packages. i <miro`>I send that too early... I'll type the question and come back <miro`>When developing new packages, fixes or changes to existing packages, etc., what is the recommended way to test them? <miro`>I now use `guix time-machine -C <channels> -- ...` where <channels> contains a local guix repository with the changes. <miro`>However, there is also `./pre-inst-env guix ...`. <trev>miro`: i am using ./pre-inst-env guix [build|shell [package] <miro`>trev: ok thanks. Am I understanding something wrong if I think that they are more or less performing the same thing? <trev>miro`: i suppose so if you are only working on packages. Sometimes i also just do that in a tmp directory and `guix shell -f /tmp/foo.scm' as well <Rutherther>miro`: they are going to give you the same package in the end. But guix time-machine was never meant for development. You always need to recompile everything from scratch, so the iteration can take tens of minutes. Whereas with pre-inst-env, you can recompile just what changed, so an iteration can take a few seconds <yarl>Rutherther: (Just to know:) in the time-machine case, I think the changes must have been committed, am I wrong? <Rutherther>yarl: yeah since time-machine operates on git refs/commits/branches <Rutherther>and fetching a local repository can take quite a lot of time with guile-git since it fetches all refs <ekaitz>nutcase Rutherther : ADW_DISABLE_PORTAL=1 for the dark theme setting <Rutherther>ah so it tries desktop portal first and that returns no dark theme <nutcase>ekaitz: Do you have gnome-themes-extra installed? <nutcase>I'm not 100% sure, but I think it contains adwaita for gtk2 + gtk3 <ekaitz>for the moment it didn't change anything <ekaitz>it's probably because it uses its own theme system <ekaitz_>it's like a few things read the .config/gtk-3.0 or whatever files <ekaitz_>and others just read from dbus and adwaita uses portals first <ekaitz_>ACTION will never have an acceptable answer to: why? <nutcase>ekaitz_: it's a mess. But I think 2027 is the year of the linux desktop <ekaitz_>it has been the year of linux in the desktop for me since 2010, but this is... too much <ekaitz_>it's desktop environments only worry about the experience of the whole thing together <ekaitz_>and things separatedly don't work as well <nutcase>It's like a human. You get to used to compromises <ekaitz_>now i'm wondering, how does 'darkman' work? <ekaitz_>it changes all the files, settings and reselaunches apps? <nutcase>ekaitz_: It works here and I don't what it exactly does under the hood <nutcase>you may look at the code or ask Hugo <ekaitz_>just enroll in the dark-theme master's thesis <ekaitz_>because just *using* my computer is not hard enough, configuring it has to be also hard <intermet>Hello there! I would like to use fusemount for unprivileged users. According to the wiki I need to add the fs %fuse-control-file-system and "the fuse.ko kernel module to be loaded". How can I activate this module? Thank you for helping. <intermet>but still get fusermount3: mount failed: Operation not permitted. I tried to add the user to the fuse group but same error. <yarl>intermet: Did you look at 11.10.37 Linux Services (Kernel Module Loader Service) <efraim>is anyone else having issues with cscope in vim? <intermet>yari: I had the right service (service kernel-module-loader-service-type <intermet>but I still get fusermount3: mount failed: Operation not permitted. <trev>i finally got kitty updated to the latest version. big patch incoming <trev>we had (setenv "KITTY_NO_UPDATE_CHECK" "1") but it looks like that isn't anywhere in the code <trev>i will look into patching it to zero <trev>oh - Only check for updates in the official binary builds. Distro packages or source builds will no longer check for updates, regardless of the value of :opt:`update_check_interval`. <trev>we have it at 0, so all good <spacematty>Has anyone ever successfully gotten Guix working as a Xen host? <trev>codeberg down kestrelwx ? <zynx>hi i have been trying to get a trunk bridge working under guix but no no matter what i do vlan_filtering always comes as 0. this is what i have on my config.scm now: (service static-networking-service-type (list (static-networking (links (list (network-link (name "virbr0") (type 'bridge) (arguments '( <zynx>(vlan_filtering . 1)))))) (addresses '())))) <zynx>virbr0 comes up after a herd restart networking but checking /sys on virbr0 for vlan_filtering comes back as 0 <zynx>can make it work with a custom shepherd-root-service-type but feels hackish :) <Rutherther>zynx: what exactly did you change in the shepherd root service type? <zynx>Rutherther: instead of having a static-networking for the bridge i create a custom service that manually issues the /sbin/ip commands <zynx>like so: (start #~(lambda _ (let ((ip #$(file-append iproute "/sbin/ip"))) (invoke ip "link" "add" "name" "br0" "type" "bridge") (invoke ip "link" "set" "dev" "br0" "type" "bridge" "vlan_filtering" "1") (invoke ip "link" "set" "br0" "up")) #t)) <zynx>but yeah doesn't seem the right way of doing it but it works <Rutherther>zynx: oh so you did not mean you replaced the shepherd root service type, just that you made your own service and extended shepherd root with it? <zynx>Rutherther: sorry still trying to get round the correct wording but yeah that is right <zynx>probs missing something, first time playing with guix really <Rutherther>zynx: I am afraid (guile netlink) - the library used with static-networking service, just does not support the vlan filtering argument <Rutherther>I don't think your solution is hacky in any way, the static-networking does basically the same, except that it uses this library (guile netlink) instead of "ip" cli utility <jlicht>dthompson (or any other of the fine spritely folks): I'm bumping node-lts, and I'd like to know whether the guile-hoot package building building successfully mean things should Just Work (tm) or whether I need some additional sanity checks <jlicht>s/building building/building, *means :) <dthompson>jlicht: hey! yeah if hoot builds then we're good. the test suite runs against node. <dthompson>good timing as I'm actually looking at node stuff rn <dthompson>I am in need of the new wasm stack switching goodness and am trying to figure out what node releases (if any) have a fresh enough v8 <dthompson>jlicht: have you tried building any non-lts node releases? <nox>> we have it at 0, so all good <nox>trev, ahh, perfect :D <drippynwah>hey folks, anyone know of libre-friendly wifi cards that do at least WiFi 5? all the ones marked supported rn are stuck on WiFi 4. <ieure>I see you've decremented while you were away. <zynx>Rutherther: ah makes sense. might try and take a stab on getting it sorted on the library once i have some time. cheers!