<mbakke>the joys of maintaining legacy software :-)
<mbakke>probably we should make librsvg work with the newer pango instead
<mbakke>reverting both the freetype and fontconfig patches made it work
<mbakke>but, providing the old versions as inputs did not
<slimjim>hey #guix, I'd thought about trying to package python-cherrypy (webserver framework) - anyone know if there is any prior work here? A comment in the python-cachecontrol package disables tests because "Versions > 0.11.6 depend on CherryPy for testing; It's too much work to package CherryPy for now."
<guixy>hi guix. For a final project of the semester I need to do machine learning on a large data set of my choice, and I chose all guix packages :) I need to get certain data points from a package structure, including the arguments to the build system. I am writing a function to use matching to turn it into an alist, but I thought I would ask here, is there already a better way to do that?
<ryanprior>guixy: I have a janky method of doing this that's part of guix-packaging.el
<ryanprior>The non-janky version would involve actually using a Guile parser, and I may go that route eventually
<guixy>The arguments is just in the form '(#:key val ...) so I figured I could run reduce with matching to make it the form '((key val)...). It's already mostly done, and I think it might be easier to finish it than make a parser. Thanks though
<guixy>Maybe when I'm done with my project I'll publish my findings. I love the guix kernel for jupyter, but I think I need a colab-compatible notebook for this project, meaning I need to do everything in python and probably include calls to !pip install...
<guixy>But that doesn't mean I can't use the guix kernel to generate a file to be loaded by the notebook I turn in, or to draft what I'll put in there.
<guixy>I'll admit, the guix kernel is missing some basic functionality though, like "kernel->restart & clear all"
<kozo[m]>Greetings, I am getting "guix system: error: service 'guix-publish' requires 'avahi-daemon', which is not provided by any service". Does anyone know what needs to be added to provide it? I tried (gnu packages avahi) and (gnu services avahi)
<maav>vldn: if you really cannot create a new image nor download one of the ones available, you could do manually the steps from (@ (gnu build install) mount-cow-store): create an overlay with the new folders, giving them the right owneship beforehand, and move the mount for /gnu/store to that new overlay
<vldn>maav: thats what i want to try next, seems like there is no other way like Copy stick partition as whole to disk and update grub mountpoints?
<nly>Anyone feel like updating zfs to 2.0? it uses linux-module build-system
<maav>vldn: nope, that shouldn't work, e.g. there are store files for the system generation that reference file-sytems and mapped-devices
<mbakke>civodul: reverting 2dfb16150e11f273fd6f991bb563bf02a8a69402 worked for email@example.com
<mbakke>replacing the 'fontconfig' input with a gs-fonts one is not sufficient
<civodul>mbakke: ah, so that means there's a deeper issue?
<mbakke>civodul: yes, not sure what needs that fix ... I tried a sledgehammer approach with package-input-rewriting, but got into circular module dependency troubles.
<ces>Hey, how would one package a binary file? I am trying to make a package for =handlr=, but packaging the source turned out to be a major pain (also i am not familiar with rust/cargo). I found there was also a binary release, but i haven't tried packaging a binary yet, and i can't find any examples to copy.
<mbakke>civodul: tried both font-dejavu -> gs-fonts, and fontconfig -> fontconfig/gs-fonts :P
<mbakke>and defining firstname.lastname@example.org in terms of a 'with-fontconfig+gs-fonts' procedure...
<civodul>mbakke: ah so email@example.com still needs the gs-fonts-based fontconfig?
<pineapples>I'm having a problem with the unattended-upgrade-service. I set a variable containing a channel definition in my config.scm, and passed it to the 'channels' field of the service definition, and this is the error that I'm getting in the unattended-upgrade.log: "error: %my-list-of-channels: unbound variable". I examined the contents of /gnu/store/xxxx-channels.scm, and it literally contains the string "%my-list-of-channels" inste
<zzappie>Yesterday I found packages that won't compile with curent guix's go-1.14. Apparently 1.15 is the "stable" thing today
<zzappie>I've updated go package locally but when I try to run './pre-inst-env guix build --rounds=3 go' guix just spits out currently installed go-1.14 store directories
<zzappie>am I missing something? It supposed to work like that?
<nixo_>Hi guix! I packaged weblate and wrote a service for it, the way before being able to send the patches upstream is still long, but in the meanwhile if anybody wants to host an instance I pushed the code here: https://git.nixo.xyz/nixo/weblate-guix
<mekeor[m]><nixo_ "Hi guix! I packaged weblate and "> that's so cool, thank you nixo_! love to see the number of guix-packages and especially -services grow :)
<mekeor[m]>i didn't know about weblate before but it looks awesome!
<nixo_>mekeor: Yeah I'd love to see more guix services, too, but it always takes *so* long for me to write one. Also, this one is really ugly, I should put even more hours fixing it
<civodul>that often works better than sending a 50-patch series :-)
<pineapples>civodul: I do have one more question if you don't mind. It's okay if you don't reply at all; I'll assume you're just really busy, and will try to figure this out on my own. So, I'd like to make my configuration as compact as I can (by setting as few variables as possible to achieve the same outcome), and I'm wondering if I could directly insert a scheme-file object, such as the one from this thread: https://lists.gnu.org/archive/
<abcdw_>Am I understand correctly the following about channels?:
<abcdw_>1. `guix pull` downloads all the channels to the store, builds guix with load-path equal to all those channels and creates a new profile generation with guix-wrapper, which can call compiled code.
<abcdw_>2. `guix time-machine` do the same, but doesn't create a new generation of current profile.
<abcdw_>3. The information about profile generations is just a bunch of symlinks /var/guix/profiles
<dissoc>how does guix determine whether or not to rebuild a package for an inherited package? i inherit the parent and make changes to the config flags and phases, but it seems like it doesnt rebuild when i change just those things
<nalaginrut>abcdw_: it seems there's no ~/.config/guix/channels.scm in default
<dissoc>i got my package building correctly from copy pasting the parent and modifying it. but for whatever reason i couldnt get the modified phases to work with inherit. something i guess im doing wrong but it looks the same as similar packages
<pineapples>Anyone have an idea whether it's possible to have realtime mcron jobs not expire in the scenario, in which a machine was powered down prior to the job running?
<pinoaffe>I wrote some emacs lisp to "toggle" which profiles to enable emacs-wide, thought some of y'all might have a use for it https://bpa.st/F5UA
***amiloradovsky1 is now known as amiloradovsky
<civodul>pinoaffe: nice! would be great to have something like this in Emacs-Guix
<pinoaffe>civodul: the issue with that is that this only works due to certain assumptions on how your profile- and manifests are stored on the filesystem, so I don't know how well this would work as a general-purpose package
<civodul>yes it would need to allow you to choose a manifest etc.
<mbakke>sneek: later tell apteryx I saw you had done some work towards bootstrapping Rust 1.29 directly, do you still have that patch around?
<mbakke>db48x`: have you upgraded your guix-daemon recently? :)
<pineapples>While I'm still here: any thoughts on adding the lvm2 and git-minimal packages to the installation ISO? Now that we support LVM configuration in Guix, the former should definitely land in it; as for the latter, it'd be just very nice to have.