<procra>I belive that guix containers wasn't thought with security on mind (if I'm wrong pls tell me) so y try to use linux containers on virt-manager and i got an error however in don't know if is because the way guix manages directories or because I forget an step again ... probably on user permissions or on a daemon.
<procra>if i disconect a moment (i have some internet problems) i will check the web log
<blendergeek>I am trying to use a network printer in GNU Guix using EXWM. When the print dialog comes up, my printer is shown, but its status is "Getting printer information" and the "Print" button is greyed out as if I hadn't selected any printer.
<sundbry>@bdju I suppose it should not be very difficult to swap the version numbers in linux.scm and build the kernel package from source.
***lukedashjr is now known as luke-jr
<lfam>vagrantc: I'm curious to hear more about your adventures. For my simple use cases on x86_64, these major upgrades are typically painless
<lfam>bdju: We've had 5.10 for for about 2 days now
<lfam>vagrantc: I usually don't get any feedback on the update patches, so I just make sure it works for me and push. It would help me feel more confident if I could get more people to test and give feedback
<bdju>lfam: oh, okay. I checked with guix search and saw an older one (thought I'd done a pull recently...), then I checked the guix ci web thing and didn't see it there. I guess I didn't know where to look
<bdju>sundbry: I have yet to do a package modification like that. I probably won't do it here, but out of curiosity, what's that process like? the .scm files are read-only, right? so you probably have to copy them, modify them, then do *something* to install them I would guess
<sundbry>well you should definitely start with something simple then. You dont ned to modify the core guix packages, it is sufficient to import them and extend over them in your own source files. guix package -f <my-file.scm> will install a custom package definition
<bdju>what do you do for things where the definition is part of a larger file? if you just copied their part out you'd be missing the use-module stuff I figure
<bqv>Guixers, what do you do when you need something not yet packaged?
<bdju>like if you were modifying a game, would you copy the whole games.scm?
<sundbry>that node package can be built with guix build -f <file.scm> (build only) or installed with guix package -f <file.scm>
<bdju>sundbry: interesting, I sort of get it. so because it builds on the existing package, it doesn't need much info... so you could use this to replace the source for a package while keeping the dependencies, build system, and so on the same as the other version?
<bqv>See its interesting for me, too. I have nixos on my machine, but rather than use the guix module I actually have guix installed to ~/gnu in a permissionless way, using linux namespaces. So, I can use both, but I have to run all guix things in that ns-env
<bqv>It was great for that one package thats in guix but not nixpkgs :O
<bqv>I'm thinking I might make guix more part of my system, bake it into my config more, but its hard because it can't be "locked", so it kinda becomes one massive bit of imperative state
<Guest23424>hi #guix! does anyone know where I can find the source for the installer?
<vagrantc>lfam: not sure what all to say ... i remember i did one major version update a while back but didn't manage the kconfig upgrades very well
<vagrantc>lfam: for armhf and aarch64 ... it's a little more tricky partly because the exact modules or builtins needed change more often between releases ... and guix not having modprobe in the initrd makes it extra complicated
<vagrantc>lfam: not a lot more to it than that, though :)
<aecepoglu[m]>I'm trying to create a guile development environment where I use guile-curl. But `(use-modules (curl))` gives errors
<efraim>did you specify guile in your environment also?
<aecepoglu[m]>`It's not possible to set fish shell as login shell now in Guix because fish shell cannot load environment variables from /run/current-system/profile/ ...` means my usage of fish could be the problem
<civodul>abcdw: on Guix System there's session-environment-service-type
<civodul>(per "guix system search environment" :-))
<civodul>you can extend it with additional environment variables (key/value pairs)
<abcdw>civodul, thank you for hint. I already saw it, isn't this one is a "system-wide"?
<abcdw>The link above contains `~/.config/environment.d/*.conf`, which is something I'm looking alternative for.
<abcdw>Something like session-environment-service-type, but for a particular user. Actually even just a hint about way of setting varible will be enough, I probably would be able to implement such service myself.
<civodul>abcdw: ah yes, session-environment-service-type is system-wide; there's currently nothing per-user
<mbakke>(before I break all the TeX Live stuff again)
<mbakke>abcdw: FWIW I have configured autologin on TTY2, and launch Sway (+ set variables) through '.bash_profile' when on /dev/tty2... Would love to move that configuration snippet out of .bash_profile and into the system configuration though. :-)
<abcdw>mbakke, will write to this chat, when will decide on approach to use (:
<apteryx>Any clue why 'mkdir /tmp/sandbox && cd /tmp/sandbox && guix environment --container -E 'DISPLAY' --share=/tmp/.X11-unix --share=$HOME/.Xauthority --ad-hoc icecat' gives an IceCat that has access to the internet? (note: I am not using the --network option)
<apteryx>ah, I think it recycles the existing icecat process
<dftxbs3e>I tried guix system vm instead with doc/os-config-desktop.texi but it's not working. GDM wont display, it takes 100% CPU and is stuck.
<jlicht>dftxbs3e: I can confirm that putting valid blub module with foo package in e.g. '/tmp/test/blub.scm', and then `export GUIX_PACKAGE_PATH=/tmp/test; ./pre-inst-env guix search foo` includes my custom package
<zimoun`>On a relative big machine at work, I have played with cores and max-jobs, daemon side or not. And when I build bunch of packages, it happens more than often than only one core is working, the other waiting even if packages still need to be built. I could have misconfigured something but my guess is the “daemon scheduler” which is somehow blocking.
<roptat>the nice thing with LFS time estimates, is that's it's not in terms of seconds, but relative to the build time of binutils, the first package
<blendergeek>I am having trouble printing from my GuixSD system. I added cups to my config.scm and it is installed. My printer has a Free driver (which is installed). I installed system-config-printer. My printer shows up when I try to print. However, the "Print" button in print dialogs is greyed out and the "Status" for my printer is "Getting Printer Information.."
<roptat>so, as long as you know how long it takes you to build binutils, you have a rough idea of how long it'll take to build other packages, independently of your machine's speed
<adfeno>Besides, It seems I'm only able to attest if something changed if I login (either through terminal or through displaymanager), because the “current session” gsettings isn't updated in real time.
<adfeno>E.g.: suppose gajim is the only cause, if I do gsettings list-recursively, nothing appears. If I then remove gajim, and do the gsettings command again, it still shows nothing (as far as I have tested).
<adfeno>If I log out and back in then I see the change.
<adfeno>lfam: Ah thanks, will try again with the suggestions made by Carlo.
<adfeno>I wonder what is the default for GI_TYPELIB_PATH if it's unset.
<lfam>I'm having a confusing networking problem with a remote Guix system. Guix commands are failing with "guix substitute: error: connect: Network is unreachable", although I'm working interactively via SSH
<lfam>But, it's hard to say what's going on, and it would be nice to improve the behaviour of --fallback so that it really tries falling back, and for --keep-going to actually try the other builds that were going to be performed
<dftxbs3e>hello! somehow when I use "./pre-inst-env guix system vm doc/os-config-desktop.scm" QEMU never succeeds at displaying GDM, this means I can't test a system wide change heh.. I also tried doc/os-config-lightweight-desktop.scm same story. How do you test system-wide (GNU Guix System) changes?
<cbaines>lfam, I think the staging substitutes data is up to date now
<cbaines>although it's not for the latest revision, that failed to process on the first attempt and I'm retrying it
<lfam>dftxbs3e: `guix system vm` creates immutable disk images. I think that GDM needs a writeable filesystem to work correctly, so I recommend using `guix system vm-image` or `guix system disk-image`
<lfam>Thanks cbaines. These numbers are a little better, but we still have a long way to go
<dftxbs3e>lfam, I also tried it by the way, same thing
<lfam>Did you make the images writeable after copying them out of /gnu/store?
<blendergeek>As it is, I have the cups service installed. But I didn't add it at install time but rather later. Do you know where I can find what "printer services" at install time does to the config.scm file?
<dftxbs3e>blendergeek, you can try looking in the GNU Guix's info manual for instructions on how to add it.
<blendergeek>Do you know what the package name for the installer is so that I can find and try to read its source?