IRC channel logs
2025-04-26.log
back to list of logs
<meati>Is there a way to update a package to an inter-release (git) version without making a really dirty commit? Addint a let block around the whole package def feels heavy-handed <meati>also, should the revision for git-version start at 0 or 1? <apteryx>is anyone using elogind-configuration in their home configuration? if so, especially if non-trivially, I'd like to hear from someone testing the v3 in bug#77806 <apteryx>meati: not super important but I'd settle to use 1. <apteryx>meati: agreed that it's obtrusive to update to a commit snaphot; that's not a bad thing usually as we should preferably use tags or releases. <apteryx>jA_cOp: there's also --target-version, though I don't remember if the crate importer has support for it <apteryx>if it does, then you can specify a partial version too using it <apteryx>or maybe that's only accepted by 'guix refresh' so far. <meaty>What is everyone else doing with their old local branches after updating/adding packages? Is there a way to tell git where they were merged into the guix repository? <ardraidi>can someone merge 73045? I got an LGTM on an earlier veriosn, so should be ready to merge. <luca>meaty: afaik `git branch -d` will error if the branch has not been merged, and will succeed if the branch has been merged <luca>though personally I have not been good at cleaning up my own branches :P <poimander>why are some guix packages older than their official version? <ruther>poimander: Usually just because no one updated them yet, there isn't as many comitters to keep everything up to date. <ruther>poimander: Sometimes it might be blocked by something else, then you would usually find an issue opened. <ruther>ArneBab: why does your patch have so many prereqisite patches? <ArneBab>because it was generated against origin master but already had the commits from the mirror pulled. <ArneBab>I can send a new version without pre-requisites. <juanpablo>Hi I've been having trouble with my bluetooth drivers. Sometimes they load and I can use them, and sometimes they don't, because the hardware is not recognized. Also lately I've added a dongle and the problem is that many times (not all) I can't power on the bluetooth (device recognized but can't start it, even with herd restart or some modprobe commands). Do you see any problem in my system.scm https://pastebin.com/RWJPdiMd? Also if <juanpablo>any ideas on how to "capture" the error messages I get at startup screen I would be grateful. <identity>juanpablo: you probably want to ask this in #nonguix <csantosb>Hi Guix ! Anyone else with a "error: failed to load 'gnu/services/virtualization.scm'" after a `guix shell -D guix -- make -j4' <csantosb>Then a cryptic "ice-9/eval.scm:293:34: In procedure abi-check: #<record-type <guix-configuration>>: record ABI mismatch; recompilation needed". Obviously, a recompilation changes nothing. <ieure>csantosb, What commit are you on? <ieure>csantosb, Are you on Guix System? <hako>csantosb: You need to remove all affected .go files, their source files aren't changed so make won't recompile them. <ruther>csantosb: note that you should be using a pure shell so that the go files from guix in your environment won't be picked up <csantosb>ieure: Guix foreign on top of Arch; latest commit. <ieure>csantosb, I agree with ruther, likely the lack of --pure means it's picking up .go files from your system install, which was built with a different Guile version. <ieure>I honestly have no idea what's going on with these. <ruther>ieure: did you see my answers to that here on IRC when you asked? <ruther>I haven't got to the bottom of it completely, but I believe the issue is cyclic import, probably coming from the usage of commencement in the clang, and somehow being triggered. Not sure what the best approach to fix it is, though. <ieure>Hmm. Maybe I need to move the stuff in wasm.scm into llvm.scm. <ieure>How would that be the problem with the autofs one though? <ruther>ieure: it's not, autofs is a different issue <ruther>ieure: for autofs, I might have a look later, but from quick look it seems to me you somehow ended up with something wrong in the config that is now trying to be serialized, but is incompatible type to be serialized. <ieure>ruther, Hmmmm. It did begin manifesting when I added a symbol->string call in one of the serializers, but I don't understand why that'd cause a failure in a completely different module. <csantosb>ieure, sure, .go; too used to .so, sorry <luca>Hi, is there a way to have shepard run something like `guix shell --emulate-fhs --pure --container pkg1 -- /path/to/bin --args` on startup? I've found examples of shepard services, but it's not imediately obvious to me how to set package dependencies and --emulate-fhs and --container and what not <ruther>luca: yes, it is possible. What do you mean by 'dependencies' here? <luca>packages, "coreutils" or "nginx" <ruther>don't forget to pass --no-cwd or change the cwd somewhere else than / <ruther>luca: I still don't understand, what do you have the shell for if not to make the package with all dependencies? <luca>I mean, yeah I guess I can just run the shell command directly. Is that the correct "guix-y" way to do it? Or is there a better way <ruther>luca: I wouldn't say using FHS environment is guix-y at all, the guix way is to properly package it so no fhs is needed. <ruther>luca: but it is possible to do it the way you outlined, yes. <luca>Ok, then I'll go do that. Thanks! <luca>FHS is unfortunate but whateves it's a container <ruther>luca: if you wanted to use FHS, but not guix shell call directly, it would be possible, but probably more involved. You would basically need to call call-with-container with setup-fhs from (guix scripts environment) <csantosb>Mumi not finding patches is something usual around ? <ruther>csantosb: depends. How old is the patch? It takes some time to propagate to it, until it does, you can't switch to that patch <ruther>usually should be a few minutes, but sometimes it can be more I think <luca>Excuse the maybe silly question, but are there any reasons to _avoid_ guix shell? As opposed to having everything done in guile? <identity>can i not use home-redshift-service-type with redshift-wayland? herd status reports that it exits with status 1 immediately, but when i run it via guix shell with the same config file it runs with no issues <ruther>luca: definitely. Note that the guix shell will probably not be the same guix instance as you used for build, it will possibly have to substitute or build the packages you need for the shell. Additionally unless you make sure to somehow gc root what you're running, if the service got stopped, and you ran gc, you might end up in a state when on next start it will be redownloading again. <ruther>identity: the issue is probably that the service doesn't have your WAYLAND_DISPLAY variable. <luca>Thanks for the clear and quick answer! <csantosb>ruther: I've been experiencing the same for a few days already, so old patches <ruther>csantosb: do you see those on issues.guix.gnu.org? <ruther>csantosb: hmm, I've never encountered that yet then <identity>ruther: so should i just make sway exec redshift-wayland when it starts instead of using the service? <ruther>identity: that is up to you, it will definitely be easier though <ruther>csantosb: oh I misunderstood, you said it can't find patches, not that it isn't finding issues like I thought you did at first <csantosb>Exactly, `mumi curent ID` does it, then `mumi am` fails to find the patches <meaty>Is there a "generic toml/yaml/config/etc." generator somewhere in guix' resources? It would be nice to have a generic way to parametrize configuration files <meaty>true, you can set that in config <cobra_>is mpdris2 broken or is it a me problem <meaty>but it iiuc Nix has functionality where you can declare almost all of your config files in their DSL and they have functions to translate that into common config file formats <meaty>which would be useful for, e.g. programs that don't support using environment variables in config <lilyp>we only recently got ourselves a json thingy for node-build-system and I'm quite sure rust-team or python-team will think of something once they need it <hanker>`/gnu/store/iw4krs0g36wqcv8ka0x1y10aigkwj8ma-profile/bin/lesspipe.sh: line 844: locale: command not found` <ruther>hanker: it's packaged wrongly, it should point to full location of locale <csantosb>sneek: later tell civodul, what about a .editorconfig in guix-science ? <luca>Anyone got an example of making a shepard service for a guix system by any chance? I can't seem to figure out how to glue the shepard example with the guix system config <identity>luca: you could look at gnu/services/*.scm files for some examples of different system services <lockbox____>meaty: guix/services/configuration.scm seems like what you want <luca>that's a really long and scarry file <luca>pretty much all of guix's services are long and extendable/configurable and complicated. So I was kinda hoping for some half assed hard coded type service I could just paste in my config for my own use, instead of doing it the right way