IRC channel logs

2025-01-20.log

back to list of logs

<ekaitz>civodul: i have a question though! the lib has to be pointed to by the browser, is there a proper way to make it easy to find in guix?
<ekaitz>i don't want to paste the whole store path
<civodul>uh, no idea
<ekaitz>.guix_profile/lib is a proper path I can use?
<civodul>i guess you could make a symlink somewhere?
<civodul>yes, probably
<ekaitz>great, i'll try that
<stochastic>Is there a way to do a `system init` with guix deploy?
<civodul>stochastic: depends on the backend; the Digital Ocean backend effectively does that, but not the SSH backend
<stochastic>SSH backend :(
<lockbox____>Fun problem rn, savannah cgit is getting ddosd, and guix bootstrap requires access to the cgit for the bins since non of the other mirrors have the current required bins
<lockbox____>rwp on #savannah also mentioned any automated usage should be using the smart-git interface - which kind of poses a chicken and egg problem wrt bootstrap
<lockbox____>Possible solution is to add a guile dumb-git walker to grab the necessary stuff for bootstrap
<lockbox____>(Also smart-git still being up is a plus as opposed to being 429'd from the ddos)
<lfam>lockbox____: Which bins are you looking for?
<lfam>Maybe the Guix mirror on codeberg can help for now: https://codeberg.org/guix/guix-mirror
<lockbox____>Oh yeah that should get added to bootstrap.scm as a mirror
<lockbox____> https://paste.debian.net/1345951/ was looking for xz
<lfam>I see
<lfam>A whole lot of mirrors that don't have the file too
<lockbox____>I also have aarch64 and riscv64 bootstrap fails for the same rn
<lockbox____>Yeah, curious no one has it
<cow_2001>can anyone merge this super simple patch? https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75413
<cow_2001>it is a documentation thing
<cow_2001>err.. oops. that is a guile bug
<jaft_r>I dunno if anyone else is using XFCE but is it expected that the power manager will overwrite the default elogind service settings or does one still need to set those oneself rather than relying solely on the XFCE power manager?
<paul_j`>Good morning! I am doing some local development requiring cross compilation in rust, and have set up a directory with my code. I need to have probe-rs installed for cargo. I am happy to do this locally, as currently there is no guix package for it. Build fails due to missing libudev. I am using guix shell to create my environment, so I searched for the libudev with `guix search`, and found rust-udev. This is located in
<paul_j`>gnu/packages/crates-io.scm, so in manifest.scm I added the module (gnu packages crates-io) to my use modules declaration and rust-udev in my packages->manifest. I am still getting "error: rust-udev: unbound variable hint: Did you forget a `use-modules' form?" The very simple manifest.scm is here: https://pastebin.com/27irrzL8#aKnHds0B - `guix shell rust-udev` without the manifest.scm installs the package ok - any hints as to what I
<paul_j`>have missed? Thanks!
<efraim>paul_j`: you probably want eudev if you need libudev
<nckx>The gnu.org Mailman UI seems to be down so some messages may be delayed.
<paul_j`>efraim: Ah - so rust-udev won't pull that in automatically?
<paul_j`>efraim: same error :(
<paul_j`>I have to go to the doctor - I'll pick up comments on my return...
<efraim>paul_j`: no such luck, the rust packages generally don't pull in their non-rust dependants currently. Without seeing the error message I'd guess you'll also need pkg-config
<paul_j`>efraim: (back from the doctor!) This is the error message: https://pastebin.com/i5ncCeFe It says "rust-udev: unbound variable", so I would be surprised if that was a result of not pulling in a dependency. I will add pkg-config and see what happens...
<paul_j`>No - still the same error message. Seems like my `(use-modules (gnu packages crates-io))' is not being seen...
<Rutherther>paul_j: there is no "rust-udev" symbol in crates-io
<paul_j`>RutherThis is the output of guix search rust-udev: https://pastebin.com/jbJA3Sdx
<paul_j`>Rutherther: ^^
<Rutherther>paul_j: yes, that means package with the name rust-udev is in there. Not that it's name of the symbol
<paul_j`>I am using the rustup channel from declantsien - perhaps it's coming from there...?
<Rutherther>only: rust-udev-0.8, rust-udev-0.7 symbols are there, no rust-udev
<paul_j`>Ok - my misunderstanding. So if I call rust-udev-0.8, it should work
<paul_j`>...and it did. Thank you.
<paul_j`>How am I supposed to understand the symbol name from the output of guix search? I thought the name: field was the correct one to use?
<Rutherther>paul_j: guix search doesn't contain the symbol name
<paul_j`>I guess the other source of confusion for me: a simple "guix install rust-udev" worked...
<Rutherther>again, that is different thing. guix install rust-udev is looking up package by specifications, so it searches for package with the name rust-udev. It doesn't have direct relation to the guile symbol
<paul_j`>Is there a syntax I can use for manifest.scm which selects the packages I want to include in my dev shell which avoids these issues?
<Rutherther>no syntax, but you can just use specifications yourself, by using specifications->manifest to obtain a manifest out of list of specifications strings
<paul_j`>Thanks - I will go and read up on this.
<jaadu>I have an issue where one fonts glyphs are taller than the other ones and its interfering with the rendering in emacs.
<jaadu>The unruly font is -GOOG-Noto Sans Symbols
<jaadu>I believed its in the same package as the font I want to use
<jaadu>*believe
<nero>what is the name of the installer "graphial" UI ?
<nero>or what is the project?
<jaadu>nero: Are you asking me?
<nero>im asking into the room
<nero>i have trouble installing guix because im in a corporate network behind a HTTP proxy, and the installer GUI restricts the textbox for the proxy URL to 12 chars or such
<efraim>it uses guile-newt to interface with newt, which I believe was previously called whiptail
<gabber>after rebuilding a VPS my renew-certbot-certificates service fails to renew the certificates - i guess i have forgotten to backup my .well-known directory with the challenges. now the service is unable to set the challenges up as they were? is this a thing? is it possible to re-initiate the service or am i thinking in a completely wrong direction?
<gabber>ACTION needs to restart sway hoping the cursor will finally reappear
<Kurayami>I've been wondering
<Kurayami>can Guix switch to something like forgejo/codeberg?
<Kurayami>I mean, the contributor survey does indicate that not a whole lot of people like the email based workflow
<rekado>codeberg is currently used by the guix-science group
<futurile>I think "switch" might be the wrong word, "add" is probably something that realistically people who like the current flow can't argue with: otherwise, people who like the email flow face "loss"
<rekado>it wouldn't be something that happens soon as more work would be needed to satisfy requirements for integration with other services and enable automation.
<rekado>this is what happens in the context of guix-science at the moment
<nero>guix system init fails with error: fport_read: Input/output error, i confirmed that both disk space and RAM are not exhausted, is there something i can do to debug?
<Deltafire>check dmesg for read errors
<JoeTriden994363>Hey guys... Joe Biden here. I've decided to step down from the White House to focus on other projects. Billionaires are a threat to democracy, so check out https://BidenCash.st to put them in the bullseye. Keep an eye on the CNN inauguration for a promo code!
<nero>Deltafire: zisofs_inflate returned -3, i guess my iso is corrupted
<efraim>janneke: Remember what I said about my C code earlier? I just found a load-bearing comment in my awk code.
<FrenchNewbie>hello i was sent here to ask a question about nonguix-system image release. Why does it not include the installation and setup of the nonguix channel in a more easy way than having to switch TTY, create the channels.scm file and modifying the config.scm ?
<FrenchNewbie>apparently newer version of nonguix include that but not the nonguix image because it was released 2 years ago and not updated since
<rekado>FrenchNewbie: better ask on the nonguix channel, they would know.
<FrenchNewbie>i asked and the response was "nonguix stuff should be talked about in nonguix channel. This is not nonguix, it's guix releases, latest guix release is two years old. After newer one is made, I presume nonguix one will be made as well"
<Rutherther>FrenchNewbie: no, you were sent here to ask about guix release, not about nonguix system image release
<FrenchNewbie>i said from the start i was using the nonguix image bro
<Altadil>FrenchNewbie: I think there’s been a little confusion. Releases of nonguix are tied to those of guix. And this is the right place to ask about guix :)
<Rutherther>FrenchNewbie: I said from the start nonguix image release MAPS to guix release
<FrenchNewbie>guix question related, why is there no update
<FrenchNewbie>all i want to do is learn and use guix, why do i have problems at the installer that i feel plural users might have encountered in 2 years and no actions have been made from the devs to fix those issues
<rekado>the lack of releases has been a source of frustration to others as well, but it's not something that's easily explained here without a lot of ultimately pointless context.
<rekado>on the plus side: you can build a new installer image from any system that has Guix as a package manager.
<Altadil>FrenchNewbie: it’s a known issue, but the "devs" are all volunteers, so we can’t force them to work on one thing rather than another. ^^
<FrenchNewbie>i'm genuinly interested in that context because i don't feel like "build your own installer" is the right answer
<rekado>it's a good answer, though.
<rekado>Guix as a rolling release doesn't really *need* a blessed installer, but it would certainly be convenient.
<rekado>I feel that the discussion of context is only fruitful when it involves people who are in a position to change the conditions.
<rekado>this discussion is already taking place elsewhere.
<rekado>ACTION has to leave
<FrenchNewbie>where ?
<FrenchNewbie>do i have to make a gitlab account to push a change request ?
<Altadil>FrenchNewbie: nope, you only need an email account.
<Altadil>Wait, I think you might be thinking of nonguix, which does use gitlab indeed. ^.^
<FrenchNewbie>yes sorry
<FrenchNewbie>i'll ask in their chat
<getstate>Does anyone configure nushell with guix home?
<getstate>did* and if so, would you mind sharing your configuration?
<K0nrad>Greetings.
<futurile>hi K0nrad
<User42>Hello i am trying to package a rust project, one sub-dependency is rust-llvm-sys that is not packaged yet. When packaging it, it builds fine (without tests),however something curious happens in the main project build. Guix complains about the hash mismatch, saying expected A,found B,the usual. However when i switch A for B, the error is now the
<User42>opposite (expected B, found A) what could be going on here?
<futurile>User42: sound weird. when you build the sub-dependency, does it's hash change when you build it? so using --check ?
<Rutherther>User42: could you send the whole error?
<User42>.. never mind i think i actually just changed the wrong hash once (parent project) and never noticed. that confusing A B thing was just a random accident from that.
<ekaitz_>hi! anyone knows which locale should I use in guix if I want it to be in english but be reasonable when it comes to weekdays, 24h format in times and all that kind of things?
<ekaitz_>C.utf-8?
<Rutherther>ekaitz_: it's probably better to just use en_US or the like for your global locale, but then you can set stuff like LC_TIME (see https://www.man7.org/linux/man-pages/man5/locale.5.html) for just time format
<ekaitz_>Rutherther: but which one should I use for that? and how do I configure that on guix?
<Rutherther>I don't understand, I've already said LC_TIME, or what are you asking now?
<ekaitz_>i mean: should I set LC_TIME=C.UTF-8, that's what you suggest?
<ekaitz_>and also, how can I make that config in my config.scm?
<ekaitz_>i have the locales configured, but there's just one locale name that I suspect affects to LC_ALL, do we have any entry to be more specific? or should I use a service that sets a global variable?
<Rutherther>ekaitz_: yes, I am suggesting to set lc time to something that will give you 24h format. You can do what you are saying, env vars. In the end the global locale just ends up in the environment service, setting LANG envvar
<ekaitz_>if i just set C locale for everything, would that affect many other things?
<Rutherther>I can't say
<ekaitz_>i'm not a computer, but neither I am an english speaker from the US
<ekaitz_>Rutherther: but thank you for the help
<ekaitz_>Rutherther: and not only for the help you gave me today. For all of it. You are doing a very good community service here.