IRC channel logs
2024-10-23.log
back to list of logs
<ekaitz>we should try to get some funding for Guix as a whole, not only individually <podiki>yes I agree, would be nice to have a nice big fund! <podiki>the closest I saw was that open technology fund one, will need to keep an eye on them as it looked like a good amount of money towards keeping projects going <podiki>yeah, other than that haven't seen much on that scale <ekaitz>other software projects are maintained because some companies use them <ekaitz>which I don't know if it is good or bad <futurile>nutcase: it's because you've called it 'rust-anyhow' - (("rust-anyhow" ,rust-anyhow-1)) - the Rust project will be calling it 'anyhow' and we translate the names to rust-<crate-name> - so it should be (("anyhow" ,rust-anyhow-1)) <apteryx>podiki: maybe we should join forces to make this dream come true? wonder if some kind of coop offering guix-related services could work <apteryx>is there a parallel graphviz 'dot' implementation? <apteryx>it's taking way too long to graph 'guix graph -t bag-emerged elixir-machete ' <apteryx>oh, changing the layout engine to sfdp with dot -Ksfdp made it complete in a few seconds <podiki>sneek: later tell apteryx happy to team up and scheme (ha) some guix-related services! <mccd>Heya, I'm trying to build a project that uses cgo... I'm running into the error that include <linux/errno.h> is not found. This hasn't happened to me on other linux distros so I'm wondering if I'm missing some package on guix? <apteryx>that's from the linux headers, which should be made available to gcc from 'gcc-toolchain' <sneek>apteryx, you have 1 message! <sneek>apteryx, podiki says: happy to team up and scheme (ha) some guix-related services! <apteryx>podiki: cool! are you fully employed at the moment? <nutcase>futurile: Thank you for the hint. Changing it to ("anyhow" ,rust-anyhow-1) does not solve the build problem, unfortunately. Also, I see many examples in guix that use ("rust-anyhow" ,rust-anyhow-1). Do I need to change anything else? <mccd>@apteryx, installing gcc-toolchain worked. Thanks! <apteryx>mccd: phew. I'm always scared some strange headers bug will rear their head. <divya>What's the way to setup an hp usb printer on guix? I have installed hplip-minimal and hplip. And I've added them as extensions in cups-configuration in cups-service-type in system configuration. <fnat>Hm, anyone using 'emacs-tempel-collection'? There's something that doesn't look completely right (to me) when building the package. 'guix build emacs-tempel-collection' terminates successfully but the produce folder in '/gnu/store' doesn't include the actual TempEl templates... <PotentialUser-50>Hi everyone! I am currently using NixOS and was thinking of switching to guix but in all the tutorials or articles that I have read till now, it seems that the recommended way to install packages is to use guix install rather than listing the required packages in the config file. So I wanted to ask is it possible to install them this way? <fnat>PotentialUser-50: Absolutely, you'd be able to list them in your system definition and have them installed for you, declaratively. <fnat>There's a few different ways of going about this, for instance you can have certain packages only installed for a particular user, as part of their Guix Home configuration - but that's optional. <PotentialUser-50>Also, if you could provide any example of these config if somebody has uploaded them to github or gitlab? <futurile>PotentialUser-50: would you use it initially as a full Linux distro (NixOS equiv) or as a package manager on top of another Linux distro? <futurile>I believe Rutherther just came from Nix and has their config online somewhere <PotentialUser-50>I currently have ongoing exams so was just looking into it, while I have a bit of a free time and think will switch after they are over. <futurile>PotentialUser-50: come back and tell us how it goes when you have the time ;-) <PotentialUser-50>futurile Yes sure! Although I may come back with a different username. This is my first time using irc! <theesm1>hi guix, is there a way to test if a service definition, like foo-service-type, builds in pre-inst-env? figured guix build foo-service-type won't do the trick as it isn't a package <civodul>theesm1: hi! you can add your service to an OS config and then use ‘guix system vm’ to run a VM with your service <theesm1>civodul: thx, will try to do that in a minute! <Rutherther>PotentialUser-50 Re guix install: note that Guix stores manifests with profiles. Those are files that can give you Scheme code to obtain the profile. So in guix even if you use guix install, you are able to move to declarative way easily. Nix doesn't do this <civodul>specifically, you can use ‘guix package --export-manifest’ to go declarative <futurile>oh interesting didn't know you couldn't do that in Nix, really should try it out (never seems to be time) <luca>efraim: Hi! In regards to #73884 did you ever get those last emails? I had to send them late due me being cheap when it comes to email providers :P. At a first look on the mailing list all of them should have made it through, but let me know if I should resend them <rekado>I'm trying to deploy to an aarch64 machine, and it always gets stuck trying to upgrade the shepherd services. <civodul>any hint in ‘herd status’ or /var/log/messages? <civodul>could be a service that is stuck in “starting” state <rekado>it's rpc.nfsd stuck in starting state <rekado>and it's the same when I shut it off and start again. <civodul>yeah, services *have to* be written to not stay in starting/stopping states <civodul>does ‘pkill rpc.nfsd’ make a difference? <civodul>looking at nfs.scm, it just spawns that command <rekado>yes, and according to pgrep it appears to be running <civodul>it’s supposed to be short-lived though, otherwise the ‘start’ procedure of that service never returns <stochastic>is there a way to add `--allow-discards ` to a cryptsetup mapping? <PotentialUser-50>Rutherther: Guix Install: That makes things a lot simpler. So, if I am understanding it correctly. I setup guix config in lets say ~/dotfiles and after that if I run guix install hello, hello package will automatically be added to ~/dotfiles? <PotentialUser-50>Also, I could not find hyprland in the official package channel. Is it somewhere else or just not yet packaged? <fnat>What's the difference between '#:include #~(cons "^src/" %default-include)' and '..."^src\\/"...' (note the additional '\\' ) in a build system's arguments? Which one should I be using? <jaft_r>nutcase: I don't know if it's because the forked version of yaml-rust that espanso uses is already packaged in the archived release or not but I did get different, non-anyhow related errors when I used git-fetch, instead. <nutcase>jaft_r: so without some basic knowledge about building rust applications, it does not seem to be an easy task to package espanso für guix, or what do you think? <nutcase>I hoped for a quite trivial package definition <jaft_r>Unfortunately, no; at least, from my perspective, having never programmed in Rust before. <nckhexen>fnat: I am far from a regexpert, but I notice that all the escaped strokes are the last character on a line, so maybe they'd be interpreted as a pattern delimiter without the escape. <jab>ok...trying to update my guix system laptop again.... <Guest85>hey guys. i'm having some trouble running guix system reconfigure, as it returns: <Guest85>ice-9/boot-9.scm:1685:16: In procedure raise-exception: <Guest85>In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #<procedure keyboard-layout (name #:optional variant #:key model options)> <Guest85>i can paste my config if you guys think it'll help <jab>Guest85: definitely paste your config pal! <jab>also take a look at /run/current-system/configuration.scm <jab>that is your latest known working config.scm. Maybe you changed your config.scm and had a tiny configuration error. <Guest85>i'm having trouble running guix system reocnfigure for quite a while now <jab>sudo guix system reconfigure config.scm is trying to build mes-boot, m2planet, and like several versions of rust. So it sounds like it is building guix from source, which is really odd and will take a super long amount of time! <jab>so I figured I'd try to build guix from source but 'guix shell --fallback -D guix help2man git strace -CPW' keeps failing. <jab>Guest85: what does "guix describe" and "guix system describe" say? <jab>how old is your system ? <Guest85>Geração 23 23 out 2024 15:11:52 (atual) <Guest85> commit: 5f4ba1c09fa0fba1ed230b80bae9f6a4d0d2d303 <jab>Guest85: so that's 23 of July 2024 ? <jab>also can you send a link to your git repo ? <jab>I don't see where you define (keyboard-layout keyboard-layout) <jab>Guest85: It's also a good idea to use a more permanent nick, when on irc. That way people know who you are. <jab>Guest32: it sounds like you have configuration error. minor syntax. The paste you have given me is not enough information to help. <jab>Do you have a link to your git repo of your config.scm ? <Guest32>jab, actually i dont. but i can show the other config file that is beeing inherited in the one i showed you <Guest32>i tried loading up these modules in the REPL to see if there were any errors with syntax, but apparently it was ok <jab>Guest85: I would really pick a more stable nick. "awesomeGuixHacker" or whatever you like. :) <Guest85>yeah hahaa. i don't know why it is disconnecting so often <jab>try moving (keyboard-layout (keyboard-layout "br")) into your config.scm <jab>don't inherit keyboard layout. <gnucode>My guix system just crapped out on me. <gnucode>hello from the Hurd running in real hardware! <Guest85>actually solved that one! but now it is saying erro: guix-home-service-type: unbound variable <Guest85>do you think it's best for me to just use the (base-system) as the default for reconfiguring? <Guest85>because i'm really not setting much in felux.scm (which is the file i run guix system reocnfigure) <gnucode>I personally do not inherit my config. <gnucode>if you have multiple machines that you are reconfiguring, it may make sense to inherit what is common between them. <Guest85>watching some System Crafters video on it <gnucode>it is a cool idea! but as you just saw, some of the guix systax cannot be inherited. <gnucode>namely keyboard-layout. Which is a macro and not a oh I forget what you call it in scheme. <gnucode>whatever (define-configuration ...) returns whatever that object is. <Kolev>dthompson: Yes. Very chill community. Good for newbies. <Guest85>i'll try one last thing, i'll comment out my service guix-home-service-type, and see if it works <gnucode>sounds good. Guest85 I personally don't use guix home. I'd like to give it a try at some point, but it seems like it's not actively being developed. (from someone who's not really a guix developer). <Kolev>I wish I could get Guix working on my Chromebook <gnucode>Kolev: would you buy an MNT reform ? <Guest85>yeah, dont know why some variables are not beeing inherited. now it's avahi-service-type <gnucode>well at least you're on track to fix it! <Kolev>gnucode: I would buy a laptop from ThinkPenguin with nonfree BIOS but Linux libre support. <gnucode>hmmm. I've bought a couple of things from them. What are the specs on their laptops ? <Guest85>gnucode hope so! i've been having trouble for quite a while now <gnucode>and I imagine their non free BIOS is as close to free as they can make it right? <gnucode>just remember the error message that you originally saw. "expected struct vtable". That's almost always a syntax error. <ieure>MNT Reform is great, I'm glad they're building those. They seem like a lot of money for the performance. <gnucode>ieure: unfortunately modern freedom respecting devices cost more. :( <gnucode>I'm using a librem 5, because I think it's the best modern freedom respecting Linux phone out there. <gnucode>$800 for 3GB RAM is fairly pricy. yup. <Kolev>There are no free phones. Go Mennonite and don't carry a phone. 😛 <Kolev>I say this from my Pixel 4a... <gnucode>Kolev: I would love to, but my job currently requires me to have a phone. If I ever get a job that doesn't need to call me 24/7, then I probably will get rid of my phone. <Kolev>gnucode: nice. Yeah everyone's lifestyle demands are different <ieure>Kolev, Pixel 4a is a good model. I have a Pixel 8 running GrapheneOS. My Pixel 5's battery swelled up. <ieure>Was thinking of trying UBPorts on a FairPhone 4. UBPorts was very close to daily-driveable on a Pixel 3a. <ieure>Bought the original PinePhone, it was never good enough to daily drive and I don't think it ever will be. <Kolev>I will be phasing out this 4a to no phone, once I have calling sorted out on my SIP phone. <dariqq>Is there an easy way to disable auto-start for a shepherd-service if the configuration does not expose such an option? My current solution is to recursivle inherit down the service-type until i am at the shepherd-service and disable autostart. But this seems really a lot of work for such a simple thing? <dlowe>ieure: I bought a Neo Freerunner and was similarly very disappointed <ieure>dlowe, At least it's an interesting shape. <ieure>They used to be weird and cool, now they're all the same boring rectangles. <[>ieure: I daily drive a pinephone. "good enough" is subjective <[>I hate non-user-replacable batteries <[>I consider it more usable than most phones, because it has an easily replacable battery <civodul>podiki: thanks for the message to info-guix! <cow_2001>civodul: got you a new package definition waiting for review! <civodul>cow_2001: i’m not on the Emacs team, so that’ll be someone else :-) <podiki>civodul: welcome! i only did the easiest thing :) <fnat>nckhexen: Yeah, that makes sense. I sent a oneliner patch earlier and I did include the escape '\\' - although I just kind of wild-guessed it. :) <futurile>Q: does anyone know how I get permissions to add pages on Libreplanet (in the Guix area) ? <futurile>Q: it makes no sense having the 'guix.social' stuff on the patch review page, but I can't add a page or rename it <futurile>that's not a Question, that's a Statement but whatever <eikcaz>Is it possible to create a new store item as part of the creation of an initial store item? I want to store some metadata about a git repository as it is cloned via git-fetch before the .git folder is deleted. Since this sounds suspiciously like a "side-effect", I'm guessing this is not possible? <eikcaz>The alternative is that I save the metadata in the same store item, but that would likely break some packages if an extra file is in the source