<zoglesby>pyrotek45[m]: back to the DM topic from yesterday there is a project that uses Sway as a DM, but it is not in Guix. I have used it on other distros in the past. Maybe it is something I will look into packaging to help me learn more about Guix internals. https://sr.ht/~kennylevinsen/greetd/
<zoglesby>The guix service part being the issue, not really the package building itself.
<guixy>It looks like manuskript is incompatible with the current version of python-markdown.
<guixy>Manuskript fails to start when built from guix commit 05deb26be92c314b6a60ed2ca93596b895515ca6
<guixy>But it does start if I specify --with-input=python-markdown=hello
<lfam>zoglesby: There are actually pending patches for greetd
<nckx>I like how ‘hello’ is basically Guix for <none>. At least that's how I use it most. guixy: If nobody responds, could you send that info to bug-guix at gnu dot org? It's likely to get lost otherwise.
<zacchae[m]>Anyone have a minimal example of an email server setup? Seems like it should be as easy as pointing to SSL keys and setting domain/port, but not sure
<zacchae[m]>though actually, more generally, where do you even start to look for guix config examples outside the cookbook? I feel like I can never get search hits outside the manual (maybe this is a sign), but I see people share links all the time.
<guixy>Is hello the reason there is no officially "empty" package?
<podiki[m]>A cataloging of useful configs and general "people's guix stuff" would be nice, though for official usage would have to include free software only
<podiki[m]>while normally these things can be out of date, including a date and/or a guix describe would always allow you to look back
<zacchae[m]>yeah, it would be pretty helpful when trying to get something running to have a GARUNTEED-working starting point. Which is totally possible given the functional nature of guix
<apteryx>sneek: later tell civodul hello! re static linking to cut the dependency graph (rustc/cargo) -- at what point is it good enough? IIUC, gcc/glibc are not easily embedded; I've built llvm with 'package-with-relocatable-glibc' for example, but store references to gcc-lib and glibc remained
<ptdevnull>Is anyone else using zsh as their user shell on guixSD? I used (use-modules (gnu packages shells)) and added (shell (file-append zsh "/bin/zsh")) to my user in /etc/config.scm, and it works, but after rebooting Xfce and Enlightenment can't find any of my applications.
<ptdevnull>I'm not sure what exactly happened. Also, gdm doesn't automatically show my username anymore, but I can still type it in.
<jpoiret>the way DMs work on guix by default is that they launch the sessions through a login shell, so that everything (env vars notably) is set up properly. Thus, you need your profile files to set up the Guix env vars, and the system's /etc/profile serves that purpose
<ptdevnull>I see, why does it go in .zprofile and not .zshrc?
<ptdevnull>This might be an elementary question, sorry.
<jpoiret>zshrc is sourced whenever you launch any shell, whereas zprofile is only for a login shell
<ptdevnull>Thanks. Hopefully this works. Time to reboot.
<zimoun>mothacehe: ah you did it. Cool! I was waiting and I was checking to check the missings. And good weather this morning. ;-)
<jpoiret>been thinking of adding a way for shepherd services to fetch values from their dependencies, mostly because for user sessions many services set up environment variables and such
<jpoiret>eg dbus-daemon creating a DBUS_SESSION_BUS, compositors creating DISPLAY/WAYLAND_DISPLAY, etc...
<jpl01>I'm just curious is there some way to create a graphical live iso with guix system disk image or something else? I know that a graphical live environment is not really needed just wanted to know if something like that would be theoretically possible.
<jpoiret>jpl01: completely, and if you don't need the installer program it's even very simple
<sneek>civodul, apteryx says: hello! re static linking to cut the dependency graph (rustc/cargo) -- at what point is it good enough? IIUC, gcc/glibc are not easily embedded; I've built llvm with 'package-with-relocatable-glibc' for example, but store references to gcc-lib and glibc remained
<civodul>sneek: later tell apteryx make-bootstrap.scm has all the tricks; one of them is to call remove-store-references to make sure that binaries actually work when run in the vacuum, such as an empty container
<Mahesh>Hi I'm new to guix, I'm wondering how to apply the configuration without downloading any packages, whenever I run guix system reconfigure /etc/config.scm it downloads packages every time
<rekado_>it only downloads things it needs, e.g. when you've changed the version of Guix since the last time you ran reconfigure or when you've changed the config to require more software.
<vivien>Also sometimes it needs to download again things it has just garbage collected
<pinoaffe>hi guix, I want to start a guix shell with a package whose definition was loaded from a .scm file (aka the `guix shell` analogue of `guix package --install-from-file=package.scm`), is this possible?
<civodul>pinoaffe: hi! yes, "guix shell -f package.scm" should do exactly that
<pinoaffe>civodul: oh based on the `guix shell -h` output, I thought that'd only add the package's inputs to the environments, and not the package itself
<pinoaffe>civodul: in that case, I think it'd be a good idea to change the --help documentation of `guix shell` and/or `guix environment`, it's somewhat confusing that `guix shell -f package.scm` and `guix environment -l package.scm` do different things even though `-f` and `-l` have the same description, word for word
<attila_lendvai>when i start qemu with `guix system vm ...`, then there's a 13 second delay in the guest vm before "Freeing unused kernel image (initmem) memory". any ideas how to avoid it? can't find much online...
<florhizome[m]>I reported that sddm has been failing to work for me recently (just doesn't start). Here a logfile: http://paste.debian.net/1222421 ...what i see is that it invokes startx despite me configuring it to run a wayland session \?/
<permcu>Hi, I am trying to do same package hacking. It is a "evil" binary package and I am using a computed-file as source. The computed-file tries to do a url download - imagine (invoke wget url) - and fails because dns looup (eg. resolve.conf) is not configured/missing. I looked into the build-in origin-methods (cvs-download.scm et al), but since two hours can not figure out how they do the dns lookup. They just seem so work. Maybe one of you
<permcu>has some pointers how the build-in download methods do dns lookup or how I can do it inside the computed-file source.
<florhizome[m]>I also just checked the source and it’s not really clear to me where that „startx“ comes from.
<jpl01>Is there any precaution I could take in order to make sure that nothing malicious from a third party channels gets introduced after using guix pull?
<roptat>permcu, I think computed-file don't do network at all, so it can't resolve DNS
<roptat>permcu, you probably need to use an origin with url-fetch as the method (from guix/download.scm)
<roptat>jpl01, I don't know of any. make sure it's signed (that there is an introduction), to make sure only authorized people can make changes to that channel. But other than examining all commits yourself, I don't know what you could do. Using a channel means you trust the people who make it
<jpl01>roptat: Is there a way to examine new commits from guix itself or do i need to check every package definition on the site where the channel is hosted? Even if the channel is signed there is still a potential that someone with bad intents takes over the computer of one of the trusted committers and uses this stolen identity to push malicious changes, I just wish that there would be some way to see the changes that you're pulling from
<permcu>Thanks roptat. I think I will have to use a custom origin-method. wget was just an example. I am actually using arduino-cli to setup an arduino environment with guix. I don't want to compile it from source, because it's huge with all the custom compilers and so forth. But I also don't want to use a docker-image or similar. Inside the custom origin-method method download works. With computed-file it does not. I can still not figure out
<permcu>why, because both use gexp->derivation under the hood. But for now I accept that only origin-method can download;)
<efraim>civodul: we might be able to drop the generate-checksums phase to near 0 seconds, turns out we don't actually have to hash the individual files
<acrow>tex_milan: I'm curious if you made headway in getting rid of that annoying BT error on desktop startup? It looks to me like that bluetooth configuration file can be easily hacked in guix/gnu/services/desktop.scm.
<acrow>The function is 'bluetooth-configuration-file'. Duh.
<tex_milan>@acrow not yet, I am working all day. Will look at it this evening again.
<tex_milan>@acrow as I installed it recently I have not yet set it up for hack ability with system reconfigure...
<rekado>I'm stumped by the build failure of bwa-pssm on core-updates-frozen
<rekado>it fails with "pssm.c:(.text+0xdeb): undefined reference to `map'"
<rekado>pssm.c has a function prototype: inline int map(const unsigned char *letters, int length, int alphabet_size);
<rekado>I don't know what would provide the implementation of this procedure.
<sneek>apteryx, civodul says: make-bootstrap.scm has all the tricks; one of them is to call remove-store-references to make sure that binaries actually work when run in the vacuum, such as an empty container
<apteryx>hehe, that old config.scm had the wrong Btrfs subvolume and a different way to specify the file systems. Had to wrestle a bit at the GRUB prompt, but got it to boot again. Now to reconfigure with the correct config ^^'
<tex_milan1>no success with [Controller] in bluetoothd config, that was a dead end. but if I run manually /gnu/store/xxx-blueman-2.2.3/libexec/blueman-mechanism then when I start blueman-manager I don't get that annoying error message. so either to start it in i3 config or find out why dbus doesn't start it :)
<KE0VVT>apteryx: Yeah, but I'm used to systemd timers.
<apteryx>you'll want to pass mcron jobs to the mcron-service-type