<nckx>There's no ‘one by one’ rule (that too would be excessive) but taking basic human nature into account when submitting patches can help you. Such as, huge series intimidate whilst bite-sized-looking chunks lure people in.
<lfam>But, overall, think of packages as something that have an "ideal form". Without any complications or quirks. If your packages do have some quirks, you will be asked about them, and it will slow th eprocess down. So the right thing to do is to explain them
<drakonis>ha, you know what we need? a update to news so it shows that packages have been modified
<lfam>When I see a long patch series with a lot of quirks and no explanations, I will usually just archive the messages
<lfam>So, overall, take a couple minutes to try to anticipate what reviewers will ask about, and just answer those questions in advance
<phf-1>lfam: nckx: ok, I've just read the thing. It's the end of a long day... will do this this wk I guess. Will try my hand on a << small >> package and then will do the rest. 15 steps is kind of intimidating to what's left of my human nature.
<oriansj>so yes, luks1 is still the default in guix (probably until grub gets luks2 fully stable and we do a glibc update)
<ryanprior[m]>Anybody run shepherd as a service manager on a foreign distro using systemd?
<ryanprior[m]>I've been writing systemd units that in turn run programs from the Guix store; this sometimes feels clunky/tedious, especially when there already exists a service definition in the Guix codebase, and I'd like to learn how to leverage Guix services better.
<VS4mwaLnRSM>the hdd would look as if it were filled with random garbage, hence the USB pendrive on which I would have the GRUB and the encryption key (gets put into the initramfs thanks to mkinitcpio's config)
<ryanprior[m]>there is a "guix-past" channel, for package releases that are older than Guix itself
<bdju>ugh this qt blank text issue really sucks. I've been launching an old qutebrowser with full store path to work around it, but now I ran into it with anki and I'm not sure if I still have a good anki around
<bdju>I wanted to quick make a new deck before bed and I probably don't have time to troubleshoot this
<sam_>i'm sorry, i'd experienced issues with packaging newer Anki for another distro, and I didn't see any systemd search results in the code when I just looked, but then I saw an issue with exactly this
<xelxebar>gnoo: That error means that the program "go" (with arguments "install", "-v" ...) failed. Since you have a --pure environment, it should be easy try running the failing commands and play around.
<xelxebar>Design question: It outputs memtest.bin, memtest.efi, and (optionally) memtest.iso. Where in the output(s) does it make to stuff these files? For now, I've just put them under lib/pcmemtest-<version>/
<xelxebar>Broader question: How do we best want to even use those files? Personally, I just dd'ed the iso to a usb, but I think it would be cool to have a PCMemTest entry in Grub.
<xelxebar>Is it worth re-architecting the grub.cfg generation stuff to make it extensible, with the goal of writing a service to add a pcmemtest entry?
<PotentialUser-50>Hi, I have just installed guix system, and I am having issues when I do a guix system reconfigure. The mutter package fails to build, as one of the tests fails and then it just hangs. Is there a way to not install the whole of gnome, as I plan on using stumpwm as my wm, and don't want the whole gnome DE? Also, should I report the failing
<gnoo>i can "go" "install" "-v" "-x" "-ldflags=-s -w" "git.freesoftwareextremist.com/bloat" inside guix shell --pure go make coreutils gcc binutils-gold glibc but the same with --container does not work, gives network-related errors
<gnoo>efraim: with --network, it might download the packages itself but you can't have internet while during building packages, right?
<jgart>efraim, > ryanprior[m] I've been writing systemd units that in turn run programs from the Guix store; this sometimes feels clunky/tedious, especially when there already exists a service definition in the Guix codebase, and I'd like to learn how to leverage Guix services better.
<jgart>efraim, ryanprior[m] Anybody run shepherd as a service manager on a foreign distro using systemd?
<efraim>hmm, actually I should update that file, it's an older version of the one I'm using now
<fnstudio>hey :) how straightforward would it be to run a service, say nginx, using guix on a foreign distro? it's a bit of an exercise rather than a strong need (as i'm root on the machine anyway and i could apt install stuff)
<xelxebar>Hrm. My FS has an inode checksum error on a particular file in the store. Is there an easy way to say "please rebuild this particular item"? /gnu/store/6kaipdvj6i6g27hx6f8jw5dy2w2w84b9-guix-f91ae9425-modules/
<rekado>xelxebar: it’s a problem in the amsfonts package
<rekado>xelxebar: looking at the output I see that eufm10.tfm doesn’t exist
<rekado>the afm file does exist, but the tfm is missing
<fnstudio>rekado: sorry, when you said setting up guix system in a container, i think i've put together a tentative web server definition, should i be looking at "guix container ..." to run it or is there any other command?
<rekado>xelxebar: in the build script for amsfonts we run afm2tfm to generate the tfm files from the afm file
<rekado>xelxebar: we also use pltotf to turn pl files into tfm files
<rekado>we don’t have a rule there to process font size 10
<fnstudio>i've been giving it a try with `guix system container server.scm' but it fails quite early with `no code for module (sysadmin web)' - i'm not even sure guix system is meant to be used from a foreign distro at all...
<gnoo>jgart: thanks, i've M-x untabify the buffer, and it does not complain anymore
<rekado>xelxebar: the fact that there are no other such mappings doesn’t matter. I wrote that code to build the fonts from source, and it turns out that I missed one conversion. It’s not an identity as its from pl to tfm.
<rekado>but while we’re changing this we should look at all output files and compare them against the texlive.tlpdb file from texlive-bin.
<phf-1>but I really do not care of console_scripts
<rekado>phf-1: okay, in this case please add (modify-phases %standard-phases (delete 'sanity-check)) and add a comment that explains that loading the console_scripts triggers network access via python-docker.
<PurpleSym>phf-1: This is a bug in py2neo, which runs code before calling the entry point. The only thing you can do is disable 'sanity-check. You could also patch setup.py, but you’d lose the py2neo executable.
<patched[m]>Is there a chance of this being reviewed soon? :^) The current nheko version has no support for matrix spaces
<NoClu>Hi, i just updated my system with sudo guix system reconfigure. Now i can not connect to wifi anymore. nmtui asks for the password, then waits a while, just to tell me a key is necessary. Should/can i roll back the update?
<gnoo>you can roll back, just restart and in the grub menu select the old configuration
<gnoo>this won't destroy your current profile, you'll have to do that manually
<gnoo>(although it's possible to go back without restarting, i just find that the simplest)
<allana>Anyway, not an expert but it has worked for me
<abrenon>AIM[m]: if you do it without guix home, exporting the variables in .bash_profile sounds more useful for it to be available to your GUI apps than putting them in .bashrc (for non-login shell only)
***Andrew is now known as D_Andrew
<rekado>mothacehe: commit 6e618362f5ac87b4750ed02393c8348c922a1ee5 also needs a change to python-openid, because that package refers to the removed python2-openid.
<mothacehe> rekado: thanks for the heads-up. Fixed with: 80c48a2a93968613621f37e21479538e43f3b3d9.
<abrenon>python-scikit-learn fails to build here : /
<attila_lendvai>how can i disable auto suspend when no user is logged in? i tried to (idle-action 'ignore) to elogind, but it didn't work.
<vivien>apteryx, oops, ValueError: ZIP does not support timestamps before 1980
<mhj[m]>Good day all, NixOS user here who plans to use guix again because I realized I mostly use a minimal selection of free software on my NixOS build anyhow. Right now I am using ZFS on NixOS, with auto snapshots of my Home directory, the zen kernel and pipewire and wayland. Is there a way to duplicate such a setup, other than no ZFS, on guix?
<phf-1>The docs say: `winbindd is a daemon that provides a number of services to the Name Service Switch capability found in most modern C libraries, to arbitrary applications via PAM and ntlm_auth and to Samba itself.'
<phf-1>So, `guix pack -RR ...' should be used with care if the packaged program inside the tarall needs to communicate with other things outside (e.g. name resolution services which are used in Samba).
<f1refly>it looks like i need the package nss-mdns for cups to be able to discover printers while executing printjobs, do i need to modify the nss service for this or will adding the package to my system suffice?
<Guest36>after configuring my gpg-agent with guix home/rde I now cannot decrypt anything with `gpg --decrypt` due to apparently not having a pinentry program. I have tried using different pinentry-flavor's but get the same error. Here is the error and my configuration: https://dpaste.org/HNHu
<Guest36>err I put the wrong service in! one moment while I make a new paste
<lilyp>use the newly added sanity-check phase to test whether it's handled sanely
<vivien>lilyp, I don’t know the sanity-check phase, I don’t understand what "handled sanely" means and I don’t know if I need to configure the phase. Sorry I’m just debuting in python packaging, and I don’t have much experience with python modules.
<lilyp>vivien: It's really nothing you have to care about until it signals an error during build
<apteryx>civodul: I was experimenting with the available options to backup a profile frozen in a manifest.scm + channels.scm file to disk, to be able to redeploy it in 5 years if there's a need.
<apteryx>best I've found so far is to get the profile directory in the store with 'guix time-machine -C channels.scm -- shell -- echo $GUIX_ENVIRONMENT' and run 'guix archive --export -r' on that.
<apteryx>I also wanted to preserve the profile of that guix too (not sure how much value there is to that); I did it with something similar but had to use 'guix pull -C channels.scm' and then guix archive --export -r $(realpath $HOME/.config/guix/current) > guix-xxxxxx.narset
<vagrantc>why does sneek only sometimes welcome me back ... and i don't see it welcome anyone else back either :)
<rekado>I wrote a little procedure to check texlive package outputs against tlpdb
<apteryx>civodul: it's nice to have all these things (SWH, Disarchive), but I wouldn't trust it more than a local backup :-), especially they only cater to preserve sources, not built artifacts (who knows which test suites won't pass in 5 years when I try to build from source?). I think like to see uses are valid and complementary.
<apteryx>I see both uses as valid and complementary*
*apteryx stops pretending they can write for the day
<attila_lendvai>civodul, FYI, i have sent the rust patchset (it seems to be stuck at 41/49, though). i don't know how this works, but it would be nice if it got some priority to avoid any merging headaches. they are basically crates.io imports with occasional fixes for FFI-using code. https://issues.guix.gnu.org/53401
<civodul>apteryx: yeah, i see what you mean, but IMO the horizon is to get there: reproducible environments, end-to-end
<civodul>saving binary bundles is something other tools already do very well (though without provenance tracking)
<civodul>attila_lendvai: i don't usually review Rust packages, but yes, i agree
<civodul>do ask here or in the bug tracker after a couple of days have passed
<Guest16>how can I symlink the guix glibc package to /usr/include?
<civodul>Guest16: you could run "guix install gcc-toolchain -p /usr", assuming /usr doesn't already exist
<Guest16> /usr already exists for me but not /usr/include
<SeerLite[m]>singpolyma: Sorry, I had to go do something. It worked now, I just had to wait for debbugs to see it. Thanks!
<Guest16>The only thing I have in there is /usr/bin/env. I looked and saw that `-p` in this case would install gcc-toolchain to the /usr profile. I don't understand why I would want gcc-toolchain to be in its own profile, other than that it would install it to /usr
<vivien>There must be something I don’t understand with pytest. I have 2 packages that each define a function with keyword arguments for one, and optional arguments for the other. I’m sure that the function is never called during the tests, but pytest seems to call it with no arguments (thus, the tests fail).
<rekado>Guest16: installing it into a profile at /usr makes the file tree of gcc-toolchain available there, so you get /usr/include containing the files you want
<bsturmfels>hi folks - I'm not a regular Perl user, but I'm told that I should do `eval $(perl -Mlocal::lib)` in my .bashrc to install packages from CPAN per-user. I get an error missing local/lib.pm though and can't seem to see "local::lib" in Guix. How do others do per-user Perl packages?
<Guest16>bstrumfels: I always ran into problems with local::lib even when I wasn't using guix. If you don't get a satisfying answer here try #perl or look at App::Plx which does everything local::lib does and better imo.
<nckx>podiki[m]: What's all this about expat? Is the graft broken?
<attila_lendvai>nckx, since then i have realized that the actual issue is that the emails are not in order in debbugs... (unfortunately only after resending 42/49)
<podiki[m]>nckx: I don't think broken, I think I've run into some weird edge case
<podiki[m]>I'm still trying to get some minimal code to share (it is from some outside channel code)
<podiki[m]>my closest so far is a container with the inputs being fontconfig both x86-64 and i686; fails on profile creation due to a file/dir conflict; more importantly the noted files are from expat pre-replacement