<lilyp>apteryx: yes, I still have to specify gtksink
<lilyp>is anyone else being prompted for their passwords when trying to pull from savannah?
<brendyn>i get that with github when the repository doesnt exist
<efraim>lilyp: I think it's due to the openssh update. I just changed my key from RSA to ed25519 and i went back to using my key
<lilyp>is there a rationale on this openssh situation?
<vivien>Hi guix! I got news from TRAMP. They don’t want to assume a path order from client side, for security reasons, and they don’t want to perform too much extra checks just for guix.
<efraim>lilyp: https://www.openssh.com/txt/release-8.8 "Incompatibility is more likely when connecting to older SSH implementations that have not been upgraded or have not closely tracked improvements in the SSH protocol. For these cases, it may be necessary to selectively re-enable RSA/SHA1 to allow connection and/or user authentication via the HostkeyAlgorithms and PubkeyAcceptedAlgorithms options."
<zacque>brendyn: Looking into the file "guix/base32.scm", the %nix-base32-chars indeed left out the character E O U and T.
<zacque>brendyn: You have gone too far, I think this file "guix/base32.scm" will do
<PurpleSym[m]>Can I somehow inherit a package and add it to the inputs at the same time? Trying to package Python bindings for libolm, which are part of the same repo and thus share version and source.
<brendyn>PurpleSym[m], it should work fine if you just do it
<lilyp>please refrain from such language, it makes it easier for all of us
<mekeor>hi guix! when i try "guix pull" with my custom guix-channel (called "channeled") (which includes a package for "emacs-athena"), i get this error: `(exception misc-error (value #f) (value "no code for module ~S") (value ((channeled packages emacs-athena))) (value #f))`. any idea how to fix this? :)
<mekeor>let's see if it works now :) thank you, vivien :)
<vivien>That sort of error happens all the time, because 3 things must exactly match: the line in (define-module), the file name it’s in, and the way you include that module (if applicable). That’s the single source for the "no code for module" that I’ve ever had.
<lasnesne[m]>Hey guix! I’m packaging openimagedenoise to use it on blender. But they provides their trained weights with only git-lfs. Are there any way to fetch it?
<nckx>Wow, Git LFS really doesn't want to give you a simple HTTPS URL you can actually download, does it…
<nckx>‘All Batch API requests use the POST verb, and require the following HTTP headers.’
<mbakke>how do I make 'hostname -f' return a FQDN on Guix?
<zacque>ncks: Wow, what are you doing there? Sorry, I'm not good at shell scipt =X
<zacque>ncks: Oops, I can just run the script... Wow, just wow
<zacque>ncks: Don't really understand what it's doing, but it looks cool
<nckx>You can probably golf it a bit to make it shorter but nor did I do anything to make it look silly. Just wrote the ‘‘‘obvious’’’ way to convert from the hash part of sha256sum (you were passing the entire output to base32 which is too much), into raw binary, into ‘text’ binary, reversed that, added some 0000 padding which nix-base32 expects, pass it to bc to convert the binary text back into hex text, then back into raw binary, then we simply call bas
<nckx>e32 so it's not cheating because we simply call base32, then replace the characters because Eelco was worried of hashes containing swear words, then truncate the "0===" ending.
<nckx>zacque: Anyway, this proves that Guix really does use base32, but of course the real moral of the story is to use ‘guix hash’, for the love of god use ’guix hash’ 😉
<nckx>zacque: The tr just replaces the traditional (RFC-4648) character set used by the base32 command, [a-z234567], which omits some numbers (e.g., 1) that might look confusingly like letters (e.g., l or I), with a different set (https://edolstra.github.io/pubs/phd-thesis.pdf, page 89, ‘This is to reduce the possibility […] potentially offensive to some users’).
<nckx>I'm still not sure if that was for real or he just wanted to pad his references…
<nckx>mbakke: I write my own /etc/hosts in my system.scm; does this mean Guix does something wrong(?) by default and could be improved?
<zacque>nckx: Ah, I see what you're trying to say! I would say it's a modified base32. I was just being curious while learning to write a simple package definition. It occured to me that "Why not simply hash it and then convert it into base32? It should give the same result, right?". Then the result turned out to be very different from what I expected. Ha!
<zacque>ncks: Well, maybe it's both (for real and to pad references) =D
<nckx>It would be a trivial character substitution if it weren't also backwards (bytes are reversed) for reasons I don't quite understand.
<nckx>Before I noticed the fold vs. fold-right, I got wildly wrong (not just backwards) results and like you was very confused ☺
<nckx>It's a substring of my name, and it was intended to be relatively unique when I chose it (and, of course, ‘cool’ & unusual — sincere apologies from my 11y.o. self) but the protein lobby ruined that.
<nckx>zacque: IRC is a very simple protocol, and clients just scan each line for your nick (or another configurable text string) and will highlight/notify you based on that. So if you write ncks mine won't ring a ding.
<nckx>Most clients, even Web ones, tab-complete nicks by the way.
<lilyp>nckx: your github account is the fourth thing that pops up in DDG
<lilyp>(that's DuckDuckGo, not Data Dependency Graph)
<lilyp>How'd you suppose it gets those permissions without elogind?
<foomar>lilyp: I'm looking into Xwrapper.config, it should have an option for that
<foomar>lilyp: Maybe I need to put my user in the 'input' group
<foomar>lilyp: devices under /dev/input are owned by input:input
<foomar>lilyp: Adding my user to the input group worked!
<orang3>Hello guixers, I'd like to use guix to build a Docker image which bundles an application scheduled by an mcron job. Am I supposed to use %base-services or can I just use an mcron service type + extension for the job?
<razor[m]><lilyp> "please refrain from such..." <- soyboi
<mekeor>orang3: so if i understood you correctly, i.e. if your question was whether you need to use %base-services, then my impression is: yes, you probably do
<orang3>@mekeor thank you for your help, I think I failed to explain myself. What I meant was: I have a cli application which does a REST call, stores it's result and dies. I need the fetching to happen regularly, like once every hour. I need to deploy it via Docker so I was trying to build the minimal image that allows me to have mcron and my application
<orang3>My question was, since mcron is included in %base-services, will the mcron service be able to function correctly without the other base services?
<mekeor>orang3: do you need to log into that operating system? if so, you need the terminal-related services listed in %base-services (or you need to include them yourself in your operating-system declaration).
<mekeor>orang3: does your script need "/bin/sh" do exist? if so, you'll need the special-files-service from base-services (or put it in your os-declaration yourself)
<orang3>@mekeor: I'm not sure I need to go through the actual login, but it might be useful to be able to spawn a shell inside the container for debug purposes
<mekeor>orang3: do you need "127.0.0.1" to be a loop-back? if so, you need the static-networking-service defined there...
<orang3>@mekeor not sure i'll need 127.0.0.1, I plan to use docker compose and I believe it uses the host network stack
*mekeor restarts emacs and continues to read #guix:libera.chat per matrix / mekeor[m]
***sam__ is now known as Guest6168
***janneke is now known as janneke[cm]
***janneke[cm] is now known as janneke_
***janneke_ is now known as janneke
***ChanServ sets mode: +b *!*razormone@*
***razor[m] was kicked by ChanServ (User is banned from this channel)
***ChanServ sets mode: +o litharge
***litharge sets mode: -o litharge
***ChanServ sets mode: +o litharge
***litharge sets mode: -qo *!razormone@* litharge
<paxton>hi, all. i dropped by the other day trying to figure out why i don't have spellcheck in ungoogled-chromium on guix system. i've got hunspell and hunspell-dict-en installed, and now libreoffice has spellcheck (which i think also relies on hunspell) - no dice on chromium yet
<paxton>looks like DICPATH is set so i'm not quite sure what's left to experiment with or what could be missing
<lilyp>it appears ungoogled-chromium does not build against hunspell
<lilyp>if you have a spare machine and two days to waste, you could try adding it
<paxton>oh, hmm. that's interesting. i wonder what it's using. i have ungoogled-chromium on another machine running guix system (same version & generation) where spellcheck is working, and i don't think it's running that through google servers or whatever
<paxton>i'll look into what it usually uses on gnu/linux
<lilyp>I'm simply observing that our ungoogled-chromium doesn't have a hunspell inputs
<lilyp>so if it needs that for spellcheck, we'd have to add it
<attila_lendvai>is this a packaging error, or am i missing something? guix environment --ad-hoc python-sphinx python-sphinx-rtd-theme and yet, i get: ModuleNotFoundError: No module named 'sphinx_rtd_theme'