IRC channel logs

2025-07-03.log

back to list of logs

<meaty>does anyone know why importing (use-modules (gnu packages debug)) in emulators.scm causes an error?
<meaty>I'm trying to package pcsx2 and it needs libbacktrace, but when I try to import its module, it breaks evaluation
<meaty>(gnu packages debug) itself seems to evaluate without error, but as soon as I add the use-modules statement everything breaks, and the error message is cryptic as usual
<meaty>btw, could someone with priviledges add the help-wanted label to #964
<sturm>anyone else recently seeing some Gtk apps not displaying properly? Eg. nautilus just shows up blank
<sturm>(blank grey left-hand menu + blank white right-hand pane)
<ieure>sturm, Not seeing that. Pulled and reconfigured around an hour ago.
<sturm>I am running wayland which may be related
<sturm>thanks ieure
<ieure>Ah, yeah, I'm on X11, not even running Gnome.
<PotentialUser-31> https://bpa.st/STGG3YBURH4IW6WZGMLJ7YAH7U
<PotentialUser-31>I'm getting an error and I don't understand it
<PotentialUser-31>I included the error in the paste
<Rutherther>PotentialUser-31: the issue is probably that there is a syntax error in that module. Try running guix repl with -L on your modules path and put this base file as argument. It should show you what is wrong
<Rutherther>meaty: emulators -> python-XYZ -> debug creates a cyclic dependency when you import debug in emulators
<PotentialUser-31>Rutherther: I can't make sense of the error message
<PotentialUser-31>scheme@(guix-user)> ,use (config systems base)
<PotentialUser-31>While executing meta-command:
<PotentialUser-31>Syntax error:
<PotentialUser-31>./config/systems/base.scm:34:2: operating-system: extraneous field initializers (+keyboard-layout) in form
<Rutherther>PotentialUser-31: you have +kryboard-layout field in your operating-system. That doesnt make sense, that field doesnt exist
<Rutherther>PotentialUser-31: since +Kryboard-layout returns a transformer-like procedure, you should apply your operating system to that, ie. "((+keyboard-layout "us") (operating-system...))"
<PotentialUser-31>Rutherther: it still fails
<PotentialUser-31>with the same error message for `guix` commands
<Rutherther>Send the source
<PotentialUser-31>`guix repl` has changed though
<PotentialUser-31>While executing meta-command:
<PotentialUser-31>Syntax error:
<PotentialUser-31>unknown location: source expression failed to match any pattern in form (define system-base
<PotentialUser-31> https://bpa.st/A76A
<Rutherther>It is completely different than what I had in my message and that is what causes the problem currently
<PotentialUser-31>Rutherther: How was I supposed to correctly apply it? 😅
<Rutherther>As I showed in my message
<PotentialUser-31>Rutherther: I still don't understand what I did differently
<Rutherther>I dont really know what to tell you... You have them in completely different order than I showed and without outer parentbeses to actually call the transformer procedure
<PotentialUser-31>Rutherther: Thank you
<PotentialUser-31>it works now
<PotentialUser-31>I didn't know the order was important
<Rutherther>The first thing after ( tells what procedure to call, while the next ones tell the arguments to that procedure
<PotentialUser-31>Rutherther ahhh
<PotentialUser-31>again, thanks
<kyoji>hey #guix, earlier I messaged about having some trouble compiling emacs from the git source with libgccjit in a guix shell. I was told to use "guix -D emacs libgccjit" but I still encounter the same problem: configure: error: The installed libgccjit failed to compile and run a test program using the libgccjit library; see config.log for the details of the failure.
<kyoji>Trying to compile the example the test program I am able to confirm that it compiles, but doesn't execute correctly
<meaty>Rutherther: how can I use packages from debug then? is there a way to make a "cutout" or something
<ieure>kyoji, See the emacs-no-x package definition, looks like you have to do some donking around with $LIBRARY_PATH.
<apteryx>how do you find things in codeberg after you've seen them once and they've vanished from your 'codeberg inbox' ?
<apteryx>perhaps there are search-foo tips worth sharing?
<Rutherther>meaty: you can use module ref resolve interface, search for it in guix.
<apteryx>probably conversations I've created or participated in would be a good start
<ieure>apteryx, There's a "Read" tab on the Codeberg notifications page.
<apteryx>ah! I was indeed overlooking that tab
<ieure>apteryx, And if you participated, it'll be in your activity that shows on https://codeberg.org when you're logged in.
<apteryx>that helps. I was overlooking that as well.
<apteryx>glad the nss thing has been sorted out by the way!
<kyoji>ieure: thanks for the lead, I'll take a look :)
<ieure>kyoji, Why are you manually compiling Emacs instead of using Guix to build it?
<kyoji>just for fun
<kyoji>guix build emacs works fine
<ieure>I know :)
<kyoji>if it matters, this is my configure call: /configure --with-native-compilation --with-pgtk
<kyoji>I don't think --with-native... is necessary anymore but I wanted to be sure
<meaty>Rutherther: thank you }:)
<vntsuyo>has anybody been able to use a custom qt5 theme on Guix?
<meaty>vntsuyo: I use one
<vntsuyo>meaty: can I see your config?
<vntsuyo>my qt5 apps can't find any external themes for some reason
<meaty>You have to make sure that qt5ct, your qt backend (e.g. qtwayland) and your qt app are in the same profile
<meaty>in the simplest case, you can put them all in a "guix shell" call
<meaty>otherwise just put all of them in your home or in your system packages
<vntsuyo>let me see
<meaty>e.g. 'guix shell qtwayland@5 qt5ct kvirc -- kvirc'
<meaty>idk if it's similar with x11
<vntsuyo>oh wait
<vntsuyo>the default qtwayland package is just for qt6 apps?
<meaty>yes, I filed an issue https://codeberg.org/guix/guix/issues/790
<meaty>it's a bit tricky
<vntsuyo>meaty: thanks a lot :)
<meaty>vntsuyo: np }:)
<apteryx>has anyone tried packaging https://github.com/nozwock/packet? a software for sharing files with android via its quick share protocol
<apteryx>(over bluetooth)
<untrusem>apteryx: I am hearing of this program for the first time :p
<untrusem>btw does lineageOS have quickshare?
<apteryx>untrusem: I just researched a bit, looks like yes: https://www.reddit.com/r/LineageOS/comments/1brrl4c/lineage_21_review_quick_share/
<apteryx>so it must be in the base AOSP free software
<untrusem>I use los, I don't see it in my rom, maybe because it is unofficial or I am on los 21
<csantosb>Morning, Guix ! Anyone to merge #555 and #538 ? They have the approval tick since 3 weeks now ...
<z572`>csantosb: I thought you had the commit access?
<csantosb>z572`: I don't; I think the committers list is somewhere in the wiki or so ?
<z572`>i think committers list is in .guix-authorizations
<csantosb>You're right. 45.
<csantosb>Speaking of the wiki, this is it: https://libreplanet.org/wiki/Group:Guix
<csantosb>I don't remember is there are plans to migrate it to codeberg, see https://docs.codeberg.org/getting-started/wiki/
<futurile>Morning all
<z572`>csantosb: i think you should join the committers
<z572`>csantosb: pushed.
<attila_lendvai>i believe guix badly needs a wiki where editing is distributed broader than the commit bit to the git repo. and the problem with the libreplanet wiki is that it contains stuff that has nothing to do with guix, and the search finds that content
<attila_lendvai>csantosb, i don't think wiki migration was considered. my impression is that most guixnicks don't care much about wikis...
<csantosb>z572`: Thanks !
<csantosb>attila_lendvai: arch or gentoo wikis, among others, are rather useful, IMO; a Guix equivalent would be a practical means of concentrating recurrent questions
<attila_lendvai>csantosb, i agree. what comes back is that there are mailing list archives... which is nowhere near as useful as a wiki, but i'm tired of arguing about stuff that is obvious from my perspective
<futurile>be a lot easier for people to edit a Codeberg Wiki, getting edit rights on the FSF is difficult. Propose it and see how people feel
<z572`>civodul: i plan update qt6 on core-packages-team, it fix qtwebengine-6 build.
<z572`>see https://codeberg.org/guix/guix/pulls/978
<adanska>attila_lendvai, i think that remains to be seen. the libreplanet wiki is a bit obtuse, so i can understand why there wasnt much activity there. having a better wiki platform that doesnt require as much oversight or needing to deal with git (like wikipedia) would lower the barrier enough, i feel, as to promote editing
<adanska>i think having a community run guix wiki would absolutely help the project on the whole, as there are concepts and quirks in guix that take trial, error and experience to learn that could be instead shared with newcomers
<adanska>as well as being a reference for more experienced guixers
<untrusem>I am in favor of having a accessible wiki
<untrusem>I wanna people to say guix wiki is as good as arch 😛
<futurile>I think there would have to be a Wiki team who cared about it - the real secret of Arch is people who work on the Wiki as their 'thing'
<csantosb>Absolutely. Arch wiki is one of the reasons I'm an Arch citizen, while a Guix foreigner.
<civodul>the Cookbook was started in that spirit: how-to-style documentation people can easily contribute to, but that would be maintained
<csantosb>ping codeberg.org ... 😥
<picnoir> https://status.codeberg.org/status/codeberg :)
<identity>"Sorry, you don't seem to have JavaScript enabled or your browser doesn't support it."
<PotentialUser-87>why do I need to input my encryption password twice in Guix?
<PotentialUser-87>For some reason, I have to enter it once before booting to GRUB, and once after I select an entry in the GRUB menu
<PotentialUser-87>I have two encrypted partitions, so I have to do it a total of four times
<PotentialUser-87>+ not to mention entering the user password as well
<hako>PotentialUser-87: here's a post that explains it: https://merrick.luois.me/posts/guix-avoid-entering-luks-passphrase-twice
<Rutherther>PotentialUser-87: I guess you mean the Guix System then, not Guix. See https://paste.debian.net/1384123/
<PotentialUser-87>Rutherther: I keep on forgetting that installing Guix on a foreign distro is possible 😅