IRC channel logs
2023-11-02.log
back to list of logs
<luke-jr>`guix reconfigure system` tries to update guix from some non-existent /home/ludo path - how can I get past this? <vagrantc>luke-jr: normally "guix system reconfigure" is passed an argument for the configuration file to use... <luke-jr>yes, I have that along with --no-substitutes etc <vagrantc>having never seen the behavior you are describing, and not having the entire commandline arguments or configuration file, one can only make wild guesses :) <Kolev>What app can read ebooks? I use GNOME. <luke-jr>guix system reconfigure config.scm --no-substitutes --no-grafts --no-offload -c 4 -M 4 -v 2 --keep-going <vagrantc>Kolev: i like foliate, but apparently not yet packaged for guix <luke-jr>config.scm is mostly copied from /run/current-system/configuration.scm <mrh57>Alright I have built croc (https://github.com/schollz/croc), but doing so required building 15 other Go dependencies. It seems like a generally good package people would want so I'd like to contribute it to guix, but I've never made a contribution via emailing a patch, let alone to guix at all. Advice on good practices? <luke-jr>does this mean nobody really uses the VM image? <.< <Kolev>I myself don't know what people use the VM for. <radio>I discovered multiple packages having the problem of empty binaries, as I updated on the bug report <Kolev>How well does zfs work on Guix? <saravia>question, exists a wm more lightweight of oroborus? <nckhexen>attila_lendvai: Who knows? I'll apply it (or an equivalent fix) when I get home. <attila_lendvai>nckx, i guess things like this gets forgotten... thanks for taking care of it! (also, any news on that lost patch of yours that allows setting discard for lusk/cryptsetup? :) <nckx>Baby steps, like getting my laptop to boot first. <tux1c>im not sure if this classifies as a guix question, or as a nix question (im running nix package manager on top of guixSD) - but is there a comprehensive guide to share dbus with nix packages from guix? <attila_lendvai>nckx, heh :) when dealing with the cirrus driver, make sure it's not an issue if "cirrus" gets twice in the list for whatever reason. <nckx>It's not an issue, but it would bug me enough to make sure it isn't. <Guest50>how am I able to update from emacs 29.1 to 29.2 in guix <Guest50>lilyp how does it work exactly. I am have never done this before <lilyp>--with-source=PACKAGE=SOURCE fetches the source for PACKAGE from the specified SOURCE URI <lilyp>note however, that patches etc. aren't applied <lilyp>thus, stuff like native-comp will likely break, since we need a patch for that <lilyp>you still need to specify emacs itself via -i emacs, for example <Guest50>Is there a disadvantage of using flatpak in guix ? <lilyp>Well, the general caveats of flatpak apply, otherwise the setup is the same as on any distro that doesn't do flatpak on its own. <lilyp>You're also restricted to user-local flatpaks, but that much ought to be obvious. <Guest50>lilyp so I could not install a flatpak program vla configuration.Is that a disadvantage? <lilyp>Only if you value being able to recover your system from a text file. <lilyp>(Arguably the whole point of using Guix to some.) <Guest50>lilyp unfortunately, I need some programs, that are only packaged there <Guest50>which is the best way to autotstart a program at startup? <lilyp>depends on your circumstances, but I like to manage it with a user instance of shepherd <nckx>attila_lendvai: Might not be today, I'm still stuck in an initrd (it's a comfy initrd with weechat & Doom, I'm fine), but I didn't forget. <Guest50>lilyp actually I need it only when i3 starts <Guest50>lilyp what would you use, if you would not be able to use shepherd? <lilyp>in your case whatever i3 provides for init stuff? <nckx>exec [--no-startup-id] whatever? <nckx>You can have as many of those as you want (it's not the final sh 'exec' of xinitrc fame). <nckx>I can't say, I never tried. <lilyp>the file is ~/.config/i3/config <nckx>I'm sure the answer is yes but I don't know how easy it is. <lilyp>(does i3 honour XDG_CONFIG_HOME?) <Guest50>lilyp is there a third option. I just would like to create a . file and then execute it <janneke>how do i find the sshd_config file that's in use? previously, herd status sshd and cat /proc/<sshd-pid>/environ used to do it <nckx>There is option 1.5, add 'exec bash ~/.my-secret-dotfile' to your i3 config. <old>I wonder what is the typical workflow if you have a fix for package P that you require right now <old>You send the patch to guix-patches@gnu.org, but in the mean time how one would use the patches package? <lilyp>That's the nice thing about guix. You can write your package definition locally (think of manifest.scm) and use it already :) <old>I typically define a new package with the fix applies in my own channel, but I was wondering if there is other options <old>lilyp: right manifest could do it! <old>Just inherit the package and change some arguments <Kabouik>Is anyone using a Flipper Zero with their Guix system? The qflipper software is not packaged, and one convenient way would just be to use Chrome with the serial/USB connection as on lab.flipp.dev, but I think because of how Guix works, this fails because Chrome cannot access local files/systems/configs. <gabber`>is there a reason i can't create a dir/copy a file to /efi/boot when i initialize a partition? what/who denies my permission? <gabber`>also: how dare they? and: what's the equivalent of `sudo do-this-anyway`? <roptat>Unless your native language is English, French, Slovak or Korean, we need your help! <roptat>(because these 4 languages are at 100%) <roptat>any Chinese, Czech, German, Japanese, Lithuanian, Turkish, Ukrainian, Spanish or Esperanto speaker? It would be less than 5 minutes work to get back to 100%! <Lumine>ACTION looks at the Finnish section <gabber`>ok. how do i translate "Maxim Cournoyer"? <gabber`>more seriously: why is this a translatable string? <roptat>good question, translatable strings should be specifically marked, so a person's name should not have been marked for translation... <nckx>gabber`: Who is initialising /efi/boot, how, and what is /efi/boot anyway? (I've heard of /boot/efi, and /efi for people who yearn to be different, but /efi/boot is new to me.) <gabber`>roptat: the only two German strings were names (i suggested "translations" but i guess they shouldn't be in there in the first place) <roptat>gabber`, ah, so it must be the same for the other languages <gabber`>nckx: grub-efi-netboot seems to think that /efi/boot is something to care about <roptat>what's weird is that the exact string "Maxim Cournoyer" doesn't exist in the source it seems <gabber`>but - having given all of that as-complicated-as-possible - bootchain jazz some thoughts i think i'm going with writing my own disk-image-installer #~(lambda* _)™ <nckx>gabber`: Oh no that thing again. <roptat>I think I'll just remove them, wdyt? <gabber`>it's *still* the same horror (even though spooktober has ended) <nckx>gabber`: This is our second foray into grub-efi-bootloader, no? Otherwise, if it was someone else, it's my second encounter in as many weeks. <gabber`>on the bright side, as soon as i finish this and bring some light into my deep-dive on the topic i swear i'll write some patches for: code comments, reference manual and (hopefully) a blog post <roptat>didn't wait for you, pushed the change <nckx>So it's GRUB that is trying to create a file(?) in /efi/boot and getting EPERM? Or literally you? <nckx>What do you mean by 'initialise' here? <gabber`>i'm trying to either set the right variables in grub (i have no clue how i could do) or: write a grub.cfg where GRUB actually expects a file to be so i can make it parse the file where it actually is <nckx>Are you using some mkfs to copy files during creation? <gabber`>by initialize i mean the #~(lambda) i pass to the (initializer) field of the partition record <nckx>Can you share the configuration that fails? <gabber`>my grub says: prefix=(hd0,msdos1)/efi/boot . my actual grub.cfg is at (hd0,msdos2)/boot/grub/grub.cfg - so i figured the easiest part would be to write a tiny grub.cfg at the former location pointing to the latter <gabber`>et voilà: https://termbin.com/vyi6 . i do $(guix system image that-file.scm --system=aarch64-linux) (on commit c4886c0cb608e1b36969f195eb2f7ea25a37ac89 if that should matter) <roptat>ok, so Chinese, Czech, German, Japanese, Lithuanian, Turkish and Ukrainian are now back to 100% :D <nckx>Drat, I forgot that I don't have qemu set up on this server. <gabber`>nckx: i think you can do a native compilation (although guix ignore's the image's arch and then produces x86_64 specific EFI binaries which won't boot) -- but since you don't try to create something bootable..... <nckx>make[1]: *** No rule to make target 'include/efivar/efivar-guids.h', needed by 'prep'. Stop. <f1refly>how can i choose which gpg pinentry program is used? currenty, gpg seems to default to pinentry-curses, which complains when i need to enter my password in my git plugin in nvim. <f1refly>pinentry-curses is nice, but for that case i need pinentry-tty. it would be even better if the pinentry program would be chosen appropriately for the occasion <f1refly>i tried reading up on how to set the pinentry properly but its all very confusing <rekado>it also shows you what changed since the previous successful build <f1refly>thanks futurile ill check it out. im always a bit reluctant to put custom scripts in my gpg setup but maybe ill reconsider <pastor>guys. Is our mesa@23.1.4 missing compiled wierdly? Does any of you have the `glBindTextureUnit' symbol on `libGL.so.1`? <pastor>You can check with the following command: <pastor>`nm -gD /gnu/store/...-mesa-23.1.4/lib/libGL.so.1 | grep glBindTextureUnit` <pastor>The release notes of mesa@23.1.4 says that it implements OpenGL@4.6 which should provide `glBindTextureUnit` <ekaitz>hi, i have a quick question regarding emulation here. Can I guix build whatever --system=... and decide which qemu should it use? <ekaitz>context: an specific qemu version has a bug, breaks all our bootstrapping scripts :) <ekaitz>and it's weird because the one that runs by default fails but if I use `guix shell qemu` doesn't <ekaitz>and I don't think i `guix pull`ed in between my last reconfigure and now