<Cairn>I'm doing a bit of yak shaving over here. Should I make a package suffixed "-6" in order to not rename a qt-5 package? Or should I make the qt-6 version without the suffix and rename all instances of the other package to include "-5"?
<Cairn>I instinctively press tab when typing part of a name into a command like `guix build`. Takes a long while, so normally I C-c out of it. The C-c doesn't escape like I'd expect: my cursor ends up on the far-left column and I need to C-c again for it to redraw the prompt. Anyone else have this issue?
<apteryx>or more easily from debbugs-gnu-bug 57931 RET -> C -> patch RET
<Cairn>I'm using a nearly unconfigured bash. Should be easy to reproduce.
<Cairn>Seems like a pretty important task. I understand why you'd want to add them
<kenran>Hey everyone! I'm looking forward to trying out Guix (the package manager only, at first), and specifically want to check out `guix home'. I've followed https://guix.gnu.org/manual/en/html_node/Installation.html and tried executing `guix home`, but I'm getting "guix: home: command not found". Is this a version issue, or do I have to enable it first maybe?
<Kabouik>Anyone successfully using Jitsi with Icecat?
<pkill9>i think hardwarr acceleration doesnt work for me in icecat
<kenran>unmatched-paren: ok I'm back: since the first issue (guix home command not found) _might_ potentially be solved by using `guix pull`, I'll try getting that to work first. but I'm on NixOS and don't know much about how the daemon there work. Could it be that guix and nix share a socket or something?
<fiesh>Kabouik: you need some special trickery, alas I'm not at my guix laptop right now. if someone has a backlog of this channel, I explained it a little while ago to someone, but I don't remember it exactly
<fiesh>Kabouik: iirc you need an addon that sets the client agent to something jitsi recognizes and allows (Firefox)
<kenran>as for what I've done to get that output above: I've started `guix` as `/var/.../guix` (no symlink yet), and so far I've started the guix-daemon with `~root/.config/guix/current/bin/guix-daemon --build-users-group=guixbuild` for the time being. I don't suppose any of this is an issue, but it might well be!?
<kraai>unmatched-paren: Thank you for your help with packaging doctl; I've just submitted the patch.
<mroh>rekado: yeah, (license #f) doesn't work anymore on my channel.
<futurile>I need some help with profiles. I'm setting up a new machine, and have put some packages into manifest files (e.g `core-apps.scm` and `XWindows-apps.scm`. When I run `guix package --manifest core-apps.scm` guix removes some manual apps I've installed (e.g something installed with guix install ssh). Is there a way to tell Guix to ADD these apps to the profile, and not remove things already installed?
<abrenon>mroh: ohhh : ( any idea how to replace this ?
<futurile>For various reasons I want to keep the list of packages to install in separate files. But I want them all added to the default profile.
<pkill9>there's different ways of doing htis I think
<futurile>yeah - I see that's the expected behaviour. Is there a way to 'add appliations to a profile by reading from a file' :-). I mean I suppose I can do something ugly like shell redirection, but that seems broken.
<pkill9>futurile: are you willing to use a separate script to achieve it?
<futurile>pkill9: guess so - seems bizarre that you can't add multiple apps to a profile from multiple files
<futurile>abrenon: sure get your point - though the cli is an imperative system - anyway, not trying to upset anyone, just thought it was something that people would do with a package manager. I'll go the script route.
<abrenon>not with *this* package manager : ) but I think we've all reassured you that a little scripting was perfectly ok here
<antipode>... OTOH there is (eq? #f obj) etc above ...
<nashdidan[m]><florhizome[m]> "I experienced this, too" <- I experienced this, too
<nashdidan[m]>I'm using guix home to manage everyting that's not part of the bas system install, so when I need to update I run guix home reconfigure ~/.config/guix/home.scm which does not remove anything installed manually. I add changes I want to keep eventuall to home.scm.
<antipode>(remember, it's a macro, not a procedure).
<antipode>Looks like some small optimisations are possible ...
<nckhexen>florhizome[m]: It will eventually appear. Don't keep sending dupes. Debbugs isn't clever enough to spot those.
<rekado>I wonder if we could optionally bypass “Compute guix derivation…” on “guix pull” by looking for a recent build of the guix derivations on ci.guix.gnu.org.
<nckhexen>lechner: I don't see your question answered, but apologies if dupe (hah): the daemon never runs as your user. If that means you're not running the daemon, you're probably safe, but why risk it...
<nckhexen>florhizome[m]: I wish I could say that's unheard of...
<rekado>PotentialUser-28: you should never do “guix install guix”
<dgcampea>how can I confirm or check that certbot is being automatically executed?
<nckhexen>rekado: I've come to a point in my life (mellow with old age?) that I think we should just (if (and (string=? command "install") (string=? package "guix")) (error "no.")) rather than keep hand-wringing about the ‘right’ way to fix it. Would that have any chance of being accepted?
<nckhexen>(if (and foot gun) refuse) is just sensible.
<lechner>dgcampea: aside from inspecting file change times and certificate expirations, you could perhaps check recent renewals with certbot certificates
<kenran>I managed to fix my NixOS/Guix problem, but I don't actually know what fixed it. I reinstalled twice, now manage guix-daemon.service and gnu-socket.mount via my NixOS configuration, and rebootet. All of that might have something to do with it :)
<kenran>After the `guix pull` I can also use `guix home` now, so time for experimenting!
<GNUtoo>nckhexen: jgart[m]: thanks too for the infos
<GNUtoo>Thanks, I now have the manual to also close bugs, rename them, etc
<rekado>civodul: I’m looking at your license predicate thing. It’s fun!
<rekado>I always found recursive syntax definitions intimidating, but the pattern is not uncommon.
<rekado>I wonder if we could express this recursion in a higher level macro; this is like some sort of syntax fold, transforming the input syntax into neat little buckets that are processed in the final clause of the macro.
<unmatched-paren>these accept a (documentation ...) field (string), a (provision ...) field (list of symbols that are provided by the service),
<unmatched-paren>(start ...), a gexp that is used to run the service, e.g. a (make-forkexec-constructor)-created object
<unmatched-paren>and (stop ...), another gexp used to stop the service running, e.g. a (make-kill-constructor)
<unmatched-paren>sektor[m]: have a look at gnu/services/mcron.scm (scroll to the end and read upwards) for a fairly simple example
<gnucode>hey guix, I am getting closer to having an opensmtpd-service with records patch v2. I am considering adding in some tests. Would it be lame to have the tests check for sanity on the configuration? For example I have code that makes sure people don't use conflicting options, and warm the user (and error out) if they try.
<unmatched-paren>though i'm not sure whether they'll work if you use them in a service's code...
<gabber>i'm trying to cross-compile an operating-system definition for aarch64-linux-gnu. i get an `gnu/build/linux-modules.scm:257:5: kernel module not found "ahci"`. what am i missing? i am trying to get going with a minimalistically simple configuration
<f3n1x>ahò . I've installed the emacs-guix package in my Guix system. Yet, when in emacs i go for instance invoking the 'guix-installed-packages-...' command i'm getting Starting Guix REPL ... No prompt found! . What am i missing ?
<f3n1x>(let me add that a Guile REPL prompt is opened in another parallel buffer, though ^^ )
<gabber>unrelated question: is it possible that Guix's GDM won't start unless there's an active network link?
<lechner>gabber: gdm (or elogin) definitely mess do something with my network after twenty minutes or so, but i have not seen an issue without a connection. (on my first boot, for example, i did not have network i do not think.) anything is possible, though
<gabber>i'm just curious -- i'm currently fiddling wich a machine's networking setup (which doesn't fully work yet). so booting ends in a console prompt. as soon as i `sudo dhclient <interface>` the screen switches to the usual GDM login screen
<gabber>anyhow -- is there an example for dhcp-client-service type floating around? i have included it (via modify-services %desktop-services) but the interface doesn't seem to actually try to obtain a lease.
<lechner>gabber: gdm can take a few minutes to start. are you just witnessing that delay?
<gabber>lechner: it's possible -- though this is on a very powerful and fast machine (12th gen i9) -- i haven't noticed similarly long delays in my slower setups. maybe it's a coincidence, but as soon as the machine has a valid IP gdm starts
<sneek>cbaines, unmatched-paren says: sorry for the long delay, but I've finally sent a rebased and slightly amended version of the greetd-wlgreet-sway-session patch to its issue :) Thanks for reviewing it!
<GNUtoo>daviid: for my database issue, I've tried to add C.UTF-8 and I failed, but I also read in the libc manual that the C/POSIX local should be there on all computers. After updating Guix it worked though, so it was probably a bug or something like that.
<jpoiret>GNUtoo: this locale doesn't exist yet in our glibc version iirc
<jpoiret>the C.UTF-8 locale was only added very recently
<daviid>GNUtoo: ok,but i think i did suggest C.utf8, did you try tht?
<ric342[m]>They appear to be using buildFHSUserEnv in their shell.nix for openwrt
<ric342[m]>Along with the dependencies, which seems easy
<Cairn>Have tried writing it yet? Might just need a patching phase or two to get around the FHS thing
<Cairn>Could have just been easier to use it on Nix, but not impossible to go without
<ric342[m]>I may have to use on nix until I am good enough with guix
<ric342[m]>It probably isn't too hard to do on guix but considering I know very little about guix it would probably take me days haha
<Cairn>Totally understand. I also feel that way, although I'm just choosing to waste those days 😅
<Cairn>I'm attempting to update qtserialport to work as a qt 6.3.1 package. It has a phase to set an absolute path for udev so that it can understand guix paths. I can't seem to find any issue with this that would have been broken by updating, but I'm still getting a cmake error that libudev can't be found.
<Cairn>Anyone with qt experience happen to be around? I'll post to guix help if not
<lechner>nckhexen: restarting the daemon did something. now i get something on localhost, although on port 80 (and not 8080). i also get nothing from the outside on either port https://paste.debian.net/1256577/
<lechner>nckhexen: i think i just have to adjust my guix-publish-configuration
<morganw>Does anyone happen to be using stumpwm on guix? When I am trying to configure it there appears to be some functions which are missing entirely. i.e. format-with-on-click-id. I'm wondering whether that is a packaging error or whether I'm doing something wrong.
<lechner>morganw: i use stumpwm but i'm not a very sophisticated user
<lechner>nckhexen: yeah, that always help, although your advice to restart the daemon was probably indispensable