IRC channel logs
2025-06-21.log
back to list of logs
<pipo>I thought it was dead but I was wrong <viaken>postroutine: I had that issue a few times, but I could never reproduce in a way that let me investigate the behavior. <demido>i want to use s-expr for config file formats, but how can you make sense of all of those ()? my eyes cross it's so hard to look at <decfed>demido: indentation helps. Also there are editor packages that grey out the parens to make them stand out less. And others that color them the show the pairing <luca>There bare also plugins to make them colored so it's easier to match start and end paranthesis <ruther>are there any automatic ways for checking if source contains any binary blobs? <mgd>what is the emacs-next package and how is it different from the normal emacs package? <ruther>mgd: it's the git version of emacs. emacs package is released version <jakef>emacs-next is the next major version after the current release major version <chris0ax>hi! has anyone had an unbound-variable exception while building the package cache while doing a guix pull on a channel theyve made? I keep getting it on a channel ive made and when i look at the input giving the unbound variable exception, it doesnt seem like ive missed the import for the module (in my case the error comes for a propagated-input "emacs-s" which i import with (gnu packages emacs-xyz)) <ruther>chris0ax: emacs-s has been moved to emacs-build recently... <chris0ax>ruther: omg i didnt catch this! thanks! probably explains why i got the same issue with emacs-compat too <mgd>I'm running exwm and I'm trying to get the emacs version to 30 <identity>mgd: the 'emacs' package is 30.1 on HEAD, try 'guix pull'ing? <mgd>identity: that did it. thank you <icy-thought>I might be missing something, but guix lacks generators for different config formats, right? As an example, if I want to generate a toml config from guile alist (or whatever) I cannot do it unless I define my own generator <meati>icy-thought: I looked into this myself, there should be a way to import guile modules that process whatever format <icy-thought>I keep forgetting that guile is its own thing and not like nix <icy-thought>I wish we had a regreet greetd option... there is so much to package lol <ruther>icy-thought: you can't add guile packages as dependencies to channels though, so keep that in mind <icy-thought>ruther Can I not rely on them if they are available in guix? <ruther>icy-thought: sorry I don't understand what you mean by that <icy-thought>You cannot add your guile packages to channels like you do with a flake.nix input right? <ruther>icy-thought: when you make a channel, that channel cannot specify a guile dependency, only other channel dependencies. So if you were making custom channel, you cannot use guile-toml guile package. <icy-thought>I was just thinking of writing a toml config file for regreet with some varaiables defined in my config (wallpaper, gtk theme and cursor) <meaty>does anyone here use the pounce service? I can't get it to work <meaty>it keeps exiting with code 76, log message 'pounce: tls_connect: failed to load certificate' <look>did anyone here try/have heard of someone packaging EAF (the emacs app framework)? <look>I got it running the non-guix way, and wondering if anyone has attempted to make a proper package for EAF <redacted>It looks like the switches for guix time-machine only affect the `guix' channel. Is that right? I'm using a channels.scm file with the commits I want, but it'd be convenient to use --commit for my personal channel. <ruther>redacted: Yes, --commit means to change the commit of guix, you need to make a channels.scm with the commits you want for other channels <Tadhgmister>if I wanted to write a guix service that parses a folder of ics files and schedules alerts at the appropriate times specified in the files what would be the right tool for that job? my intention is that if the folder is updated it can cancel scheduled alerts and reparse the folder <Tadhgmister>would I make a variant of the mcron service that dynamically computes a configuration every time the folder changes? <ieure>Tadhgmister, This doesn't really become a guix service question until there's some program with the behavior you want. <ieure>Tadhgmister, You could maybe write one in guile, if there's bindings for inotify and ical, but it doesn't have to be. Could be anything. Once you have a program that actually does that, you can write a Shepherd service to manage it and a Guix service to configure it. <Tadhgmister>I do intend to write such a program, it is how to do the scheduling that I am having trouble figuring out <ieure>Tadhgmister, That's part of the program, not part of the Guix/Shepherd service. <ieure>Shepherd has timers, but that wouldn't work for what you want, because you'd have to system or home reconfigure any time there was an update. <ieure>Tadhgmister, If you want to write your thing in the most Guixy way possible, I see that there's guile-ics (for parsing the files) already packaged in Guix, as well as guile-libnotify (for alerting). And there's an unpackaged/stale guile-inotify for that piece: https://github.com/b4283/guile-inotify <ieure>Not sure how good that last one is, but worth checking out at least.