<oriansj>leet97701: we all fail until we know better and now you do
<rekado_>leet97701: it’s a pity that there isn’t any mapping from glib messages to objects in the guile program.
<rekado_>I see pretty much the same, and while they seem alarming (“CRITICAL”!) they don’t seem to cause any problems.
<rekado_>the segfault at the very end appears to be related to clean up only, because it happens after the window has been closed.
<leet97701>Ok. Without the #:prefix gi: I got messages including one that said gi had overridden quit.
<rekado_>there is a way to get more detailed logs from dbus, but I think it would be worth asking spk121 (author of guile-gi) on #guile or through an issue on the Github repo.
<leet97701>I'm just asking here to see if I can be sure I didn't mess up guix. I'll be in touch with spk121 somehow. I've been a software tester for longer than people here have been alive, so I don't want to submit bug reports that are due to my install/configure mistakes.
<rekado_>as far as I can tell we both have the same experience here, across distros.
<rekado_>there are just two things that I could imagine being Guix-specific: something relating to how dbus is run and environment variables.
<leet97701>OK, thanks yet again! I'm going to proceed with prototyping the GUI for my app (a Guile replacement for gscan2pdf).
<AlbertoBalsalm>I'm going libre on my new hardware but with the laptop I have right now that's not an option
<KarlJoad>Because the store is world-readable, how bad of an idea is it to put a pass-encrypted password into the store?
<oriansj>KarlJoad: depends on who is in the world set able to read that file and how secure the crypto on that file is
<oriansj>on an offline computer which only you have access to, it is just fine but on a system with a few hundred users it is probably a very bad idea
<oriansj>and there isn't really any good reasons to include credentials nor keys in a build
<oriansj>(^keys^private keys^ [public keys are just fine])
<KarlJoad>These are passwords, so keys is valid here. It would be my personal CI server, so only me as a user. I may just manually create a directory in /var for cuirass instead.
<oriansj>KarlJoad: so you are setting up accounts on the CI server? That wouldn't need the passwords included but just the hash of the passwords
<oriansj>unless your CI server needs to automatically login into another system.
<KarlJoad>It does not need to log into another local system. Just the hash of my password to log into my email provider's SMTP server to send build notifications.
<oriansj>KarlJoad: that would be the login credentials for your SMTP provider's server. Which I guess would be there if your provider is unwilling to do a smart relay for your server
<oriansj>you also could just setup exim4 on your CI server and send from CI@$IP and it will still get relayed to you
<oriansj>(with $IP just being the IP address of your server [you also could use the domain name of the server if you have control over that])
<KarlJoad>My provider is Google. Right now I am logging in as my user on the Gmail SMTP server, then using a different from address. A smart relay may be better, but I need to get emails flowing first.
<oriansj>oh, then smart relay is never going to be an option
<oriansj>I suggest creating a separate account for the CI service and make sure the credentials are unique to that service and it has no other access
<KarlJoad>I'm a bit limited on that front, unfortunately, now that Google is charging for new users on a domain we own under the plan we pay for. I'll just have to reuse my account. CI server won't be exposed to the Internet anyways.
<oriansj>KarlJoad: then skip Google entirely for the email and use the URL of the CI server
<KarlJoad>If I skip Gmail, then how does the email get sent?
<oriansj>KarlJoad: the same way all emails get sent; standard network protocols
<KarlJoad>What I meant was I need an SMTP server to shove the message off to, don't I?
<oriansj>KarlJoad: exim4 and postfix are SMTP server software programs that can directly send/recieve
<oriansj>all you need is a SPF record for your server so that recipients don't autoflag it as spam
<oriansj>DKIM and DMARC if you wanted to go the full route
<KarlJoad>Ahhh... Ok. I missed the step where I set up my own SMTP server. Then I would host them either on my CI server or another and point the CI notifications to the postfix server for sending.
<KarlJoad>That is probably the better long-term option, but I'm focusing on getting emails sending first.
<oriansj>oh then just use msmtp and do a post install creation of the credential file
<Luk6655>I can't seem to find how to run guix package to list all packages in a specific channel. Does anyone know the right syntax?
<oriansj>or have the credential file created by guix-home
<Luk6655>Is there some way to find out what guix reconfigure is actually doing? As in what package versions it is downloading and why? Like a log file basically?
<Luk6655>I had an error in my config(missing package), I run guix hash, and I rerun reconfigure to see if the error is still there, but now guix see to be redownload ing every single package in the system. Why? I have no idea. The config didn't change!
<Luk6655>I might have deleted the current generation, that's probably why...
<Luk6655>Guix describe shows generation 3, while guix system list-generations shows 1,4 and 5. (i deleted 2 and 3 as I thought they are broken)
<Luk6655>However, this is really confusing, because now I see the guix system list-generations output has word current next to number 5,so why guix describe says generation 3 is current?
<oriansj>unless you really mean to ask about setting up an sshd service to login to the guix system via ssh
<oriansj>in which case you would need to include the service and configure a few things
<demitasse[m]>No, I just didn't realize there was no ssh package installed. I was trying to start the ssh service with herd and it was not working
<demitasse[m]>I just installed openssh and was able to ssh into my vps. thanks for your help
<oriansj>yeah ssh and sshd are two very different things one is for connecting to other computers and the other is for allowing other computers to connecting to yours
<demitasse[m]>yeah, ok, when i did the install with the installer I chose not to allow any ssh into my guix machine, but I have a vps where I selfhost some stuff that I needed to access, so I needed ssh not sshd
<oriansj>demitasse[m]: ssh and sshd are both installed in the openssh package
<oriansj>as guix doesn't break them into separate packages
<KarlJoad>Is there something special I have to do to use gnupg to generate keys on Guix?
<the_tubular>Will the Debian move push people towards more "freedom friendly" distro ?
<KarlJoad>Ok. I managed to figure out the problem. pinentry must be installed for it to be found. You cannot use pinentry & GPG in a guix-shell. GPG looks to find pinentry in ~/.guix-profile/bin, which is not there. Is that something that should be fixed?
<Cairn>Well, I kinda think of free software a luxury for people with stable software, haha.
<Cairn>Your first thought when Debian won't work with your wifi card isn't "I should get a libre-supported wifi card" but rather "ugh, debian"
<Cairn>Kinda just joking, but Debian's done a whole lot for the community, and even if the system takes advantage of proprietary software in some ways, it's overall a great platform for giving people access to a huge amount of free software.
<Cairn>So I think this move is a totally fine one.
<the_tubular>Umm, Personnaly if I wanted stuff to "just works" debian wouldn't be my first choice.
<the_tubular>I don't have numbers, but I've seen growing number of feeling disappointed or even leaving Ubuntu.
<the_tubular>There was the oom killer stuff not so long ago, snaps, the ads, etc etc
<Cairn>My gut feeling is that Debian doesn't do much as a reaction to Ubuntu.
<Cairn>I'm too new to know anyone in the project though.
<drakonis>i think it is all too selfish to think this is anything beyond simply improving the experience
<Cairn>When I first picked up Debian some years ago, I ran into the same issue that they'd be working to fix. I didn't realize I needed a different ISO to get my display driver supported on the machine I was using.
<drakonis>in most cases, the "freedom friendly" distros are stripped down versions of other distros
<unmatched-paren>transformations can be found on line 794 of guix/transformations.scm
<Luk6655>That could be very useful. But I don't really get your example. Let's say there is local variable called vara in the package scm. Could you show an example syntax let's say i add a module like this (use-modules (mystuff package somepack)) how do I change this variable's value?
<Luk6655>that bit "with commit" , this just switches to a particular commit that has to exist, it doesn't change a local variable, or is it showing how to change variable named pkg?
<Luk6655>This is not dangerous, but it seems to be carrying on from where it failed previously rather than start from the beginning. I suspect this has something to do with it using the previously downloaded version of the package, not my locally modified version
<Luk6655>Well, that would solve the problem of unwanted updates in a middle of other work. Inferior seems to create a completely separate version of guix(no idea what they mean by version, a profile perhaps?) I imagine it is like a venv for guix
<Luk6655>I have removed my local channel (pointing it to github) and it did pull successfully
<Luk6655>I'm cloning it again, I'll redo my change and if it fails again I'll have the log
<AlbertoBalsalm>Hi I've just installed guix coming from Arch, so far I love it. I have a couple of questions. I'm installing some software through the guix package manager and I see i'ts building them from source, does guix install always build from source? Because it takes a while to install some simple software. Also does anyone know if there's a channel for
<unmatched-paren>the manual will teach you how to use services, but probably not much on how to write them
<Luk6655>BTW, nVidia has open sourced one of their drivers under gpl2, is there some philosophical problem integrating it with guix(like it is not gpl3)? If someone wanted to do it, could it end up in guix channel?
<unmatched-paren>it turns /gnu/store/(hash)-git-checkout into /gnu/store/(hash)-name-version-checkout iirc
<Luk6655>name refers to folder name, version is a numeric version
<unmatched-paren>so, it controls the name of the directory the source is checked out into
<Luk6655>I'm trying to update hashes in a package, where they refer to a particular file that's simple enough, but this part seems to clone a git repo, checkout version, and then hash what? The whole folder?
<phodina[m]>does anybody know how to rewrite the following code (pastebin diff) for `install-plan` in arguments using the new syntax? It depends on the target so the match statement must return list. Unfortunately I haven't figured out how to change it.
<phodina[m]>unmatched-paren: It will break, but this is more for learning Gexps in Guile as how to rewrite it. I agree that there are multiple targets and for other it will not work since it's just x86 assembly. So there's no point, I also list the package in the `supported-systems`
<Luk6655>There was a workaround posted there with an xrandr command that fixes it
<Luk6655>In general I'll be getting rid or downgrading gnome, because I'm having other issues with it, background not updating for example etc (this doesn't happen in gdm)
<Luk6655>I thought there was gnome 42 while on guix we have 40.4. Maybe there is some way to upgrade.
<Luk6655>I was hoping it would be the latest to be honest..
<Luk6655>Did anyone manage to get gnome 42 working on guix?
<phodina[m]>Is there a way how to select the toolchain for the packge in the `#:phases`? I'd like to build package which is for x86_64 but has some libs that are 32bits and these libs end up in the package output together with 64bit libs.
<phodina[m]>The target are open source engines like re3 and opengothic.
<phodina[m]>I know there is the `--target=<TARGET>` option when building the package, but that's from outside. Is there possibility to do it also from inside the package?
<Luk6655>What is the usual way of finding which (if any) package provides something? Specifically I'm looking for readelf and it seems it is not in elfutils
<lilyp>Luk6655: it's a mix, some programs are already on 42, others are missing dependencies that go to core-updates
<oriansj>we can create tags for programs and put them in a database but there is no way for us to encode all possible tags which would be needed to ensure people could always find what they are looking for
<lilyp>You probably got it twice, once for `guix pull' and once for `guix install', though you'll also get it if programs add new search paths.
<Luk6655>lilyp: no, echo $GUIX_PROFILE shows empty once i remove it from bashrc(that I added it there myself)
<Cairn>Hey unmatched-paren, I'm looking through your comments on the Hydroxide patches right now. Is adding a newline after the "description" keyword a newer thing? A ton of Guix's package definitions don't use that.
<Luk6655>Is there some documentation how to use elf binaries (let's say compiled on Ubuntu) under guix? How to avoid missing library paths, the executable wanting a linker in /lib64 etc?
<Luk6655>There is patchelf that seems to relate to this, but I don't know how exactly
<phodina[m]><Luk6655> "There is patchelf that seems..." <- README is your friend. Also consider using the `ldd` from `glibc` to list the shared object you'll need.
<phodina[m]>And `readelf` from `binutils` to analyze ELF files
<phodina[m]>However, it's a mess. Better to build from source :-)
<antipode>Luks6655: One method is to take the source code of the binary and recompile it for Guix.
<Luk6655>Sometimes reboot an even bigger mess... Currently I just seem to be having a problem with some library locations. I have shared libs in some /gnu/store locations, but the executable only looks in the usual /lib folders even when I set LD_LIBRARY_PATH
<Luk6655>I hate autocorrect, but can't type fast without a t
<antipode>I have sent a patch series sending all but one of the issues identified by "guix lint --checkers=tests-true": #57462
<Cairn>unmatched-paren: Actually, I'm not that curious about most of the suggestions; I'll gladly accept them. I just have two main questions:
<Cairn>Why did you switch the inputs list of go-bcrypt to propagated?
<Cairn>What about the go-vcard description sounds odd to you? I'm using the phrasing from the github repo itself, but I personally think it sounds alright.
<Luk6655>I have added mypackage that patches an elf executable. This actually works when I run it like this /gnu/store/verylongpath-profile/bin/mytool I've added it as a system package because it talks to my kernel module. What would be a correct way to add it to a user's PATH? (at least for root)
<jpoiret>Luk6655: installing it would achieve that
<jpoiret>You can use -f for most guix package operations
<Luk6655>jpoiret: but the package contains the kernel module, is it not going to clash when I install it as a user?
<jpoiret>If it's not just a one-off thing you could consider creating a local channel
<jpoiret>And the bin subdirectory should be added to path automatically
***f1reflyylmao is now known as f1refly
***darosior7 is now known as darosior
***sneek_ is now known as sneek
<f1refly>hello, I installed icedove and I'm trying to connect a caldav calendar + address book, but it tells me "could not find calendars at this location", does icedove support caldav or has support stripped out from the thunderbird base?
<Luk6655>jpoiret: unfortunately it fails saying mypackage: unbound variable, did you forget a 'use-modules' form
<Luk6655>But I do have it in use modules as (mychannel packages mypackage)
<jpoiret>Can you paste both files, redacted how you see fit, to paste.debian.net?
<Luk6655>I have an idea what might be happening, mypackage has multiple define-public mypackage-part sections, perhaps I need to use one(or more) of those names instead of package name in system services. Does this sound right?
<roptat>Luk6655, mypackage.scm is a scheme module (hence the scm extension ;)), you can't refer to it that way. I think there's an elaborate way to list the contents of a module, but I don't have an example right now
<roptat>Kolev, yeah that one is silly, but harmless :)
<Luk6655>I'm not sure why after I added mypackage to system services reconfigure now downloads hundreds of megs of python packages, texlive, webkit? and other seemingly unrelated stuff... Perhaps (gnu services Linux) has something to do with it?
<roptat>maybe because it needs to update unrelated stuff after your guix pull?
<jpoiret>it's either that or you can find the installer script directly inside the /gnu/store/ directory
<Luk6655>jpoiret: just to give a concrete example. Now I see it is downloading python-matplotlib it would be interesting to find out is it because some part of xfce depends on it, or something else etc.
<jpoiret>I use that command above to develop the installer incrementally, so i'm more used to it
***[ is now known as Noisytoot
<jpoiret>Luk6655: unfortunately we don't have that at the profile level
<jpoiret>you can do `guix graph --path package dep` to find out the path from a package to a dependency
<KE0VVT>jpoiret: Could I use OnionShare from my live system to send it to you?
<Luk6655>I heard one of biggest guix "selling points" are multiple profiles with one user. Are things like ssh key folders managed on a per profile basis, or are they separate? I'm not sure where to put my keys on guix.
<pkill9>was there a suggestion somewhere of a way of trasnparently creating wrappers for packages?
<jpoiret>Luk6655: profiles are only where packages are installed
<podiki[m]>any go packagers here? when build says no go files found...? (i tried adjusting import-path)
<Noisytoot>KE0VVT: So do many other people in this channel, but nobody can help you if you don't describe how exactly it does not work.
<KE0VVT>Noisytoot: https://bluehome.net/csh/tmp/dump.zip - Outputs. When I tell the installer to use all disk space and install onto my disk, it instantly loops back to the first prompt of the installer. It just keeps oing in a loop.
<depthstrider>Can Zig (or Clang, for that matter) be used to replace GCC via cc-for-target, or is there another way to specify a specific CC/C++ executable?
<oriansj>KE0VVT: well it only sets things up the way you tell it to
<KE0VVT>I should just read the docs and script this. Manually typing commands is blech.
<oriansj>are you trying to setup a system with a luks volume and need help?
<KE0VVT>oriansj: I always chose LUKS encryption with the installer, yes.
<oriansj>oh, I am the type who just goes to the shell and follows a written procedure
<jpoiret>mbakke: I always forget, my bad. If the offer still stands, i would appreciate it if you added it and pushed, no need to bump the thread just a new patchset
<dthompson>anyone else find this behavior weird in guix shell? 'guix shell' with no args means implicitly means '--development --file=guix.scm' when a guix.scm file is present, however something like 'guix shell -- make' does not preserve the same behavior.
<dthompson>I was trying to use M-x compile in emacs to run 'guix shell -- make' but found that I have to do the much more verbose 'guix shell --development --file=guix.scm -- make' instead.
<dthompson>to me its bad UX and something I could fix if the current maintainers agreed
<mbakke>jpoiret: OK. Would it make sense to squash the commits?
<mbakke>dthompson: 'guix shell' and 'guix shell -- foo' behaving differently sounds like a bug to me
<dthompson>mbakke: that's my take on it, too. I'll file a bug.