<Guest28>Altadil: Don't have any experiences with gnome-boxes, but I use virt-manager USB passthrough several times without any issue. It is definitely possible (gnome-boxes uses AFAIK the same backend as virt-manager).
<Altadil>Guest28: Thanks. I was going to use virt-manager, but for some reason it cannot find any network interface when trying to create a VM, so I got stuck there. Seems I’m just unlucky (or cursed ^^)
<Guest28>Altadil: I had the same issue with virt-manager as well. Right click on that qemu:///system and click on details. Go to network and create one with the default settings. Now you should have a simple NAT configured for the VMs that it will use automatically
<Altadil>Guest28: Thanks a lot ! For some reason, the guest OS installer still sees no internet connection, but I’ll investigate more
<Guest28>Altadil: If your guest OS is Guix, you need to go through the installer and finish the network section, else network isn't configured on that type of ISO. If you use something else, it should work out of the box
<Altadil>Guest28: it’s xubuntu 23.04, so I still have challenges ahead it seems
<Altadil>Gonna give up for tonight, thanks a lot for the help !
<GNUtoo>Is it for instance possible to have a script that takes care of building and runinng Guix in standalone mode? Or if people already have Guix, would that conflict with the existing Guix installation?
<isf>is just a kernel, a program with drivers and firmware today sadly with nonfree firmware inside
<GNUtoo>ACTION has a joke on that. People told me I should try the Linux operating system, so I tried and my computer said "kernel panic, cannot find rootfs", so I abandonned and used GNU/Linux instead
<GNUtoo>+ Android is also very different from GNU/Linux and they both use mostly the same kernel
<nckx>I wish GNU had device drivers. I think it would help it compete with Linux.
<GNUtoo>I think that HURD can use some Linux drivers but probably very very few
<GNUtoo>The big issue when doing that is to have similar frameworks
<GNUtoo>For instance if you import a GPU driver, that depends on many other frameworks
<GNUtoo>like the backlight driver class for instance
<gnucode>The Hurd is working on reusing netBSD's device drivers currently. They can boot a HDD (maybe an SSD even) via the NetBSD drivers.
<nckx>GNUtoo: or just say f— it and rump someone else's kernel.
<GNUtoo>ah ok, that makes sense since they can run in userspace
<GNUtoo>Linux also somehow works in userspace but I'm unsure if it's possible to plug it to real hardware easily
<RavenJoad>system vm mounts something from /gnu/store directly as / in the spawned VM, which breaks some assumption Cuirass has.
<cnx>how do i add python module for test phase of a package not built be python-build-system?
<nmeum>I just installed Guix 1.4.0 on a foreign distribution. I want Guix to use the substitutes servers and I believe I authorized them correctly. However, if I run `guix shell --dry-run cowsay` for example it seems that all dependencies would be build from source https://tpaste.us/LRdp why is that? can I somehow "force" Guix to use substitutes?
<lissobone>Howdy. I have set up an apache HTTP web server with the document root somewhere in my user home (I don't know if I am supposed to do so, so correct me if anything). Howerver, apache doesn't seem to be able to access the document root, even in spite of all the permission bits being set to readable+executable.
<lissobone>It presents the viewer with a 403 forbidden page.
<iyzsong>haven't played minetest yet, can't get it lol
<lissobone>cuz there's a radioactive material in nodecore (a game for minetest) called lux and it does bad things to u (like any ionizing radiation lol)
<iyzsong>if apache httpd have some serious bugs, in worst case, running it as a normal user will allow anyone to remote run any commands as that user..
<lissobone>And? If I could, I would have removed all passwords and permissions from my computer.
<ulfvonbelow>anyone know a good way to run X11 programs in a container with hardware acceleration without giving access to the entire display?
<nmeum>apparently my "guix uses no substitutes"-issues did not fix itself after installing guile-zstd :(
<nmeum>now kind of poking around in guix/substitutes.scm and guix/narinfo.scm to figure out what's going on but haven't had much success so far
<nmeum>let me know if someone has an idea what I might be doing wrong or any pointers regarding code to look at
<nmeum>for cowsay specfically, it seems that a substitute is available for zqjfh5r8zmagcl097szfg13f7pykc76g-cowsay-3.7.0 but not 52riipmf2ha1p9qz5nijmdy99dvll8aj-cowsay-3.7.0 (which is what my guix is requesting). how can I figure out the difference between the two? and determine why my guix is requesting the latter?
<jx0>morning guix! Hope everyone's friday is going to plan...
<zmhanham[m]>hey all! was curious if there was a way to identify unused imports in guile scripts? Don't rly want to delete one at a time and see if it still works and also too lazy to scan through the imported scripts to check usages. ( I really wish guile had namespaced imports... )
<unwox>zmhanham[m]: you can specify #:prefix for imports
<unwox>or use #:select to only import needed symbols
<zmhanham[m]>ah select sounds like just what I need. Will just delete one at a time in my script and use select moving forward.
<unwox>but i'm curious if there is a tool for detecting unused imports too
<zmhanham[m]>been awhile since I looked at my guix stuff so i forget what everything belonged to
<zmhanham[m]>would imagine it would be not too difficult to implement unless there're some caveats i wouldn't know about but you could do like so: for each import build a set of it's exported symbols and then scan the symbols in the mains script. If no symbols found then it's unused
<nckx>It's probably the firewall. CI is also inaccessible.
<Guest28>I use Guix with my own channel. It is a local directory. Now, how would be the workflow if I want to reinstall the system, since home manages my packages and is setting ab the channel for guix. Would that mean that I first install the system via my system config and after that boot in the new machine, manually add my local channel and then
<Guest28>run guix home reconfigure home.scm? I wonder if I could run it while still being on the live cd so that I only need to run system init [...] and guix home reconifugre [..] and could boot directly in the new machine with everything setup.
<Guest28>Basically 2 questions, can I use guix home init or something in the live cd or is it required to boot in the new system and how I could fix the problem that i use guix home to add the channel it requires but at the same time that channel is required to install additional packages
<nckx>Guest28: That sounds like a great feature request. If it is possible already, it is not documented AFAICT.
<nckx>As for the channel: any reason you can't edit /etc/guix/channels.scm on the live system, pull, and continue happily onward?
<nckx>I guess that, would I ever switch to Guix Home, I'd still not use it to manage my channels for exactly this reason.
<Guest28>No, I can do it but thought maybe it is possible to kinda fix that bootstrap problem
<fries>looking at /gnu/packages, i see 2 modules that might be of interest to me. disk.scm and code.scm. i see cloc has been shoved into there but ncdu, an existing disk usage analyzer packaged into guix has its own module. i wonder, should that be shoved in disk.scm?
<nckx><matrix bridge is kinda broken right now> You have no idea.
<nckx>The bridge is going away. We'll have to spin up our own, or live without Matrix users.
<unmatched-paren>fries: Go apps, thankfully, are pretty straightforward; just put all the go-foo-bar-stupid-long-name dependencies into INPUTS, set the (arguments (list #:import-path "...")) to the Go import path, and set BUILD-SYSTEM to GO-BUILD-SYSTEM.