IRC channel logs


back to list of logs

<the_tubular>hint: Try adding `(use-package-modules linux)'.
<the_tubular>But it's already added ...
<civodul>lfam: Pjotr and Manolis are trying to get the devroom going
<civodul>lfam: and the Guix Days at ICAB beforehand
<civodul>i guess you can get in touch with them to show your support :-)
<lfam>Ah, I didn't know if there was a plan for Guix Days at ICAB
<lfam>I am going to try to be there
<the_tubular>(use-package-modules linux admin bash certs compression curl emacs emacs-xyz guile-xyz guile gawk gnupg docker less file-systems man ntp ssh version-control rsync python util-linux-with-udev)
<the_tubular>It should work right ?
<rekado>civodul: thanks for liberating goggles-bot from the confines of my screen session!
<civodul>rekado: it's an adult now!
<civodul>it seems to be happy
<civodul>ACTION -> zZz
<the_tubular>I don't get it ... I'm importing modules and guix is crying that they are still not found ...
<podiki[m]>did you (use-service modules docker)?
<podiki[m]>that is needed for the docker service, and add that to your services declaration
<podiki[m]>the_tubular: ^
<podiki[m]>with (service docker-service-type) and make sure your user is in the docker group (add to user-account's supplementary-groups)
<user>night guix
<the_tubular>Yes I did podiki[m]
<podiki[m]>can you send/paste the actual message?
<kozo[m]>Hey all, does anyone know what package has Thanks!
<the_tubular>Both have been added, then it requires elogind I added that, then it required `(use-service-modules desktop)'
<the_tubular>This I can't add
<podiki[m]>the_tubular: if it helps, here's a system config that has docker working
<the_tubular>Here's what I don't understand :
<the_tubular>(use-package-modules desktop ...)
<the_tubular>This is part of my config.scm
<the_tubular>Yet when i run reconfigure I get : error: module (gnu services elogind) not found hint: Try adding `(use-service-modules desktop)'.
<the_tubular>Is the order important when you import library ?
<kozo[m]>nckx: cbaines Hey guys, it looks like podiki got banned from the channel for posting a github link? Are one of you perhaps an admin for this channel?
<the_tubular>Rip Podiki :(
<the_tubular>I swear that wasn't my masterplan
<the_tubular>vagrantc you got mod on this channel ?
<vagrantc>the_tubular: not to my knowledge
<the_tubular>Darn :/
<the_tubular>Our friend podiki got banned
<the_tubular>By an anti spam bot
<the_tubular>Yeah, apparently, 1 github link and you are gone
<the_tubular>There has been a few bots here in the last few weeks though ... So I get it, but there needs to be more mods, even if you want to automate
<the_tubular>.tell podiki Your sacrifice was appreciated.
<the_tubular>Damn, how do you use the bot already ?
<lfam>Does linking to this really cause you to get banned from the channel?
<lizog>what would be a good way to install guix in a non-root environment? assuming the non-root user have kernel namespace support
<lizog>found an old post about using proot, which could sacrifice performance:
<lizog>on the nix side there is a project called nix-user-chroot, and basically it's just creating a container and bind mounting needed directories:
<Moonjaein>i love sex
<daviid>the_tubular: <the-bot-nick> later tell nick this and this ...
<daviid>sneek: later tell the_tubular you see ...
<sneek>Will do.
<apteryx>I've asked about why podiki[m] was erroneously banned by their bot in #liberachat
<apteryx>err, #libera
<apteryx>our own litharge config may be at fault; "maybe there's a ($nick isin url) filter?" nckx?
<apteryx>nckx: "/t\.me\//" *] in our litharge lspattern would be at fault
<apteryx>nckx: unfortunately it seems I need more op to dig further in our litharge config or change it; I'll leave it to you
<apteryx>useful reference link to the bot's source for my future self:
<apteryx>in the meantime, I'd advise people to not post links containing their own nick :-)
<the_tubular>Damn that's f'ed
<sneek>Welcome back the_tubular, you have 1 message!
<sneek>the_tubular, daviid says: you see ...
<the_tubular>sneek: later tell podiki[m] Your sacrifice was appreciated.
<sneek>Got it.
<the_tubular>Thanks daviid, always there to help :P
<robin>sneek, later tell robin to check if you understand any commands other than 'later tell' and 'botsnack'...
<robin>sneek, enjoy the botsnack
<robin>sneek, version
<sneek>Sneeky bot running on Guile version 3.0.3 using bobot++ release.2.3.1-6-a463-dirty
<nckx>apteryx: What's wrong with posting links containing your own nick?
<nckx>sneek: later tell podiki[m]: Sorry 'bout that zap, the leading '/' got dropped (well, unescaped) in a migration to less permanent spambans. Have a botsnack to recompense.
<nckx>Wow. You should be ashamed.
<nckx>sneek: later tell podiki[m]: Sorry 'bout that zap, the leading '/' got dropped (well, unescaped) in a migration to less permanent spambans. I tried to give you a bot snack but sneek stole it.
<sneek>Will do.
<xd1le>hahaha just stole it, ate it and said no :)
<civodul>Hello Guix!
<civodul>bad news: shepherd still seems to leak on bayfront :-/
<mothacehe>Hey civodul! Oh too bad :( Is it leaking at the same pace?
<civodul>not sure
<civodul>hopefully not
<civodul>i mean, i did see a significant different with my synthetic workloads
<civodul>as in: it would no longer leak
<civodul>problem is, debugging this is extremely expensive in terms of human labor
<cbaines>how can you tell civodul?
<civodul>"sudo herd eval root '(gc-stats)'"
<civodul>i have a screen session where i run that regularly
<fiesh>the two hardest issues to debug are race conditions, resource leaks, and off by one errors...
<mothacehe>it seems like a huge commitment indeed. let us know if we can help somehow :)
<civodul>i'm interested in fresh ideas and reproducers at this point
<civodul>maybe starting from the reproducers at and related bugs
<ph03n1xaim[m]>Hello, guix users. I am a guix user trying to get exwm working with my current install. I had an old backup of exwm on my git. I couldn't find a way to have it working with my current guix install. The exwm configs are read from ~/.exwm right?... (full message at <>)
<civodul>for me they no longer exhibit a leak
<ph03n1xaim[m]>I would be grateful if you could provide me any help. I have used emacs for long and this is a working config from another distro.
<mothacehe>ok i can reconfigure berlin to compare with bayfront
<civodul>yes, that would be nice
<mothacehe>if it can cheer you up i'm closing in on the finalizer issue!
<civodul>the finalizer issue?
<ph03n1xaim[m]>Got help from another guy to fix my exwm ????
<ph03n1xaim[m]>Now it works????
<minima>hi, anyone using erc-sasl to connect to libera? i was looking at and noticed that the recommended erc-sasl implementation is
<minima>which doesn't seem to be packaged under guix
<minima>i wonder how one would go at packaging something that's part of a broader repo...
<yarl>Hello guix!
<civodul>hi yarl!
<mothacehe>civodul: berlin is now reconfigured, shall we restart it to install the new shepherd?
<PotentialUser-51>Hi Guix. Any idea what it takes to get racket for aarch64?
<minima>re emacs erc sasl, here's a bit of a naive attempt of mine
<minima>it does build (yay!) but it doesn't seem to work - i.e. emacs doesn't seem to find erc-sasl
<minima>it might be because of a wrong path for erc-sasl.el
<minima>it ends up being saved at /gnu/store/cn0aq0psybzs14y164vk29si7phxvnk8-emacs-erc-sasl-0.200.14/share/emacs/site-lisp/erc-sasl-0.200.14/layers/+chat/erc/local/erc-sasl/erc-sasl.el
<stevenroose>Is there a way to do the powertop service like for systemd in Guix?
<apteryx>civodul: looking at the leak problem from a bird's view; how that even possible in Guile? Is the GC loosing track of objects? Or is the program (shepherd) at fault, continuously creating new objects that are referenced?
<apteryx>I've read your reports, it seems like it's the former (some C code managing stacks is leaking?)
<civodul>apteryx: right, it's code that deals with delimited continuations in libguile that's leaking stacks
<civodul>where leaking means "unduly keeping a reference to previously-allocated memory"
<civodul>(it's not a leak in the C/malloc sense)
<apteryx>have you made a report against Guile? it should be fixed at the core
<apteryx>I don't see something related to that memory leak in Debbugs for Guile
<apteryx>ah, pardon, the second from top
<civodul>apteryx: i had it "fixed" in Guile, but apparently it's not really fixed
<civodul>i'm more than one week into this
<apteryx>seems someone on fedora was not able to reproduce #59021, based on replies in #guile? That's interesting, if true.
<apteryx>it means it could perhaps be related to the Guix build of Guile?
<apteryx>I can try that today (using VMs) if that's useful. So I just let the snippet from #59021 run an check its memory growth over time?
<f3n1x>hi Guixers ! ... i've just declared 'guix install ripgrep' ... package derivation is downloaded and (apparently) installedt. Then i run '$ ripgrep' ... and it says 'command not found'
<f3n1x>Uh. i'm puzzled... what am i missing ? Thanks thanks thanks for any kind of help and/or direction !
<nckx>f3n1x: Is it not called ???rg????
<nckx>???guix build ripgrep??? confirms that it's called ???rg???.
<f3n1x>ah.oh. yes , it is 'rg' . lol
<nckx>Apparently life's too short for vowels and the majority of consonants ????
<f3n1x>on the other hand, (i3wm here) after switching to a new machine and its subseqent fresh OS install, i'm puzzled by the fact that 'emacsclient' is not launching it as expected, what could i be missing here ?
<nckx>I don't know, I use it myself without issue.
<nckx>Is the daemon running?
<f3n1x>fyi, running it on the terminal leads to ' '/home/fenix/.guix-home/profile/bin/emacsclient: file name or argument required'
<f3n1x>ACTION is trying to double check wether if the daemon is running or not !
<nckx>Sure, but there's a second line ??? Try '/home/nckx/.guix-profile/bin/emacsclient --help' for more information
<nckx>If you're new to emacsclient, I'd read the ???Invoking emacsclient??? part of the Emacs manual, at least. This is not Guix-specific.
<nckx>If ???emacsclient -c??? still fails, the daemon isn't running.
<f3n1x>'emacsclient -c' works like a charm
<nckx>I've aliased it to ???emacs??? (through a one-line script, so it works when called from other tools, but it's still just an alias for ???emacsclient -c???).
<nckx>But if you don't have it bound to Super+E, are you even living.
<nckx>ACTION AFK, have fun.
<f3n1x>Let's have fun! ah... in your 'modus operandi', calling 'emacs' means that the first time (whoever does it: me or the system itself) 'emacs' is called it runs 'as emacs' and the second (and the 3rd, the 4th...etc) it is called it runs as emacsclient 'automagically' ? If that's the case... i'll be following your path. Indeed
<apteryx>civodul: on my local machine it seems to stabilize after a bit; it's been at heap size has been at 87846912 for a long while in one process
<apteryx>in a Debian 10 VM using guile-2.2, it increases only once at the beginning; currently stable at 8990720
<civodul>apteryx: to be clear, which one are you running?
<apteryx>the one in #59021
<civodul>ok, thanks for giving it a try
<civodul>so on Guile 3.0 from Guix, i typically see a 10x growth after between the first a second "heap-size" line
<civodul>then it grows less quickly
<civodul>(*from Guix before commit 7138ba34fa11d3eb2d9e7e44771e698f53415dbc)
<apteryx>yeah, so far i can't say I reproduce; 2 guix systems with vastly different x86_64 CPU (core 2 duo and ryzen); both stabilize at different points
<apteryx>and guile-2.2 from debian as well
<apteryx>have you tried that script on berlin?
<civodul>guile-2.2 from Debian is very different from what we're targeting though
<civodul>i haven't tried that script on berlin, but i did try lots of other things
<civodul>and we can't deny that shepherd leaks on berlin and bayfront :-)
<apteryx>that's for sure :-)
<apteryx>I'm just wondering if we've got the correct problem cornered
<apteryx>I'll try it on berlin and see
<civodul>yeah these things are always hard in part because it's not deterministic
<civodul>and while you can demonstrate that there is a leak, you cannot prove lack thereof
<apteryx>it's been stable on my desktop for more than 15 minutes
<f3n1x>/me tries to mimic nckw way of invoking emacs...
<f3n1x>ACTION tries to mimic nckw way of invoking emacs...
<civodul>apteryx: with Guile from Guix, right? which store item?
<f3n1x>nckx ... i would love to implement it, too. how do you do the Super+E you mentioned ? Thanks, thanks, thanks !
<apteryx>yes for the test on my system; /gnu/store/1jgcbdzx2ss6xv59w55g3kr3x4935dfb-guile-3.0.8/bin/guile
<apteryx>the same on a remote ryzen machine
<f3n1x>ACTION ah... nckx , forget my question... may i just try a keybinding/shortcut in the i3wm config file !
<apteryx>(both which seems stable in the heap size test)
<civodul>i'd try restarting them
<civodul>if there's no significant peak early on, it's probably not going to happen later
<apteryx>it's very strange that it's not deterministic
<apteryx>shouldn't the heap size numbers be the same on each run?
<apteryx>I wonder where the non-determinism comes from
<apteryx>civodul: this was a 15+ minutes run:
<civodul>apteryx: ah so it did grow
<civodul>it's expected that growth is logarithmic i guess, in that the allocation rate remains the same whereas each heap expansion is bigger
<abrenon>hey guix
<apteryx>civodul: it did grow, but it stabilizes
<apteryx>at least for a time window of about 30 minutes
<civodul>yes, but that's still a problem i think
<minima>hi some progress on my attempt at packaging emacs-erc-sasl but not quite there yet
<apteryx>civodul: I can leave it to run for hours, but I suspect it won't grow anymore
<apteryx>if that's the case, it's not really a problem? at least it's not the exact cause of the leak happening on berlin
<minima>anyone can advise on this error: (file-missing "Opening directory" "No such file or directory" "/gnu/store/w3da091h97syqdia9kb9gz8gkb7vyfjh-emacs-...") - which is raised during the make-autoloads phase
<civodul>apteryx: i don't believe in that theory but i think you're right: we must keep an open mind and look for other leads
<Guest23>I've tried booting up guix VM under qemu and I'm getting confused. I've tried to upgrade to system (guix pull, guix upgrade), but guile --version shows 3.0.5; guix install guile tells me that I've installed 3.0.8, however guile --version still shows 3.0.5. Then I've tried guix shell guile -- guile --version and that does give me 3.0.8.
<Guest23>I feel like I'm missing something fundamental. How do I actually upgrade my (VM) system?
<Guest23>Never mind, hash -r. Sorry for noise.
<minima>latest attempt: (emacs erc sasl)
<minima>still not building
<minima>i've found another repository for erc-sasl
<minima>this one only contains the relevant extension, as opposed to the spacemacs one - so packaging it should be easier
<minima>what should be used as version in those cases where tags are not available? just the commit hash?
<minima>oh yes, i think so
<minima>sorry for the noise
<nckx>minima: See corkscrew for an example of what to use in such cases.
<minima>nckx: hey, thanks
<minima>excellent example, thanks, may i simply use "0" here? (git-version "0" "0" commit)
<nckx>Yeah, I think so.
<minima>super thanks nckx
<nckx>Do let-bind ???revision???, though. Mainly because it's convention, so people bumping the package both expect it and will be less likely to miss it if it's right under ???commit???.
<nckx>(No hard technical reason to, I know.)
<nckx>Better luck with this repo!
<apteryx>nckx: hi! I'm just checking that podiki[m] should be able to join again, right?
<apteryx>I'm not exactly knowlegeable with the litharge bot
<nckx>Didn't you (or someone I'm confusing you with) unban them?
<nckx>litharge is pretty baroque, yeh. But (unlike ChanServ) it directly manipulates the main banlist (/mode #guix +b), so that should always reflect the truth.
<tricon>"baroque" - great word and great music.
<nckx>???ignoring ChanServ, but litharge doesn't use it.
<nckx>I'm doing a very poor job at explaining it but the upshot is ???yes, they should be able???.
<nckx>tricon: De gustibus.
<apteryx>nckx: I haven't no
<apteryx>I thought litharge had its own banlist that I didn't know how to manipulate
<tricon>I was just thinking a moment ago of how I wish to learn Latin.
<nckx>I'll get me logs.
<nckx>apteryx: Not quite, no.
<abrenon>how can a call to `guix search` trigger the building of a package ?
<nckx>litharge has rules, and takes action on those rules, by manipulating the standard IRC channel modes. It does not do ???if see X, kick them and set +q???. At least I haven't configured it to and won't.
<nckx>* +b, but whatever, same point.
<nckx>That might have been them. The problem is, that's a unique ID all right, but there's no way to map it back to a nick[m] AFAIK.
<nckx>So unless you set the ban or saw it happen, good luck with that.
<apteryx>nckx: I thought litharge had its own list because after they were kicked yesterday they didn't appear on the akick list, so should have been able to rejoin, right?
<apteryx>yet they've been away since
<apteryx>abrenon: eh? that's odd.
<apteryx>doesn't strike me as something normal; which package gets built?
<nckx>apteryx: The akick list is another thing entirely.
<nckx>I'm so sorry.
<apteryx>one day I'll know a thing or two about IRC
<nckx>I should update that little guide I sent y'all to include litharge, but IDK, it might just sow confusion.
<nckx>Anyway, that (synthetic) IPv6 above was indeed podiki, so they should be able to rejoin. I've pinged them in the ironic channel, since we share no other.
<nckx>kozo[m]: You can request the channel ACL with ???/msg ChanServ flags #guix??? to see who's an op here.
<tricon>nckx: i hope you know that i see the Elmo Fire GIF when you do that.
<nckx>I'm guessing you're not talking about St. Elmo, so a-ducking we shall go.
<nckx>Oh wow.
<nckx>Yes, that is me adminning IRC.
<abrenon>apteryx: not sure but I'd say??? guix itself ?
<nckx>Wish me luck:
<abrenon>I was trying to look for a package, loading a local package source
<podiki[m]>I'm back! oddly had posted the same/similar links before and iddn't have a problem
<sneek>Welcome back podiki[m], you have 2 messages!
<sneek>podiki[m], the_tubular says: Your sacrifice was appreciated.
<sneek>podiki[m], nckx says: Sorry 'bout that zap, the leading '/' got dropped (well, unescaped) in a migration to less permanent spambans. I tried to give you a bot snack but sneek stole it.
<abrenon>nckx: I don't know what this is about but good luck !
<podiki[m]>the_tubular: haha thanks, hope you got it figured out!
<nckx>abrenon: Thanks! Had I been unlucky, I wouldn't be talking to you now.
<the_tubular>Nope :(
<apteryx>nckx: ah! it was the literal '.me' in the URI?
<abrenon>(previous topic continued) I had this ABI mismatch error regarding python-setuptools
<podiki[m]>I did see that sneek was naughty, stealing snacks when I was down
<nckx>apteryx: Almost:
<abrenon>so I thought I'd just delete the ~/.cache portion related to this local source
<nckx>It should have been / , and was, but see how that got mis-ex-imported, being a /regex/ ?
<nckx>Obvious in hindsight.
<podiki[m]>the_tubular: the config that got me is mine, and have used docker; sometimes needed to tell shepherd to launch dockerd but I believ that bug was fixed
<abrenon>I remembered reading something about python build systems in the recent news, so I guix pull --news to read about it again
<abrenon>I identified some potentially problematic module in the local source and bypassed it before running the search
<the_tubular>I'm still not there yet, I haven't guix system reconfigure this server in a while and having trouble with the library, it complains that it needs X library that is already imported
<the_tubular>Can I whisper you in 10 min ish ?
<abrenon>now I get this weird build before my search ^^
<podiki[m]>the_tubular: I'll be away for a couple of hours, but happy to look at your config and messages then
<apteryx>nckx: so what is the intent of the corrected "/\/t\.me\//" regexp? ban any text containing a tab followied by .me/?
<apteryx>ACTION is curious
<apteryx>*ban a user posting
<apteryx>podiki[m]: welcome back!
<podiki[m]>apteryx: thanks!
<podiki[m]>ACTION away for now though, back later guix friends
<nckx>apteryx: It's been replaced with a more robust regex now. is a Russian(?) site popular with crypto scams. All bots in the past few months have used it, AFAICT, which is extremely convenient and will probably end soon.
<nckx>It's called Telegram. Some mobile thing.
<nckx>I think it's like the dodgy version of Discord or whatever, which is really saying something.
<apteryx>nckx: haha!
<unmatched-paren>nckx: originally developed in russia, yup: "Telegram was founded by the brothers Nikolai and Pavel Durov. Previously, the pair founded the Russian social network VK."
<nckx>Thanks. I don't know why I added that. It's not relevant, of course; just an artefact of me thinking via TLDs.
<nckx>Seems popular in the ???Android ROM??? space to. So we're safe for now, and we can remove the regexp if it ever becomes a problem.
<apteryx>civodul: the 59021 repro script reported heap size is still stable on berlin after about 2 hours
<danisanti>Hi al
<danisanti>Hi all
<danisanti>Can someone update the WebKitGTK dependency of Nyxt Guix's package? Nyxt breaks when you visit, for example,
<civodul>apteryx: ok, thanks for testing! we may have another thing going on
<civodul>now i'm back to testing in a berlin.scm VM
<unmatched-paren>nckx: True, it's irrelevant. What's far more worrying is their comment wrt use of Telegram by (IS(I[SL])?|DAESH) <>
<unmatched-paren>danisanti: hello! evening! :)
<danisanti>unmatched-paren: hello! I found your match.... it's name is ')'!
<unmatched-paren>danderson: At last, we are reunited. :)
<nckx>danisanti: To webkitgtk-next, you mean?
<the_tubular>Maybe it was "(" and now it needs 2 "(" ?
<danisanti>the_tubular: ahahahaha! ooops...!
<danisanti>nckx: I believe it is to webkit2gtk
<danisanti>nckx: webkit2gtk 2.38.2-1
<matched-paren>it would rebuild 450 packages. is that staging material?
<nckx>Hmm, I can't find that package.
<matched-paren>danisanti: it's actually 2.36
<matched-paren>2.38 is webkitgtk-next
<matched-paren>nckx: webkitgtk@2.36
<nckx>It currently uses webkitgtk (2.36.7), which is why I asked about -next (2.38.0). Indeed, simply updating webkitgtk is not an option.
<danisanti>this unupdated package causes nyxt to not work on some websites. Another person that compiles nyxt source said that in his/her pc the problem does not occur
<nckx>I read ???WebKitGTK dependency??? as swapping, not upgrading.
<nckx>danisanti: Do you happen to know which version they used?
<matched-paren>danisanti: perhaps we should change nyxt to use webkitgtk-next?
<danisanti>nckx: ok. please clarify me why is updating not an option.
<matched-paren>try doing that and see if it works better
<nckx>danisanti: Well, it is, we'd just have to make it specific to nyxt, or it would rebuild too much.
<unmatched-paren>Oh dear, I lost it.
<danisanti>for me, it can be anyone of this options, as long as it makes my nyxt work on (for example)
<nckx>danisanti: Why was webkitgtk-next not an option?
<unmatched-paren>danisanti: try this: guix shell --with-input=webkitgtk=webkitgtk nyxt
<danisanti>it is an option. I just needed to understand
<nckx>OK, my bad.
<unmatched-paren>and run nyxt in this shell
<unmatched-paren>see if it works
<unmatched-paren>if it does, you can submit a patch to change the input in the package definition to webkitgtk-next <>
<nckx>building /gnu/store/dhqv5a771fzrgggr0i4fmdjl11dbr8gm-webkitgtk-2.38.0.drv...
<nckx>ACTION ^C, sorry.
<nckx>Is that expected?
<nckx>(I dunno, Rust or whatever.)
<unmatched-paren>nckx: is what expected?
<nckx>No toots.
<unmatched-paren>nckx: Ohhh.
<nckx>I'm building it on berlin.
<unmatched-paren>It downloads substitutes for me.
<nckx>Oh you and your facts.
<nckx>I got distracted by the client CA still not working, anyway.
<tricon>kudos to all the devs and supporters that have worked on guix-emacs and its companions. works quite well.
<nckx>There has to be a way to fix it without breaking existing certs, which are still valid???
<Gooberpatrol66>i've been experiencing a pretty brutal bug where i get asked to enter a password every time i change the brightness
<Gooberpatrol66>if i do it from the panel it doesnt like the password popup and i can't click on anything and i have to go to a tty and kill the power manager to get control of my desktop back
<tricon>Gooberpatrol66: what is getting executed when you change the brightness?
<tricon>or to rephrase: what are you changing the brightness with?
<Gooberpatrol66>tricon: the function keys (or the panel if i forget it freezes my desktop)
<munen>Hi everyone. I'm trying to find out how to configure the location of the store. The reason is that I want to use `guix shell` in a CI setting and don't want to hammer the Guix servers. To cache the store, I need to move it into the user directory, unfortunately.
<unmatched-paren>munen: maybe have a look at the docs for guix-service-type
<tricon>Gooberpatrol66: probably a groups issue, where it's asking for elevation because you're not in a given group. what groups are you in?
<tricon>has this worked correctly before?
<Gooberpatrol66>i think it might be happening if the system generation and the user profile are using different versions of guix
<munen>The manual ( mentions that it's "by default, /gnu/store", so I'm assuming it's configurable, somehow^^
<Gooberpatrol66>it either fixes or breaks again every time i update
<tricon>Gooberpatrol66: that is a good insight.
<unmatched-paren>munen: never mind that.
<unmatched-paren>there doesn't appear to be an option in guix-configuration for it.
<munen>unmatched-paren: Thanks for the hint with regards to `guix-service-type`, anyway. It's new to me anyhow and good docs to check out(;
<cbaines>the store needs to be accessible at /gnu/store (unless you want to build everything with a different store path)
<unmatched-paren>munen: i believe guix-service-type runs the guix-daemon :)
<cbaines>you might be able to take some other directory and mount it at /gnu/store if you just want the files to be put somewhere else
<munen>cbaines: I want to build everything with a different store path. The use case is to use `guix shell` on a CI server.
<tricon>cbaines: i was wondering the same.
<unmatched-paren>munen: how does it not work on the server?
<munen>I've got the `guix.scm` file, altogether with inferior configuration, ready. It works. But I don't want CI to go to the Guix servers anytime I'm starting a CI job. It just doesn't feel very nice to create that much trafic.
<unmatched-paren>munen: it won't go to the guix servers if you've already downloaded the file before
<unmatched-paren>only the first time
<munen>unmatched-paren: Not on a normal machine. On a CI server, which is stateless, it will. Unless I cache the state (the store and other dependencies) explicitly.
<cbaines>munen, using something different from /gnu/store will be a very effective way of not fetching substitutes, since you won't get any, and will have to build everything from source
<cbaines>but I'd try hard to avoid that
<unmatched-paren>munen: ahh
<munen>cbaines: Doesn't matter. It's always the same stuff. I don't care if CI has to build the packages once.
<cbaines>as I say, I'd consider trying to have the files somewhere convinient, then mount to /gnu/store
<munen>cbaines: That was what I was considering as a fallback, too. But since the docs mention that `/gnu/store` is the default path, I was strongly hoping that there's a configuration flag for it(;
<Gooberpatrol66> /etc/polkit-1/actions/org.xfce.power.policy refers to a different xfpm-power-backlight-helper than the one in my profile
<cbaines>munen, I cannot stress enough how much this isn't something you "configure" when using Guix, but rather some core aspect of how packages/the guix-daemon/various tools work
<cbaines>another approach is to run your own instance of guix publish somewhere, and then query that first and fallback to the default substitute servers
<Gooberpatrol66>it's way too fragile. it's too difficult to keep the system and user profile on the same guix version
<munen>cbaines: Thanks for clarifying. Then I suggest it would be appropriate to create a change request for the docs which state that it's a default. If it's a core aspect and non-configurable, it seems moot to call it 'a default'.
<nckx>I didn't follow, but it is.
<munen>nckx: Are you saying the path to the store is configurable? ????
<munen>If you know how to configure it, I would be grateful for a hint(;
<nckx>Yes, if you're OK with building every single thing from source for the entire life of the system.
<munen>I am!
<munen>Thank you very much ????
<nckx>You'll need to set --localstatedir=/var as well, as that is not the default (which is not very sane, but has its historical and other reasons).
<unmatched-paren>nckx: Ah, it's a build option?
<munen>With that I can happily use `guix shell` on CI (without hammering the Guix servers on every CI run^^).
<nckx>munen: Everything cbaines said above applies, and you've explicitly disclaimed any interest in warranty claims ???? That said, if you find bugs, they should be fixed or the option removed.
<nckx>unmatched-paren: Yes.
<munen>nckx: Understood! ????
<tricon>munen: would be curious to hear of your experience as you go through with this.
<munen>About to try it now.
<nckx>munen: I'm not entirely clear on what you're doing, and one can simply disable substitution, but you clearly have a plan (what with this ???caching??? in ~). Good luck.
<cbaines>I'd also be interested in what you're planning to use as the store path?
<nckx>??? I think we all are.
<cbaines>I do wonder if there are bugs lurking around that depend on what characters you use, and how long the store path is
<nckx>That is very likely.
<cbaines>also, given how many times /gnu/store shows up if you search gnu/packages/*.scm, I do wonder if that's something we're doing a poor job of keeping out of package definitions
<cbaines>I was just recently looking at a bug in r-minimal that was related to the store path being included in the derivation
<munen>I'll happily expound my reasoning(; I want to use `guix shell` on a self-hosted Gitlab CI instance. Gitlab CI is stateless, hence it's notorious to 'download the internet' on every run. Doesn't matter if it's OS packages being installed ad-hoc or dependencies of your actual project. There's a solution, though: To explicitly cache certain folders. However, Gitlab CI only supports caching of folders within the users home directory.
<nckx>munen kindly offered to put on this guinea pig costume and go poke that sleeping dog, it would be rude of us not to accept their sacrifice and learn from it.
<nckx>Even if what we learn is ???yeah never ever do that again???.
<tricon>heh, ya got a way with words.
<nckx>Godspeed, my fuzzy friend.
<nckx>tricon: :)
<nckx>munen: I didn't think this through (at all), but is there no way you could symlink/bind-mount/??? your way out of that predicament to get the local maximum of both worlds?
<nckx>Well I did think it through but I know 0 about GitLab.
<nckx>So it was a very brief affair.
<munen>nckx: Using a bind mount was my first idea, too^^ I just wondered if there was a more Guix native way since the docs mention that `/gnu/store` is a default. And any default can be configured, right? ????
<nckx>Technically, yes. I don't think it's ???more Guixy??? to do so though. It's??? orthogonal.
<munen>nckx: Thank you for your kind support ????
<lechner>Hi, why would /run/user not be available, please? I am getting a variety of errors when logging in, including warning: XDG_RUNTIME_DIR doesn't exists, on-first-login script
<lechner>Hi, I'm on a different client. Can anyone see this? Also, did I post something five minutes ago?
<podiki[m]>lechner: I see both your messages
<lechner>podiki[m]: thanks!
<podiki[m]>but I don't have any input for your problem
<lechner>podiki[m]: that's okay. i wasn't trying to be pushy, but a misconfiguration knocked out my weechat in the cloud
<unmatched-paren>lechner: i believe you need either elogind or seatd+greetd to get that fixed
<podiki[m]>no worries! having been on the other side of wonky connections I get it
<efraim>are you using %desktop-services? that included elogind
<lechner>efraim: no, i'm not. it's a cloud instance
<lechner>there is no /run/user/XXXX
<efraim>I believe unmatched-paren is right, you'll need to add elogind to your os config
<lechner>efraim: thanks! was this a recent change?
<efraim>don't think so, but something might've changed when seatd+greetd services got merged
<lechner>and should elogind not be part of %base-services?
<unmatched-paren>elogind has always been in %desktop-services as far as i remember
<unmatched-paren>lechner: probably not, as it's usually used with a desktop, and a console session mostly has no need for it
<lechner>unmatched-paren: i don't know about that. i get login errors every time, plus some software like weechat plainly refuses to run
<dthompson>anyone here happen to run guix system on a recent gen thinkpad x1? I'm curious about any problematic hardware due to proprietary drivers. I know I can expect the intel wireless chip to be an issue.
<sneek>Welcome back dthompson, you have 1 message!
<sneek>dthompson, old says: that the concept in Catbird look nice and that I will try to hack with it
<dthompson>sneek I really wish you would remember which channel that message was from because it was from #guile!
<dthompson>sneek: botsnack anyway
<unmatched-paren>dthompson: unless it's intel xe integrated graphics, you can expect an intel laptop to work well except for the wifi
<unmatched-paren>xe is only in 11th and 12th gen intel cpus iirc
<dthompson>unmatched-paren: ah I was looking at 12th gen
<unmatched-paren>the graphics may be a problem then
<unmatched-paren>you need the nonfree i915 firmware
<dthompson>that's a bummer.
<dthompson>thanks, though. I thought there might be something sneaky like that going on.
<dthompson>I haven't looked at new laptops in ages so I am definitely behind the times.
<efraim>with the pandemic I went with a desktop and a pinebook pro
<unmatched-paren>dthompson: unfortunately, not even intel is safe anymore
<lechner>safe from what?
<unmatched-paren>lechner: blobs :)
<dthompson>proprietary firmware
<dthompson>used to be that an intel cpu with integrated graphics required no blobs
<lechner>dthompson: not sure that's a recent development. i may have had that issue as early as 2015
<lechner>Hi, I would like to file a bug to move elogind from %desktop-services to %base-services. Does anyone here disagree, please?
<lechner>or should i really use something as complex as %desktop-services in a cloud instance?
<lechner>ACTION hears echoes of the cries when Debian mandated systemd
<nckx>That's not the alternative. The alternative is adding only elogind when you need it. Or fixing guix home not to mandate it in the first place.
<tricon>it's a good question; but perhaps it's best to let those that need elogind with %base-services add it manually. else, upgrading Guix and reconfiguring could cause an unwanted surprise on established systems.
<nckx>*adding elogind only
<lechner>nckx: when is elogind not needed, please?
<lechner>i guess without guix home
<nckx>I don't know how to answer that question without being tautological.
<lechner>ein weisser schimmel?
<lilyp>imho guix home relying on elogind sounds like a bug
<lilyp>then again, guix home itself is basically an open beta
<lechner>lilyp: but weechat is not a graphical program either. i get Error: cannot create directory "/run/user/1000/weechat"
<lilyp>(mkdir-p "/run/user/1000")?
<nckx>lechner: Why the ???graphical??? distinction? It seems to come out of nowhere or I missed a context.
<lilyp>because we're pitting %desktop-services vs. %base-services
<lilyp>note that you don't need weechat on a server either
<nckx>The only reason I use weechat at all is because I run it on servers. But that's neither here nor there; as long as the ???graphical??? criterion makes sense to you it need not make sense to me.
<lechner>nckx: well, graphical environments tend to pull in a lot prerequisites, such as gdm and pulseaudio, don't they?
<nckx>I don't understand why that's relevant. Anyway, weechat does not require /run/user at all.
<nckx>You're running it on that busted ???guix home??? server that set XDG_whatever in the first place.
<lechner>i see
<nckx>This seals the ???guix home bug??? diagnosis for me :)
<nckx>ACTION disappointed there's no seal emoji.
<tricon>we need a neural network that can learn to describe GIFs in plain text for IRC.
<jab>dthompson: MNT reform should be selling laptops that have 8GB of RAM soonish...their latest news articles talked about that.
<lilyp>actually, seal is part of 13.0
<nckx>Urk urk!
<dthompson>jab: 8GB is not nearly enough for what I do.
<lechner>Hi, what's an easy wasy to reformat a Scheme one-liner (from the Home service) so that it becomes readable, please?
<lechner>in Emacs
<dthompson>the MNT reform stuff is cool, though!
<lilyp>the best one-liner is TAB
<lilyp>for anything more fancy you need to actually think
<lechner>lilyp: that was what did not work
<jab>dthompson: what stuff are you doing? 8GB is pretty much the minimum for me. Thought since I use sway, I could probably get away with 4GB or 2GB.
<jab>dthompson: actually I check the article just now, and they may be supportin 16GB soonish...where soonish is defined as I have no idea when.
<lechner>Hi, if anyone cares here is the first login script from the Home service that requires /run/user/XXXX
<dthompson>jab: 16GB is my minimum. haven't used a laptop with less than that in many years.
<tricon>i'm on 16 GiB myself. presently idling at 5.24 GiB, mostly due to 2022 web browsers and sites (O_o)
<nckx>lechner: So it's not setting XDG_RUNTIME_DIR. Interesting. I wonder where weechat's getting it from.
<nikolar>i am on a 8gb laptop with 6.5 actually usable due to igpu
<unmatched-paren>nckx: i guess it defaults to "/run/user/${UID}"
<nikolar>and firefox works just fine with a bunch of tabs open :)
<nckx>unmatched-paren: Oh?
<nckx>That would be odd.
<unmatched-paren>nckx: why?
<nckx>Why would it do that?
<unmatched-paren>Because that's the default value of XDG_RUNTIME_DIR.
<nckx>I don't think so.
<ghostarchist[m]>Anyone know about any projects like but for guix? I know the bitcoin-core team uses guix for reproducibility and bootstrapping, doesn't seem to be much more intersections between guix and bitcoin though
<nckx>unmatched-paren: No mention of that in the spec, or in the code, nor does simply running weechat exhibit that behaviour.
<unmatched-paren>nckx: Hm. We use (or (getenv "XDG_RUNTIME_DIR") (format #f "/run/user/~a" (getuid))) quite frequently in (home|system) services
<nckx>lechner: Can you explain what that link is for?
<nckx>It just getenvs XDG_RUNTIME_DIR. We knew that.
<nckx>What I'm saying, but it's hard to prove a negative, is that there's no ???default value??? applications should fall back to if it's unset, as it is by default on Guix System without extra desktoppy services enabled.
<nckx>Should be easy to reproduce with XDG_RUNTIME_DIR= weechat.
<nckx>lechner: So is XDG_RUNTIME_DIR set on your system?
<nckx>The one without elogind.
<lechner>nckx: Yes, it is set to /run/user/1000
<lechner>be back in 90
<nckx>Right. So that's my question: who's setting that, clearly just assuming elogind will always be running. That's a bug.
<nckx>Somebody's telling programs ???don't use your defaults (which would work), use this (which won't), trust me???.
<the_tubular>Hey nckx, you got a minute ?
<the_tubular>I'm having trouble doing something that should be simple... Adding docker to my guix(os) server
<the_tubular>I'm getting errors relating that library that should be imported
<the_tubular>But those are already imported ...
<nckx>If that was for me, I am really not the right person to ask. I don't use Docker.
<the_tubular>Well it's more a guix issue
<the_tubular>Can't even install docker, nor the service
<nckx>By all means, paste away.
<the_tubular>Here's the error right now :?? error: module (gnu services elogind) not found
<nckx>There is no (gnu services elogind) module.
<the_tubular>Wow ... really ?
<nckx>elogind is in (gnu services desktop).
<nckx>You can use ???guix system search???, I believe.
<the_tubular>How do I write that ?
<the_tubular>Can you paste how that should be imported from gnu services desktop ?
<nckx>I really don't know your context so I can't say, but (use-modules ??? (gnu services elogind) ???) or (use-service-modules ??? desktop ???)
<the_tubular>This is what I have at the moment : (use-package-modules desktop ...)
<nckx>Right, then just add (use-service-modules desktop) under that.
<the_tubular>It's on the line above ...
<the_tubular>Does that matter ?
<the_tubular>Let's check
<the_tubular>Then I already had it
<nckx>It would really help if you just shared your entire file.
<nckx>My turn to be AFK a while, but there are many competent people here, and the incompetent ones are very nice.
<the_tubular>nckx I sent you a dm, when you have time :)
<the_tubular>I guess I'm at least nice :P
<npoirot>sorry I misclicked
<the_tubular>Also, nckx, and probably everyone else, I'm looking for documentation on how to get better with guix, what should I read ?
<the_tubular>I check out a bit "the little schemer" and the cookbook
<the_tubular>But I'd like more guix related stuff
<nckx>the_tubular: OK, so. (use-service-module desktop ???) was correct, but you still need to remove the bogus ???elogind??? from that ????????? or you'll keep hitting the same error. The error mentions (gnu services elogind) because use-service-modules is just syntactic sugar for (use-modules (gnu services A) (gnu services B) ???). There is no (gnu packages desktop) module. Use (targets (list "/boot/efi")) ??? what you have will work, but is deprecated. %desktop-ser
<nckx>vices already includes %base-services, so you'll get a lot of duplicate service errors. Remove %base-services. Then: you manually specify services that are already *in* %desktop-services, so you'll get more errors. Remove them. Look at the definition of %desktop-services to see which:
<nckx>(Answered publicly with permission.)
<nckx>the_tubular: I can only answer for myself: read relevant Guix code. Documentation is great (and some Guix/Guile documentation is, too), but reading code helped me at least as much. YMMV.
<nckx>the_tubular: There might be more errors after that, I didn't continue. Time for bed.
<nckx>'night, Guix.
<the_tubular>Thanks that seems to have worked, finally hitting another error Yay (?)
<the_tubular>guix system: error: more than one target service of type 'udev'
<the_tubular>That's the new error
<nckx>[Mintily fresh:] Did you read my entire messages?
<nckx>If you do, I guarantee your system will at least build without errors.
<the_tubular>Yes, I read the full message, but you went too fast, my guess is that it isn't related to the "target' field right ?