IRC channel logs

2026-08-15.log

back to list of logs

<pinoaffe>hi folks! If a packages description is invalid texinfo, this causes/can cause guix to fail compiling with very cryptic error messages - is that a known issue or should I open one?
<untrusem>pinoaffe: you should open, i don't think i have encountered ht
<gabber>(how) can i symlink (or make otherwise accessible) a .ssh directory in a containerized shell? i need the container to use different credentials from my user profile
<gabber>for some reason --user=GGABS --symlink=/home/GGABS/.ssh=.ssh yields "symlink `./.ssh' points to nonexistent file `/gnu/store/<hash>-profile/.ssh'"
<gabber>ahhh, --expose=.ssh=~/.ssh seems to do the trick
<pinoaffe>untrusem: aight, i opened an issue https://codeberg.org/guix/guix/issues/10577
<ekaitz>hi! I see a lot of commits by andreas removing packages. Why are we removing things like spacefm?
<ekaitz>there's no explanation in the commits
<ekaitz>the issue board says nothing
<ekaitz>guix-devel doesn't find anything when searching for spacefm
<ekaitz>does anybody know what's going on here? maybe the packages were broken in the CI?
<bdunahu>ekaitz: this one has some explanation: https://codeberg.org/guix/guix/pulls/9794
<ekaitz>bdunahu: thank you!
<ekaitz>how didn't I see it in the issue board?
<bdunahu>I don't think an issue was created for it, I only found it by searching "spacefm" (with quotes) in the pull requests tab
<ekaitz>oh yeah maybe I didn't find it because of the quotes...?
<n|Phreak>lol made a change to my home config and tried it out and "WTF was isn't this working"? --- forgot to reconfigure
<ekaitz>i did search in both boards...
<n|Phreak>Does it make sense to create a watch folder for my dotfiles and a script to automatically run reconfigure ?
<bdunahu>ekaitz: oh, maybe because the pull request is already closed! if you want to search closed pull requests too, you have to search: ' "spacefm" is:all '... on the web interface there's a "?" button near the search bar that explains the filtering
<ekaitz>i think i did that too, maybe I only did that in the issues
<ekaitz>anyway, pretty bad
<ekaitz>who is supposed to read EVERY pr?
<bdunahu>maybe a team could be created for the 'deprecation' label just as a way to receive an email for those PRs
<ekaitz>i don't think this is a dev issue but a user issue
<ieure>n|Phreak, I would not recommend that at all.
<untrusem>we really need better system for searching pr and issues
<untrusem>Raised a issue on the mailing lisn
<untrusem>list*
<futurile>We used to have 'issues' that Arun worked on - it could probably/possibly be resurrected to work with Codeberg
<ekaitz>further than that I would say we don't have traceability and nobody writes anything else than the bare minimum in the commit messages
<futurile>yeah, the groups tradition is very information rich commit messages in the standard format, but we don't have the 'why' part
<ekaitz>doing something like "The package uses unmaintained dependencies. We close as mentioned in #XXX" should be more than enough
<ekaitz>it's like we have a lot of data in the commit message but very few information
<ekaitz>i see people doing "Relates-To: guix/guix!..." which is interesting but in my opinion not enough
<ekaitz>we should at least make this uniform
<ekaitz>(that's what the GCDs should be for)
<niqc>Hello guys, i need some help a lot, is my first time using a non fhs linux system, and declarative, i'm passionate by guix, but i have problem to develop with emacs + lsps and others, i see on nix is used dev env, have some example of python environment, rust and others? I work how pentester, some example of this too?
<JazzJackalope9>niqc: Can you provide more detail on what you need help with?
<JazzJackalope9>Which problems with emacs + lsps
<niqc>I'm using mason, but mason not install or work on container without fhs
<niqc>i dont want use emacs on container
<GalaxyNova>niqc: use direnv + Guix manifest
<GalaxyNova>it is a very nice workflow, whenever I open a file in Emacs the environment is automatically loaded with all the necessary packages
<niqc>for rust for example, only install rustup? and use in fhs? i can send links here?
<PotentialUser-59>hi all, basic question about package variant: I created a variant of mesa named mesa-minimal. Now, I want that any package that is built with mesa as input uses mesa-mininal, instead. In other words, I want to replace mesa by mesa-minimal, globally. How could I achieve this?
<untrusem>grafts
<untrusem>or wait
<PotentialUser-59>I was trying to use package-input-rewriting, but it does not work. I don't think I'm using it, correctly
<GalaxyNova>niqc: No, you can declare everything you need inside of a Guix manifest, for example cargo, etc
<untrusem>PotentialUser-59, https://guix.gnu.org/en/blog/2020/grafts-continued/
<untrusem>is you are just changing the input, you can also see `package/inherit` but it would not satisfy your case
<untrusem>if*
<PotentialUser-59>untrusem, to my basic understanding, the graft option would require that I modify the original code of mesa, to add the replacement in it, is this correct?
<perryprog>I've been trying to get arm64 guix system working in a container to see if I could learn some more about it and I've been having some difficulties with the first system reconfigure post-install. While I'm still trouble-shooting it, I'm noticing each time I attempt to do a new reconfigure that guix seems to be re-downloading a bunch of packages and I'm a bit confused why they aren't getting cached. Is that something I should be worrying about?
<untrusem>yep
<perryprog>dang crazy fast response (I assume that was to something before I joined :P)
<untrusem>yes you assumed correctly
<untrusem>perryprog: can you share the logs in a pastebin
<untrusem> https://bpa.st
<perryprog>nope, 'cause I'm still on a linux console and I can't reconfigure sshd to allow root login
<perryprog>And the live CD failed to add a non-root user (was via graphical installer) so I can't use that either >.>
<perryprog>I can probably just try reinstalling, but again, I feel bad for DOSing gnu's servers with downloads I've done ten times already
<untrusem>wait are you seeing url like ci.guix.gnu.org?
<perryprog>it's stuff.guix.gnu.org, yeah
<perryprog>e.g., bordeaux
<perryprog>But I did just realize what the build failure was (I think there was a PEBCAK in me trying to look at it before), and it's during the check phase of skcms
<untrusem>those are substitutes servers
<perryprog>ah okay, good
<untrusem>you are not ddosing anything
<untrusem>its expected
<perryprog>but the test fail is something about color calibration which is rather unhelpful considering I don't actually want anything desktopy yet >.>
<perryprog>oh I can probably pastebin this now, hang on
<untrusem>what is your system defination?
<perryprog>it's basically whatever the live CD gave me. Only thing I selected during installation was to do i3, and I also manually added a user account
<untrusem>how much ram does your vm have?
<perryprog>32gb
<untrusem>damn
<perryprog>yeah I doubt that's the issue :P
<perryprog>(still trying to post the log. Was gonna use x0.at but there's no curl and I'm getting errors from the site when using wget rahh)
<untrusem>its hard to tell without the logs
<untrusem>you can install stuff i think
<untrusem>try `guix shell curl`
<perryprog>o word
<untrusem>are you able to do that
<perryprog>yes!
<perryprog>phew https://x0.at/kbEO.txt
<untrusem>which commit are you on?
<untrusem>do `guix describe`
<perryprog>f250e7
<perryprog>f250e74*
<untrusem>can you share full commit
<untrusem>I think you need to to a `guix pull` because skcms is fixed in a commit 3 weeks ago
<perryprog>OCR so might not be right f250e74dd4a4ba2e7f4a62369bf04c1b06756f9c
<perryprog>I've done guix pull a few times... .-.
<perryprog>is running guix pull as root somehow an issue?
<untrusem>yessss!!
<untrusem>you shouldn't do guix pull as root
<perryprog>well I don't really have an option!
<untrusem>just do it without root
<perryprog>I don't have any other users
<untrusem>but if you installed through a console, there must be one
<perryprog>Yes there SHOULD be one but I think it somehow didn't keep it
<perryprog>My guess is my editing of the generated config.scm clobbered it. Let me try reinstalling
<untrusem>can you try `guix build skcms`
<untrusem>perryprog, you can make a user manually you know and fix things later
<perryprog>true... I tried that briefly but then got annoyed when I couldn't login because of no shell. Though I guess I could just su as it
<perryprog>(Er, rather it couldn't find the shell)
<perryprog>same error as sent before for guix build skcms
<untrusem>yep figures
<untrusem>do `guix time-machine ea79b5d7863d03a4569ce6925c11be99d4b8a4d9 -- build skcms`
<untrusem>wait
<untrusem>it will error
<untrusem>guix time-machine --commit=ea79b5d7863d03a4569ce6925c11be99d4b8a4d9 -- build skcms
<perryprog>I do want to note that this whole time has been in a 378×118 character terminal which is killing me but in a mostly amusing way (rip my eyes though)
<ieure>perryprog, If you think you horked up your config, `guix system list-generations' will include the path to a copy of the configuration used to build each generation. You can diff your current one against one of those, or diff them to see what changed from one generation to another, or reconfigure with the same commit and a newer guix.
<untrusem>shouldn't there be a `setfont` command
<perryprog>untrusem: if there is I'm gonna cry
<ieure>perryprog, The installer should have made a user account for you, I would recommend using that, or if it didn't, reconfigure right away to add one, then use it to `guix pull' and reconfigure your system.
<perryprog>ieure: the issue is it didn't add one and I can't reconfigure :P
<untrusem>perryprog, it should be present I think
<perryprog>untrusem: oh my gosh you're my savior (re setfont)
<ieure>perryprog, Ah, I see. Surprised the installer lets you proceed without adding a user.
<perryprog>well... I did add a user
<perryprog>ieure: what I think happened during the graphical installer process is I 1) added a user as required, 2) when presented with the proposed config.scm I chose edit to remove something I didn't need (forget what exactly, but it was unrelated I promise), and 3) that maybe clobbered something somewhere?
<perryprog>I'll definitely try to reproduce it since that is a rather silly bug if that is what caused it
<perryprog>(This is the second time I've tried to set up guix from the live CD; when I first tried yesterday I didn't have any issues with it creating the user, and that time I hadn't edited the proposed config.scm)
<untrusem>why are you editing the config if you are not using nonguix or something?
<perryprog>I believe it was to remove some module I didn't need in the hope it would speed up the initial pull and reconfigure
<untrusem>I would suggest, just let it rip :P
<perryprog>Well, yes, I've learned that lesson :)
<untrusem>~rip~ install as default
<untrusem>and then make changes
<perryprog>yeah
<untrusem>lol I have been running time-machine commit for a while
<untrusem>I stopped it
<untrusem>now that you will reinstall
<perryprog>oh nah I've been waiting to see if time machine will work (it's also still going) (I forgor to pass -c to speed it up)
<untrusem>lol
<perryprog>it's partially a spite thing and partially a "fixing broken systems is fun" thing
<untrusem>lol this sentence is me
<untrusem>I have my own guixsaga
<untrusem>I documented some of it
<perryprog>time machine done; now attempting reconfigure
<untrusem>it won't work actually i think, but try
<untrusem> https://merveilles.town/@untrusem/114153979557780945
<perryprog>further deepening my desire to have a mildly cheap laptop that I can install various distros on
<perryprog>it didn't work :(
<perryprog>reinstall time
<ieure>perryprog, If you're in the USA, ThinkPad L14 Gen 1 is a solid choice, they're $100-$200 on eBay. 10th gen Intel or 4th gen Ryzen, dual SODIMM sockets, will take up to 64gb RAM.
<perryprog>Iiiinteresting.
<ieure>perryprog, Can sometimes score a L14 Gen 2 on the upper end of that scale.
<ieure>eBay ThinkPad is The Way. I ran Guix on an eBay ThinkPad for around a year until I switched to it on my daily driver.
<perryprog>I do have some ancient (ten years old I think) towers sitting around that my grandfather was using. Despite his usage just being email they were custom built by some gaming company so they have water cooling and everything, which is /very/ funny. I am quite tempted to clean one of them up and see if I can get it working.
<perryprog>Also one of them has a 750 W power supply which is just so insane
<untrusem>> it didn't work :(
<untrusem>you can just try using time-machine to reconfigure
<perryprog>o oh well I already shot the container image with a gun
<untrusem>lol too fast
<untrusem>time-machine is one shot command, its thing actually doesn't get applied to main sytem, you just built scmk... with a commit
<untrusem>for reconfigure, you have to prefix with `guix time-machine` again
<untrusem>but ohh well
<perryprog>ohh I had removed the cups service module, that's the change I made
<untrusem>ohh
<perryprog>printing is a load-bearing module I guess /s
<untrusem>lol no
<untrusem>anyway I am going to go, cya, I think ieure will be here, annoy them ;P
<perryprog>o7 thanks a bunch for your help!
<untrusem>I didn't do anything though
<perryprog>shut the up
<moksh>lol
<perryprog>Good news, the bizarre no-user-account created bug didn't happen this time. (I did try modifying a comment in the config.scm during the graphical installer to match what I did last time)
<moksh>nice
<moksh>this time really going, pkill emacs
<edrx>is this channel beginner-friendly? I am the author of this emacs package - https://anggtwu.net/eepitch.html#test-blocks - and I am trying to add some support for guix to it, but I am afraid that some of my questions will be too basic...
<sneek>Welcome back edrx, you have 1 message!
<sneek>edrx, untrusem says: I will email or your msg you on irc, I have an exam today
<edrx>I am trying to write some demo scripts that will show how to delete a previous guix installation and create a new one, as minimal as possible, and perform some very simple operations on it...
<edrx>"as minimal as possible" means without the daemon, if possible
<edrx>deleting and reinstalling are working, it seems
<edrx>and now my ~/.bashrc has a block that says "# Automatically added by the Guix install script", and has an `if [ -n "$GUIX_ENVIRONMENT" ] ... fi'
<perryprog>just found out guix is pronounced "geeks" and not "goo-icks". I'm upset by this development.
<edrx>my first very basic question is: suppose that I am running bash inside emacs - by default the envvar GUIX_ENVIRONMENT is not set. what do I need to run to add the GUIX_ENVIRONMENT, add stuff to the PATH, etc? Or: what is the manual node in https://guix.gnu.org/manual/devel/en/html_node/index.html that explains that?
<edrx>hi perryprog!
<perryprog>ACTION waves!
<perryprog>Okay, so I've just rebooted off of the live cd and I've run (as my non-root user) guix pull; sudo guix system reconfigure /etc/config.scm, but I got "uix system: error: aborting reconfiguration because commit 230aa373f315f247852ee07dff34146e9b480aec of channel 'guix' is not a descendant of d58da8a56b75af73a7b5466f7ef8a81679713aa3"
<perryprog>I've gotten this a few times and when I was trying to get Guix working yesterday it's what led me to try doing sudo guix pull, but I promise I haven't done that here
<trev>perryprog: add --allow-downgrades
<perryprog>But... surely I don't want that?
<edrx>btw, I just did this,
<edrx>(add-to-list 'Info-additional-directory-list "/gnu/store/1hjkcmzrcb0d2sf9afkmyx1pcvln97ss-profile/share/info/")
<edrx>and now this works... (info "(guix)")
<perryprog>Oh huh, the commits in question are d58da8a which was "gnu: guix: Update to 1.5.0" and its parent (which is also the other commit guix is complaining about) is 230aa37 which is what is tagged as v1.5..0
<perryprog>v1.5.0*
<Rutherther>perryprog: relog or source the pulled profile in your shell source ~/.config/guix/current/etc/profile, then run reconfigure
<Rutherther>on next logins you do not have to run that
<perryprog>... oh I totally glazed over the bit that said "hint: After setting `PATH', run `hash guix' to make sure your shell refers to `/home/perry/.config/guix/current/bin/guix'." didn't I
<perryprog>Giving that a shot 🤞
<perryprog>Well, that got me passed the downgrade error but now I'm at the same build error for sckms :(
<perryprog>It looks like this is supposed to be fixed in https://codeberg.org/enge/guix/commit/b5e720b... but that hasn't been released yet. What would be the best way to grab that commit? I assume guix pull --commit is doing a checkout, not a cherrypick?