IRC channel logs

2023-12-16.log

back to list of logs

<cmiller>nckx: Ah. That means, since I use GNU Guix system, "guix shell -CPW" is enough?
<nckx>Should be, although I have no idea what the ‘Git worktree’ wording is about.
<nckx>cmiller: Should be fixed: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=fa0563e7fa4effbeb86ad0fb377d1bfe5a4c8bdc
<peanuts>"guix.git - GNU Guix and GNU Guix System" https://git.savannah.gnu.org/cgit/guix.git/commit/?id=fa0563e7fa4effbeb86ad0fb377d1bfe5a4c8bdc
<cmiller>nckx: Thanks!
<lispmacs[work]>does ci.guix.gnu.org have a memory shortage or something? TLS is dying during pull
<lispmacs[work]>pull of substitutes
<cmiller>Does "guix gc -d" also delete home generations?
<nckx>lispmacs[work]: No, not at all. ~15G out of 192G used.
<lispmacs[work]>anybody having troubles with it?
<lispmacs[work]>anybody else, I meant
<nckx>cmiller: Manual says yes, didn't verify (don't use home).
<nckx>*I don't. Was not advice.
<lispmacs[work]>substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.4%guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error in the pull function.
<lispmacs[work]>guix package: error: `/gnu/store/n2amn1hpl41r403n0rq7cjbawvzfx51m-guix-1.4.0-16.aeb4943/bin/guix substitute' died unexpectedly
<peanuts>"Cuirass" https://ci.guix.gnu.org
<cmiller>nckx: Ah okay. Well, didn't really worked for me. But didn't worked for system either. Had to use "guix system delete-generations"
<cmiller>s/worked/work
<nckx>It doesn't try to delete system generations, but if it doesn't delete home generations you might have another bug to report (either in the code, or in the manual).
<nckx>You're giving yourself a lot of work tonight.
<cmiller>nckx: I don't understand. Isn't -d used to delete generations?
<nckx>Yes, but only user ones, not system ones.
<cmiller>basically, get rid of everything except current
<cmiller>ah
<cmiller>That is what they meant with 'profile' generations?
<nckx>So AIUI ‘guix gc’ = user's package + home profile, ‘sudo guix gc’ = everyone's package + home profiles, ‘sudo guix system delete-generation‘ = OS generations.
<nckx>They are all profile generations, but the manual uses the wording ‘user profiles and home environment generations’ to refer to the user-level (non-OS) stuff.
<nckx>Ah, I see you're looking at --help. Yes, that's what ‘they’ mean.
<cmiller>lispmacs[work]: Okay so I ran the "guix pull". It works without any issue. Though I have that error sometimes, too. Did you retry? Should just work in the 2nd time
<cmiller>nckx: Would be something for a Guix cheat sheet like the refcard (your guix gc commands, didn't know that)
<lispmacs[work]>not a guix pull
<lispmacs[work]>cmiller:
<lispmacs[work]>running guix package, does trying to pull a substitute
<lispmacs[work]>s/does/dies
<cmiller>nckx: My guix is dying 100% after I run "guix home reconfigure home.scm" after it takes 15 minutes downloading texlive. Is this known?
<cmiller>lispmacs[work]: Oh my bad. Which package?
<nckx>cmiller: I agree that the refcard's description of ‘guix gc -d’ is vague, at least.
<lispmacs[work]>I didn't say. I was building my whole manifest
<nckx>cmiller: Is there an error message and/or backtrace?
<mwette>So I started guix repl; loaded my package module; and (guix packages); and found that (hidden-package? pkg) => #t. How does a package become hidden?
<lispmacs[work]>it appears it is working now
<lispmacs[work]>third attempt
<cmiller>lispmacs[work]: Okay good. Since substitutes do work for me.
<cmiller>nckx: Yes. Though I would require to run the command again.
<nckx>mwette: By setting the 'hidden? package property, which is usually done through the hidden-package helper procedure.
<nckx>And yes, properties are inherited, so if you inherited from a hidden package, well, oops.
<nckx>You can use (properties (alist-delete 'hidden? (package-properties foo))) to undo that. It's a bit ugly but so's la vie.
<mwette>nckx: thanks -- back to my hole ...
<nckx>My it be cosy and dry.
<nckx>*May, jeez.
<cmiller>nckx: Also, "guix gc" and running "guix home reconfigure home.scm" means, it downloads all packages again. But since it is my active profile, should'nt it do that? Also, my system itself is minimal, everything is defined in my home.scm, but everything just works so I guess it is not actually deleting those packages.
<cmiller>nckx: It even needs to rebuild my own packages, although I use them...
<benwr>Hello! I'm curious if anyone is successfully using mosh to connect to a Guix System server. I'm getting an error indicating `mosh-server: command not found`. When I ssh in, `mosh-server` is present in the PATH (installed via the system configuration, in /run/current-system/profile/bin/mosh-server)
<benwr>I found a rejected patch that claimed to fix the issue (https://issues.guix.gnu.org/53623) but in the discussion it sounds like the server runs fine for people who installed mosh as a system package
<peanuts>"[PATCH] gnu: mosh: Fix path to binaries." https://issues.guix.gnu.org/53623
<nckx>benwr: One difference on all my servers is I have mosh installed into my user profile (guix install mosh).
<benwr>I have also tried that, with no luck
<nckx>I've never had this problem.
<benwr>nckx: I'm curious what user shell you use - it seemed maybe pertinent based on the discussion of the above issue?
<nckx>cmiller: Well, as I said I don't use guix home, but if you can find a way to reproduce this it would make a good… yes! Bug report.
<nckx>benwr: Bash all the way.
<benwr>nckx: darn, same
<nckx>I can't guarantee that I don't have a forgotten magical .bashrc line, but I don't remember ever needing one or ever having trouble with mosh PATHs.
<nckx>benwr: Can you try that patch?
<benwr>nckx: I'm really just getting started with guix, so not immediately sure how to apply it, but happy to try
<cmiller>nckx: https://paste.debian.net/1301249/ building cm-kvirc (upstream patch is on going btw) takes several minutes. texlive downloading takes 20 minutes (currently getting only 3MiB). My theorie, the guix daemon doesn't like it, when it takes several minutes
<peanuts>"debian Pastezone" https://paste.debian.net/1301249
<cmiller>nckx: and since you mentioned guix home, I could try to install those packages system wide, but I guess it is the same problem. Since substitutes is the guix daemon or not?
<nckx>The daemon won't substitute things that it already has. That's not what's happening here (although what is, I cannot say).
<mwette>nckx: yay -- that did it
<cmiller>benwr: Maybe this helps https://issues.guix.gnu.org/64073#5-lineno0 for the start
<peanuts>"libvirtd requires restart to function" https://issues.guix.gnu.org/64073#5-lineno0
<cmiller>benwr: (on how to apply a patch)
<nckx>cmiller: I suspect that if you compare the store hashes of the programmes you're currently using to the ones that are being substituted, they won't match. So the daemon is right to substitute them. The issue is who is asking for these items with different hashes, and why. It could be legitimate (there actually were non-obvious updates), or it could be a bug.
<benwr>nckx: thanks! that is super useful
<nckx>ACTION away, apologies to those I didn't answer.
<benwr>I may try this when I get a spare moment but I also just realized I can just specify an absolute path to the server, which... is a pretty appealing alternative for the moment
<lispmacs[work]>I'm also getting the issue where downloading substitutes hangs on texlive-luaotfload-66594
<lispmacs[work]>or right after it
<cmiller>nckx: https://paste.debian.net/1301254/ ah sorry for that ugly formatting but basically after texlivetexmf it downloads another package and dies.
<peanuts>"debian Pastezone" https://paste.debian.net/1301254
<cmiller>nckx: and this happens all the time, exactly after texlivetexmf which takes 10+ minutes to download
<cmiller>nckx: regarding to why after running "guix gc", "guix home reconfigures home.scm" downloads again all those packages, I checked cm-kvirc which actually has a different hash as it seems. But I need to test again tomorrow. It is late and I am going to bed.
<cmiller>good night everyone
<davidh38>is there good free software for mind mapping
<davidh38>?
<davidh38>I was really wonderring lately, whether the is a good one. I really like one propietary solution, but if the was a good one for free, it would be awesome
<davidh38>a best would be for me where I dont have to arrange everything
<davidh38>Is it possible to have a custom layout in guix?
<lilyp>well, if you're not in the habit of laying out your graphs via graphviz, igraph or tikz, I can only recommend dia :(
<davidh38>I really would like to define my set of keys
<davidh38>lilyp kk, will try thank you a lot
<lilyp>"set of keys" meaning what exactly? That's not about keyboard layouts, is it?
<davidh38>litharge it is exactly
<davidh38>lilyp it is about that, I want to define every character
<lilyp>Hmm, that probably won't be quite so easy, but if it's within the context of X11, you can try dropping some keyboard definitions in /path/to/some/share/X11/xkb and then refer to them
<davidh38>lilyp okay,that seems like a not easy endeavour
<davidh38>lilyp do you rather use graphviz or dia?
<lilyp>oh, welcome back
<lilyp>How have you been "defining every character" so far?
<lilyp>I like graphviz, but it does come with the caveat of not being WYSIWIG :)
<lilyp>s/WYSIWIG/WYSIWYG/
<davidh38>lilyp might be exactly of what I need. I dont like, what you see is what I get
<lilyp>In that case you'll love graphviz: you simply define your mindmap as basically an edgelist and it'll automatically arrange placement and whatever.
<davidh38>lilyp thank you, I think it is exactly, what I need, I will check
<davidh38>I can also use it in emacs, right?
<lilyp>Yeah, there's a major-mode IIRC
<davidh38>lilyp sounds good, thank you for your help
<lilyp>np
<apteryx>is there something in guix to sort guil
<apteryx>sort guile modules lexicographically? perhaps in guix style code?
<apteryx>doesn't look like it
<apteryx>it's focused on *packages* definition, nothing else
<lrustand>Hello, does anyone have any experience with maven-build-system?
<lrustand>It says that it can't find the pom.xml for the package I'm trying to build, but when I inspect the build directory it is right there...
<lilyp>apteryx: not that I know of, you'd have to define that yourself
<muradm>Hi Guix
<muradm>may some one look/add #67657?
<peanuts>"[PATCH] services: connman: Add 'connman-general-configuration'." https://issues.guix.gnu.org/67657
<muradm>thats low hanging fruit :)
<isaneran>hey there goo eeks
<sneek>Welcome back isaneran, you have 1 message!
<sneek>isaneran, apteryx says: it seems to work with gexp/ungexp, thanks!
<apteryx>I'm trying to run coreutils's 'who' in a udev script, but it prints nothing
<apteryx>ACTION wonders why -- being logged in a user or root it has content
<apteryx>(that is, /var/run/utmpx has content)
<euleritian>When running ./configure in a freshly cloned guix repository, I get the following error:
<euleritian>config.status: error: cannot find input file: ‘etc/teams.scm.in'
<euleritian>This file is not included in the repository. How do I get it?
<apteryx>oh! I forgot to remove it from AC_CONFIG_FILES in configure.ac
<apteryx>could you try that?
<apteryx>it no longer uses a template (.in)
<apteryx>euleritian: ^
<apteryx>actually, it's not there anymore
<apteryx>see commit 4cf4dcb8b31274a8dfba6bae3a6826a1b521da3f
<peanuts>"guix.git - GNU Guix and GNU Guix System" https://git.savannah.gnu.org/cgit/guix.git/commit/?id=4cf4dcb8b31274a8dfba6bae3a6826a1b521da3f
<apteryx>it should work
<euleritian>apteryx: The file etc/teams.scm.in is not mentioned in configure.ac.
<euleritian>It appears in Makefile.in, though.
<apteryx>that's cruft you can recreate
<apteryx>autoreconf -vif
<euleritian>Ah! So the repo was not freshly cloned after all! Thank you! It works now.
<apteryx>also remember that freshly cloned == git clean -xfdd
<vivien>lilyp, apteryx, your mailbox may be on fire but ultimately there’s only 3 new patches for me; however since I touched a big patch series I had to send it in full again.
<vivien>from me*
<vivien>The new patches are v7 13/15 update vala (#67473), update nautilus (#67853) and gnome-bluetooth (#67852)
<peanuts>"[PATCH gnome-team 00/12] Hopefully the last world rebuild" https://issues.guix.gnu.org/67473
<peanuts>"[PATCH gnome-team] gnu: nautilus: Update to 44.3.1." https://issues.guix.gnu.org/67853
<peanuts>"[PATCH gnome-team] gnu: gnome-bluetooth: Update to 42.7." https://issues.guix.gnu.org/67852
<vivien>With this, we finally have all the updates for GNOME 44.7 (we’re still missing gnome-tour, but it’s Rust and I don’t know how to package that, gnome-logs, but it’s systemd-only, and gnome-software, but it’s not applicable)
<ieure>apteryx, What does the repeated -d argument do?
<ieure>(On the `git clean' command).
<vivien>I think the plan for gnome-team should be to merge #67582 and #67473, and hope QA can build the leaf updates, then eventually merge them. What’s your plan?
<peanuts>"[PATCH gnome-team 0/4] Update python-dbusmock" https://issues.guix.gnu.org/67582
<peanuts>"[PATCH gnome-team 00/12] Hopefully the last world rebuild" https://issues.guix.gnu.org/67473
<euleritian>ieure: I guess it does the same as a single -d, allow the removal of whole directories.
<vivien>Mmh, it looks like font-abattis-cantarell needs an update too.
<vivien>Oh no that’s good we’re newer than the release
<vivien>Oh I just noticed there’s still work to do on the dbusmock fix.
<lilyp>Is this just me or is our bootstrap borked currently?
<lilyp>(on master, that is)
<lilyp>vivien: if you have stuff to add to the dbusmock thing, respond to the thread please :)
<nckx>Well, I got stuck in a bootstrap this morning that then failed to build mes-something. I think that was only because my kernel doesn't have the full required 32-bit emulation enabled, though.
<nckx>I need to reboot with ia32_emulation=Y and retry.