<katco>i'm doing something weird and trying to include a generated scheme file in the store (i.e. `(include "/gnu/store/my-packages.scm")`) with a list of packages into a module for packages. it's working in the repl, but when i do `guix build -L . my-package` i get an exception (and guix build isn't telling me what it is). does anyone have an idea of how i would get something like this to work?
<lilyp>katco you probably need a directory or otherwise (copy-file #$my-file somewhere)
<katco>lilyp: sorry, i don't understand, can you expound? `include` takes in a file-name. is the directory for some other purpose?
<katco>oh, maybe you're referring to the `-L` flag? i'm within a valid module in `$PWD`, and that's the module that is calling `(include "/gnu/store/my-packages.scm")`.
<lilyp>point being your build container probably doesn't see the file
<lilyp>even if, include by filename is not the right way to go for packaging things
<katco>yeah, obviously. this is for work and will never see the guix repository, and it's one of the reasons it's so weird.
<katco>i'm trying to remember: does the build container need to be able to see the included file where the package definition is?
<superkamiguru>Does anyone know where I could reference for adding a service that runs a mount script on startup? I looked through simple-service but am a little confused
<apteryx>I think you could make your own one-shot service
<soundmodel>yes and that's probably the case driving for the Linux compromise
<soundmodel>but I think it's a path that will be worse later on because the ground is looser
<jpoiret>you'd need to port the daemon on BSD, that's the first step I guess. Then, you'd also need to add support for FreeBSD syscalls wherever Linux syscalls are used, and add support for having a different libc per-system
<soundmodel>BSDs don't e.g. have problem of multiple incompatible distros
<jpoiret>Looks like you might want to run a BSD then
<soundmodel>but these were just reasons why Guix could've made sense on BSD
<Guest503`>if you like FOSS, I don't understand why you would want to help people make proprietary software? aren't the benefits of foss software clear? bsd license enables to make fundamentally bad software
<soundmodel>no but it allows also integration of commercial interest without limiting free software
<mekeor[m]>indigo-oce: idk. maybe it's part of desktop-services by default?
<indigo-oce>mekeor[m] it is, and it's very annoying... no idea why anyone would use it... it's caused so many bugs and doesn't display colors properly on my screens (some screens are yellow, some are red, and none display all the colors)
<indigo-oce>it really shouldn't be there by default... you should have to select your dm in your config.scm
<jpoiret>that piece of software might be trying to load some libs from the profile which are compiled with glibc 2.35 while this one was built with 2.33. Thus the glibc 2.35 never gets loaded, causing the error
<jpoiret>indigo-oce: you can (delete gdm-service-type) from the services
<indigo-oce>using (modify-services %desktop-services (delete gdm-service-type)) in services list doesn't remove it for me (I just rebooted and it took longer to activate (I was in the middle of logging in to tty when it came on) but it's still there)
<Kabouik>A quick question about substitures: when a prebuilt package is available for an architecture on the substitute servers, is it because it was cross-compiled by the servers themselves, or do they become available to everyone once one user compiled them for the arch on their own device?
<Kabouik>I suspect the latter would be a security risk, but just asking, as I'm not sure how this all works.
<madage>jpoiret: any tips on getting around this? I mean, besides creating + maintaining a channel with this piece of software?
<chomwitt_>is there a package with xorg ISO 10646 fonts ?
<madage>or rather, is this expected on guix? such as using '--do-no-upgrade [package]' is bound to break in the long run?
<mfg[m]>bordeaux seems to throw 502s for me, doe sit work for anyone else?
<mfg[m]>Also: the package in question is emacs-queue (it's a dep). guix weather emacs-queue tells me it's available on ci.guix, so why does the error lead to guix throwing an exception and exiting? It should just try another mirror and only exit when none work
<cbaines>mfg[m], it's down at the moment, hopefully it'll be back online within 30 minutes
<mfg[m]>I also remember that there were some things going on with shepherd, where some messages managed to escape it's redirection and ended up in console. But i'm not sure if this has been fixed in the meantime
<chomwitt_>i see a couple of messages also in my tty1's login prompt
<mfg[m]>i don't know the precise syntax, but console is a linux parameter, i.e. console=/dev/ttyAMA0 (don't use that tho, this is serial)
<mfg[m]>chomwitt_: okay i see, i don't know how you would accomplish that
<mfg[m]>in my config you can see, that i run different processes depending on which tty i'm on, so my default session on tty1 starts my graphical session, but tty2 is without gui and tty3 is without gui and doesn't use my normal shell (which is zsh)
<jlicht>Does anyone have a link to their dotfiles for setting up piem/public inbox for the guix mailing list?
<cbaines>iyzsong[m], I've emailed firstname.lastname@example.org now
<muradm>are users supposed to explicitly set normal cups in cups-configuration?
<next4th>muradm: the commit message said it fix a serious issue which prevents user from login.. does install cups as a system package make "find printer" useable?
<next4th>may report a bug to the mail list (bug-guix)
<muradm>next4th: yeah, looking at commit and #63198 issue.. i don't understand the issue "loop on authenticating my user".. it was working before just fine
<muradm>next4th: it is not worth adding cups as system package. better to override (cups-configuration (cups cups) ...)
<next4th>okay, you can try that, in the worst case (described in the issue) it should be the same situation (not able to add printer), i thougt it will prevents normal users from login (which seems wrong).
<muradm>still i wonder what does it mean "loop on authenticating my user".. i suppose that would happen if user trying to manage printers not in group lp
<muradm>if it is so, then it is not worth it switching to cups-minimal as default
<muradm>next4th: issue does not mention that "it prevents login"
<next4th>yes, i guessed from the commit message :\
<muradm>yeah, commit message whole another story, authenticating where?
<next4th>i think you can reply to #63198 with the "right fix", i don't use cups so not sure.
<civodul>comrades, the Shepherd 0.10.0 is in the house!
<GNUtoo>Guest19: I'm not familiar with Guix cups setup but the web interface can also add printers. Though you might need to install some additional drivers if your printer is absent from the list of supported printers in the web interface.
<GNUtoo>jpoiret: I think that there is some LUKS2 support in the last release but if I recall well it's incomplete, like it doesn't support the default LUKS2 settings (it probably lacks a cipher or hash or scheme)
<jpoiret>yes, grub-install doesn't detect and include the crypt modules for luks2
<jpoiret>support in the next release is by yours truly :)
<Guest19>GNUtoo well, I don't even know which drivers. It worked out of the box before and now not. hp-setup doesn't even support network discovery and I don't know why. For now I just use a Fedora VM since I do not have the time to fiddle it out.
<Kabouik>Is there a way to skip the "check" stage in guix install, or is it part of the package definitions and therefore mandatory? I'm installing more than 350 packages and installing/compiling just about 5 of the took more than two hours.
<Kabouik>Admittedly cmake is a large one and took a long time alone, but there are other big ones coming in the rest of the list.
<guixfren>Does anyone here have experience with Guix + SELinux?
<guixfren>as in Guix on a foreign distro with SELinux
<guixfren>I have already read the docs and installed the policy but it's not enough
<civodul>jpoiret: we don't use netdde though, do we?
<civodul>we use the in-kernel rtl8139 driver to communicate with VMs
<chomwitt_>i see mingetty running and in gnu/store i can see the man pages exist, but $ man mingetty says no manual entry for mingetty
<Michal_Atlas[m]>Hello Guix, I'm trying to init a Guix system on a lvm-cached volume, and it seemed to go well up until the reboot when apparently the dm_cache kernel module is needed, and it doesn't seem to suffice to use the kernel-module-loader-service? Am I out of luck? Do I have to compile my own kernel with the module inside to boot like this? Or am I missing some option somewhere?