IRC channel logs

2025-09-20.log

back to list of logs

<FuncProgLinux>I like the new G-exp + list style on packages, makes them much more understandable than `()
<apteryx>odd: guix substitute: avertissement : le téléchargement depuis « https://ci.guix.gnu.org/nar/zstd/xrvffhkkjpjcrmlc4912aq2acfkjd76g-elogind-dbus-shepherd-sync » a échoué : 404, "Not Found"
<FuncProgLinux>that sounds bad :s
<nomike>Hi
<ieure>Hello.
<nomike>I'm using guix home. When running `guix home reconfigure` it fails due to telegram-desktop@5.12.3. not compiling properly. It's not a package I touched, I guess it's broken in guix right now. I need to run `guix home reconfigure` to upgrade another package I'm using (prusa-slicer). How can I upgrade prusa-slicer without removing telegram-desktop (meaning: it could stay at the current version until it is fixed, I don't care)?
<ieure>nomike, You'd have to use an inferior, see section 5.9 of the manual.
<nomike>ieure, thanks. That seems to work. I just hope I can find a release where telegram-desktop was still working. It was not update itself so it looks like some dependency broke it. I will file an issue for this.
<apteryx>how do I fully restart the samba service in Guix?
<apteryx>the main samba service provides 'samba-samba: (provision '(samba-samba))
<apteryx>but that's not visible in 'sudo herd status'
<ieure>apteryx, The provision list is for decoupling service dependencies, they're like aliases.
<ieure>apteryx, So you can have network-manager-service-type which provides 'networking, and services can depend on 'networking without tightly coupling to the specific implementation which provides it.
<apteryx>ieure: I thought the first entry of provision becomes the canonical name of a service, the one seen in 'herd status'
<apteryx>(and that for the 2nd or extra provision symbols these are aliases)
<ieure>apteryx, Hmmm, you do seem to be correct here.
<ieure>apteryx, Looks like samba-service-type spawns different things based on the config, but all have the samba-prefix. So I'd restart all those.
<ieure>Seems like none have dependencies on each other, so there's not a single service to restart.
<eikcaz>outside my gexp, (receive (foo) (values #t) #t) resolves to #t if I have imported (ice-9 receive), or "unbound variable: recieve" if I don't have (ice-9 receive). Inside my gexp, I get "Unbound variable: foo". Any idea why my gexp is failing?
<eikcaz>I remove the import from my gexp, it fails then recieve is unbound, so I know receive isn't being shadowed by some other definition.
<eikcaz>s/I/If I/
<eikcaz>s/it fails then/then it errors with/
<eikcaz>*sweats*
<apteryx>ieure: thanks, I guess samba-samba is a 'meta' service that simply groups the other together
<apteryx>hence why it doesn't show up
<apteryx>acctually no, it seems it is an actual service; it starts sbin/samba
<apteryx>ah, enable-samba? defaults to #f
<apteryx>that explains it
<apteryx>so I have only the smbd and winbindd components running, which the default. It's a bit confusing.
<apteryx>also nmbd
<kestrelwx>Morning.
<abralek>Hi Guix!
<futurile>morning kestrelwx, levenson and y'all
<futurile>hmm I'm having problems pull from Guix repo using ssh, anyone else?
<kestrelwx>'swaylock' from the 'sway' home service just says "Wrong password" to any prompt ootb for me.
<identity>kestrelwx: did you add ‘swaylock’ to the system config with ‘screen-locker-service’? if not, look at ‘screen-locker-service-type’ in (info "(guix) X Window")
<kestrelwx>No, I wasn't concerned with a screen locker at all.
<Rutherther>swaylock is a screen locker. And the service can either make it setuid so that the screen locker can read /etc/shadow or it can add a pam rule for it. Swaylock uses pam rules and doesn't support /etc/shadow. Without either of those, it has no way to know your password for you to unlock your screen
<kestrelwx>Well the user would have to know that to use the 'sway' home service successfully.
<Rutherther>yup
<redacted>I'm trying to set a keybind to toggle a home service. I can use grep -q to get the status, but I'm wondering if there's a more idiomatic way to do this.
<redacted>I'd have tried a custom action, but the docs specify that custom actions can be used when the service is *running*.
<redacted>A wrapper script might just be the way to go.
<chipb>kestrelwx: if you want to keep swaylock with your user packages, you could also patch swaylock to use a preexisting system pam rule set like ‘login’ rather than its own.
<PotentialUser-6>Greetings, people. Does anyone know how I can disable (of changing) the loud beeping noise my laptop does? Even with headphones plugged in it is LOUD, and prevents me from using it on public places.
<PotentialUser-6>I am using Guix System, by the way.
<PotentialUser-6>I managed to enable "visual bell" in some places, but others do not seem to have the option (e.g. searching on LibreWolf).
<ieure>PotentialUser-6, blacklist the pcspkr kernel module.
<PotentialUser-6>ieure Thank you. I will try that.
<futurile>can't you just mute system sounds?
<PotentialUser-6>futurile Perhaps. But, when using pulsemixer with all outputs muted, that loud beep is unaffected. Is there another way to mute system sounds globally?
<futurile>through your desktop environment I guess
<futurile>but if you're so committed to cli that you're using pulsemixer I guess you're not using one
<PotentialUser-6>futurile Yeah. I understand sometimes I make things harder on myself. =(
<PotentialUser-6>Thank you for your help.
<futurile>:-)
<FuncProgLinux>I discovered the particle accelerator formulae...well not really, but I was playing with some bash scripts to see if it was possible to replicate pkgs.writeShellScriptBin from nix (saw that on a video)
<FuncProgLinux>Turns out guix doesn´t need it, you can simply call guix shell on the shebang and boom, reproducible bash scripts
<PotentialUser-6>futurile You know, I read many stories about the old Unix hackers, with big beards and big brains, that could will their machines to their will. (Computer wizards, essentially) because they knew the system intimately.
<PotentialUser-6>I suspect some people here live inside Emacs, for example!
<PotentialUser-6>I would very much like to follow on their footsteps. That is why I am trying to use Guix (and trying to use it this way): so that this knowledge and culture is kept alive in a world of friendly GUIs that don't always to what we want, and AIs that cannot always be trusted.
<PotentialUser-6>(I hope I am not sounding like a paranoid control freak '=D )
<futurile>yeah, I think probably lots of people on these irc have thought along those lines :-) In general I agree, but I would say over time I've decided to focus my "attention" - and realistically I have a few hours a week to do "fun things" (which is what computers should be). In 1996 I thought compiling my own kernel was important, these days I wouldn't sweat that as it's not fun. So whatever it is - if
<futurile>you're having fun it's _all good_
<PotentialUser-6>I understand you. Time is not enough for all things, and tough choices need to be done. My "to do" list is not shrinking, for sure. '=D
<kestrelwx>chip: It's alright, I just disabled it. I only really care for DPMS either way. I was just complaining that the service does the borked lock at all.
<jlicht>rust being needed to build git from version 3 onwards is going to be fun for the dependency graph in the future :)
<Rutherther>jlicht: I was thinking if it will be necessary to introduce sort of a git bootstrap, because git is needed for fetching at least mrustc and probably more dependencies of rust
<futurile>jlicht: are _you_ "team javascript"?
<identity>jlicht starts with j, has to be
<futurile>ACTION quietly tip toes past those PR's
<ieure>Are we building PRs now?
<jlicht>futurile: what’s up? I am a member of team-JavaScript yes.
<jlicht>(although looking at the oracle v Deno thing, we may soon have to rename to team-ecmascript …)
<ieure>Make it team-emacscript and I'm in.
<jlicht>if that’s what it takes :P
<futurile>I looked at this -> https://codeberg.org/guix/guix/pulls/771
<futurile>but then decided to not look at it
<lactose>I'm trying to build a go application and I am running into build issues. package definition: http://paste.debian.net/1397440/ | truncated build log: http://paste.debian.net/1397441/
<ieure>lactose, I don't know how Go packaging works in Guix, but the immediate problem is that the build process is running `go install', which is trying to copy things to the store item for Go itself, instead of for your package.
<ieure>Huh, https://codeberg.org/guix/guix/pulls/2832
<ieure>Neither link in that comment work, because pulls.guix.gnu.org doesn't resolve.
<lactose>I fixed the issue, I needed to set #:unpack-path as well as #:import-path. Now I need to resolve the dependencies
<apoorv569>apteryx: Hey, I saw your comment on the PR #2277, I tried updating abseil-cpp to latest release and building sfizz with that and the build fails still.
<apoorv569>The error I get is, `/tmp/guix-build-sfizz-1.2.3.drv-0/sfizz-1.2.3/src/sfizz/Synth.cpp:430:28: error: ‘StrCat’ is not a member of ‘absl’`
<omentic>hi, anyone know stuff abt guix manifests and guile hoot? i've been trying to use guix shell + a manifest to get guild wasm support going, but seemingly this is not adding the correct guild version :c
<omentic>my "sanity test" (i'm actually trying to get this working in a different repo, but am using this to debug) is https://codeberg.org/spritely/hoot-game-jam-template
<omentic>guix shell --manifest=manifest.scm doesn't put a guild with access to the compile-wasm script in my shell. instead, it's reading from .guix-profile/bin/guild, so i think i've messed up an envvar?
<omentic>but i think there's something deeper at issue too, because manually running each entry in `whereis guild` tells me that *none* of them have support for the compile-wasm script. despite manifest.scm listing guile-next and guile-hoot.
<ekaitz>omentic: are you just running guix shell -m=manifest.scm in that hoot-game-template, you mean?
<lactose>Oh dear, it looks like the dependency tree for this application goes deeper than I thought. There are two Go dependencies that aren't packaged and each of them have several dependencies that are also missing from Guix