<anon2029>I was going to ask what the plan for packaging Emacs 27 was, but it seems to have been done in the last day or so. But why was there a delay? I thought Guix (System) was rolling release by default
<lfam>anon2029: Guix is a rolling release distro, but that doesn't mean it offers same-day updates, or even any kind of schedule
<lfam>Usually, if a package is not getting updated quickly, it means one of two things. Either nobody cares enough to do the work, or the work is hard
<lfam>For Emacs, the work is hard, as in this case there was a miscommunication about the update process and a lot of dependent packages were broken
<nckx>pkill9: If there's a good reason to package a newer ytdl for the time being (like, apparently, the developer taking a holiday, which I'm sure they deserve) we could do it. If significant things are broken.
<anon2029>lfam: would there be a way to define my own Emacs package and build it from source? I don't use Guix for Emacs packages and this experience has not encouraged me to rely on the main Emacs package if it's going to be held back by all of its Guix-exclusive dependencies (which wouldn't be the case with straight.el)
<nckx>I wonder what a raw system without elogind does on laptops when you close the lid.
<nckx>I'd assume (hope) nothing, but I've not actually tried.
<vagrantc>wow, and now this other machine is kernel oopsing and panicing
<nckx>raghavgururajan: Wrapping orca with an LD_LIBRARY_PATH containing liblouis should also work (grep gnu/packages for LD_LIBRARY_PATH + wrap-program for many examples). I prefer substitute*ing _loader, but both approaches are OK.
<civodul>lfam: tx, though we need many more of those!
<sneek>raghavgururajan, nckx says: Patching to ‘liblouis = _loader["/gnu/store/58ihlq6rzqz8iqyp7v5fk7f34r004f0v-liblouis-3.14.0/lib/liblouis.so.20"]’ works. Now it complains that I'm not running at-spi-bus-launcher, which is 100% true.
<pkill9>there are kde packages available, but not the full desktop environment, because nobody has desired to add it
<pkill9>or, nobody who desires to add it has been able/bothered to
<anon2029>I'm doing a reinstall of Guix on another laptop, just a barebones TTY at the moment. Can anyone recommend some config.scm examples for users of window managers? Or good config.scm examples in general. It would be pretty nice to install all my usual programs in one fell swoop (in particular, both Icecat and fonts for it to use), but I'm not really sure which modules the various programs fit into, or the distinction between use
<anon2029>and use-package-modules. Are there inventories of modules and their contents available?
<xelxebar>str1ngs: Would you be able to build firstname.lastname@example.org, but with CONFIG_DEBUG_INFO enabled?
<xelxebar>I'm looking at gnu/packages/linux.scm to see if there's an easy way to enable that option.
<xelxebar>Okay. I think I could give you a patch to gnu/packages/linux.scm capable of building the kernel with debug syms
<mitchk>I'm getting consistent Xorg lockups - and I'm tailing logfiles in /var/log/ while it locks and I don't see any fresh errors come across. Sometimes Xorg will come back if I let it sit, othertimes I have to restart xorg-server
<mitchk>tailing through remote ssh, is there any other logs I should be looking at?
<peanutbutterandc>I am trying to add a wrap-program phase... where should it go in the %standard-phases? After 'install? o.O
<rekado>peanutbutterandc: yes, that’s a good choice.
<str1ngs>xelxebar: here's a hack for CONFIG_DEBUG_INFO #t. this adds the '("CONFIG_DEBUG_INFO" . #t) pair to %default-extra-linux-options. my set! expression is not advisable but it works for one offs like this.
<guix-vits>Hello Guix. I want to use a make-linux-libre* in my config.scm. I included the (gnu packages linux) in my config. But when i try to use this variable, i gett error and suggestion: (use-modules (gnu packages linux)). I tried define with @@, as in Guile Manual, and that works. But manual tells not to use @@ (only for last resort and debugging). What to do?
<str1ngs>guix-vits: is the kernel only going to be useful to you?
<guix-vits> str1ngs: i just want to use a #:extra-options for my customizations. I'll report the things (as was suggested) that seems universally useful.
<guix-vits>#:extra-options is a lot better (?) that have a "alist something replace" with edited copy of kernel config.
<str1ngs>well yes but keep in mind if you are creating a kernel that other can use to might be better to add it to (gnu packages linux) or create your own channel
<roptat>raghavgururajan, sorry it's been too long, the paste doesn't exist anymore it seems
<str1ngs>guix-vits: this might not work you sill need @@ :(
<guix-vits>str1ngs: Yes it seem to work. I think to place the (set-current-module ... and (define linux/simon at the top of the config.scm. Should i somehow unset it after (what was set with set-current-module)?
<pkill9>civodul: i don't suppose you'd know where to put a hook in guix code to execute a command before adding to the store with local-file? so it would execute the command when guix builds the source
<pkill9>I want to add bleeding edge packages that have source set to a local git repository, and have it execute `git pull` on the source repository before doing what 'local-file' does
<oliverp>any advice on backing up a Linux system before attempting a fresh install of Guix?
<pkill9>and the stable release is a month old and doesn't work with youtube
<oliverp>there seems to be a few but conflicting options available..
<nckx>oliverp: Depends entirely on which parts you want to back up and how you want to restore them later. If you want to roll back as if the installation never happened, programmes like Clonezilla can efficiently (compared to dd) back up your entire disc including partition tables & file system layout. I don't know how easy it is to extract specific files out of such an image.
<nckx>If you just want to save ‘your files’ now to copy them to the new installation later: I just use rsync, or even tar | zstd | nc (faster but extracting individual files is much slower), to my home server.
<nckx>I wouldn't use a ‘real back-up’ solution like Borg for this, since they are intended for ‘real’ (scheduled, incremental) back-ups.
<oliverp>nkcx: thanks for your answer: I think mostly intrested in backing up the /home and the most important systemfiles
<nckx>If you have the space & the bandwidth I'd just rsync/tar/whatever your entire root filesystem (as root so it can read everything, and maybe excluding /gnu and /var/guix to save time). You'll back up to much but no stress of finding out you forgot something later. Worth it.
<PurpleSym>civodul: No, my actual plan was to modify the install script, so it takes an arbitrary tarball. And I wanted that tarball to contain the git HEAD of guix, so I don’t need to run `guix pull` after installing.
<guix-vits>civodul: Hello. Can be Guix package manager packed in `guix pack`?
<roptat>although I'm not sure if git submodule will give you something that's reproducible
<peanutbutterandc>roptat, It's a certain tag that I am building from. And I was reading this morning about git submodule and it seems it only downloads the submodule at a particular commit (as defined by the devs of the superset repo)... so maybe?
<peanutbutterandc>Okay... I am slightly confused. It seems I can (invoke "git") inside of (origin (snippet ...))... but then I checked the (envion) inside of it, and it seems that it has the same environment as my machine. So essentially, it is invoking git from 'outside' - my normal PATH
<leoprikler>they are usually either first/third party software, that often deserve their own packages
<leoprikler>only rarely it's one project scattered over many submodules, that don't pull in anything else
<peanutbutterandc>leoprikler, I am currently trying to do something like: 1. have `git` as a native-input, 2. add a new phase before the very first phase, in which invoke git submodule in (assoc-ref %build-inputs "source")... Hmmm... I should probably consider using the submodule as an input then.... hmm
<peanutbutterandc>Maybe I should request a feature? for (guix git-download) to make provisions regarding git submodules too? Perhaps a git-fetch* or git-fetch-recursive method, that also initializes all submodules?
<joshuaBPMan>civodul: thanks again. I'm going to give that a try.
<peanutbutterandc>I am not sure what I am doing wrong, but the git-checkout does not seem to have it's submodules initialized. Can somebody please take a look at this package definition? https://termbin.com/9ped
<peanutbutterandc>It fails during 'configure phase. But currently I am only worried about (git-reference not respecting (recursive? #t)
<joshuaBPMan>peanutbutterandc: are you sure it is not recursive? just guessing
<joshuaBPMan>nojr: is it installed via guix ? as guix install emacs-counsel-mode ?
<peanutbutterandc>joshuaBPMan, Affirmative, captain. I have a separate checkout on my machine, and I manually did the submodule init and src/lib/libfoo becomes populated with a few things, however, /gnu/store/this-package.checkout does not have the same directory populated
<joshuaBPMan>peanutbutterandc: I am hoping to turn it into a business. I think the reason the linux kernel works so well, is that most of its developers are paid to develop it. I think the Hurd would probably make great strides if we could turn it into a business.
<joshuaBPMan>peanutbutterandc: what are you hoping to make with slow mode video?
<peanutbutterandc>joshuaBPMan, Whoa. Hurd is ready for production use already? o.O I thought guix-hurd still had a long way to go... but this seems like a super cool thing nevertheless
<peanutbutterandc>joshuaBPMan, I poked around with the program once. And now I just want to use it to learn guix packaging. But it's a really great program. I don't know. Probably some random slowmo video
<peanutbutterandc>so if 9ped.scm is in ~/Documents, `guix build ~/Documents --verbosity=2 slowmovideo`
<nojr>I just read the docs at ivy's GH page and ther is no indication counsel-mode is removed, yet I cannot invoke it in my init file, this happened right now after I upgraded all my emacs related packages