<Kabouik>In a package definition, is there a way to inherit a package that is only in a private channel (it has its own scm, and is not in a bigger .scm containing multiple packages like compression.scm for instance. How could I use-module on this package.scm so that I can inherit from it?
<Kabouik>I plan on submitting the patches to Guix, but got a couple things to iron out first.
<stellarskylark>Hiya folks! I'm attempting to package a Rust package, wiki-tui. wiki-tui requires rust-syn 1.0.57 exactly, but its dependencies require 1.0.69 or greater, so the build fails. I'm not sure how to resolve this dependency conflict.
<ulfvonbelow>Kabouik: if it's in GUILE_LOAD_PATH, you should be able to use the same #:use-module or use-module form as usual.
<ulfvonbelow>if you can't be bothered adding it to GUILE_LOAD_PATH for now, or want to use the value that the last sexp in the file evaluates to, use 'load'
<Kabouik>Hum, it seems GUILE_LOAD_PATH is not even set.
<Kabouik>Can you explain how to use `load`? https://0x0.st/HvuX.txt this is the package definition that tries to inherit nchat. nchat has a package too, in the same private channel, and works. But I'm trying to make a -git version that would be based on master instead of releases, and nchat-git.scm complains about unbound nchat variable.
<efraim>podiki: I think I have a fix for ghc-basement on i686-linux. Instead of pushing it to master should I just push it to mesa-updates after testing it? ~1400 rebuilds on x86_64 and i686, but it should get us pandoc back on i686
<KE0VVT>jpoiret: Submitted an email to help-guix about it. I used the installer wizard.
<efraim>podiki: looks like there's more packages to fix after :/
<Kabouik>KE0VVT I got the same issue with Swaylock. It used to work fine, then wouldn't lock anymore unless I ran `chmod -s (which swaylock)`, and now it locks but won't recognize my password.
<KE0VVT>Kabouik: Swaylock locks my screen but won't let me unlock it.
<Kabouik>My config is fine I believe efraim, I didn't change it and it used to work nicely. It's just that after some update it would complain about requiring chmod -s or wouldn't lock at all, and when I run that, it locks but won't recognize the password. I'll check the link jpoiret, thanks!
<Kabouik>Somehow I believe the CC and CXX envv variables are not taken into account when building because it still seems to build with gcc, that is something I'll need to solve before submitting the main nchat.scm as a patch to Guix.
<ekaitz>mirai: it was kind of part of a broken build system so no, but thanks! i almost have it
<ekaitz>finally i decided to patch the broken CMakeLists.txt file and make it install properly
<phf>Hello #guix! I recently emailed an issue to https://issues.guix.gnu.org/issue/66801, but it hasn't appeared on the tracker even after a few hours. Could anyone inform me about the typical delay between sending an email and its corresponding display on the issue tracker? Thank you!
<mirai>the problem with using 'least-authority-wrapper' behind the scenes of the service is that not only it couldn't be opted out, it wouldn't play well with things like symlinks
<mirai>I was thinking that the better way to go on using it would be via the 'package' field of a service, where we would wrap the original package object with the least-authority-wrapper to provide fine-grained controls
<roptat>I managed to import it once, but that needed some changes in the importer, which also broke the build system, and then I fixed the build system but had to add more stuff, which broke the importer again ^^'
<cddry>ohh thanks you saved me, it's doing the right thing now
<Kabouik>I cloned my 1TB SSD onto my 2TB SSD with dd and the 2TB one booted fine, then I resized the btrfs partition on it to use the extra space. Everything worked except I allocated 3.72 GiB of unallocated space between the EFI partition and the Guix partition. I think I shouldn't have, because then on the next guix system reconfigure, it complained about now having any free space for boot. Therefore, I redid the whole dd cloning and hoped to restart from
<Kabouik>there without such mistake, but now my BIOS doesn't even see a bootable partition on the 2TB SSD. Any ideas?
<roptat>fixed the importer again, but the build system is broken again ^^'
<Kabouik>This is the 2TB drive after the dd cloning: https://0x0.st/Hvjq.png I can't figure out why it won't boot on any computer (tried two, including the one where the original drive was) if it did in a previous attempt.
<Kabouik>Also, the original drive no longer boots either, I'm clueless.
<roptat>and fixed, with a build success. hopefully, it's not too hard to fix the rest :)
<ekaitz>(I'm making the code itself so I can choose to use other variable, too)
<elevenkb>If I boot off of an installation image, is there any way to make it so that I may offload building to another machine on the same network?
<elevenkb>I'd like that, but methinks that if someone doesn't have the answer after 10 minutes of thought then they should stop thinking about it. I'm building a Guix System on a slow-ish system and have a much more powerful system available here... alternatively I can probably mount /mnt over sshfs... it's a bit weird but should be workable.
<phf>In a function, is it acceptable to have (define xxx yyy) or should it always be replaced by (let ((xxx yyy)) ...)? I've seen G.J.Sussman use the first form but it seems to be a pretty Scheme specific point.
<Kabouik>The Grub rescue guide from the official Guix manual fails for me because it breaks my connection every time I try a guix pull or a guix system reconfigure: https://0x0.st/HveN.jpg (This is a wired connection, it worked before the guix system reconfigure, and now `ip a` says eth0 is down). Any insights?
<ieure>phf, You should let-bind unless you have a specific, compelling, technical reason not to.
<ieure>phf, All Lisps strongly bias towards let-binding, not just Scheme. Not a Scheme expert, but in CL/Emacs Lisp/Clojure, the definition forms create their symbols in the package scope (or globally, for elisp) -- which opens you to concurrency bugs and pollution of the package namespace.
<dthompson>I'm not very good with qemu stuff so probably just a "I don't know what I'm doing" problem
<Kabouik>If someone knowladgeable with Grub rescue on an existing install sees my above post, please ping me. I tried all solutions I found and that one seemed to go well until the last step when the guix system reconfigure breaks all my network interfaces and therefore fails. :[
<ieugen>thanks Kabouik . either I get clipboard / file sharing to work or I can build clojure-tools outside the vm so I can sent a patch
<dthompson>I have no idea if I'll be able to reproduce it, but my context was that the xvnc service was disabled after a bad service update (I was experimenting with settings), so I reconfigured, did 'herd enable xvnc' then 'herd start xvnc' and that's when it stopped responding
<Kabouik>What could be the potential causes for Guix commands breaking network interfaces in the tty of Guix installer. Is there some way a high bandwidth could make them crash?
<civodul>dthompson: okay; i’ll look and hopefully it’ll click eventually
<dthompson>civodul: if I can reproduce I'll let you know
<Kabouik>I'll retry a guix system reconfigure to break the interfaces again and look civodul. I was just waiting for some help here because this is like the 8th time I run all the commands in tty for the grub rescue…
<Kabouik>I don't understand how this breaks, I'm wired and the connection works rright now, but then the reconfigure (or pull) fails and the device eth0 is down and doesn't get an ip when I put it back up.
<dthompson>civodul: /var/log/messages tells me that the process for the transient service exited with 1, but I have no other logs explaining why
<ieugen>elevenkb: I managed to build the package using "guix repl". but I don't know how to install my version to test
<Kabouik>nckx: would you by any chance have any idea what could kill dbus-daemon in the Guix installer (see above)? I'm sorry to ping you out of nowhere, but as far as I remember you did know stuff about the installer.
<nate1>ieugen: I'm late to your conversation, but if you need to test a custom package you built, does running guix shell with either the -f or -e flag work?
<theesm>what's the general policy on copyright headers in guix? so far I've been adding them with every change I make to a file, but it feels kinda wrong doing so for super minor changes (e.g. diffstat of 1-2loc); is there a treshold when to add them?