<apteryx>rekado: do you mean, other than fold-packages?
<greenfork>Does Guix System expect a particular partition scheme? When I try to manually change everything to a single partition, it doesn't work. But with a default scheme of /dev/sda1 - 2MB boot, /dev/sda2 - swap and /dev/sda3 - root, everything works
<kramento>I'm trying to package (locally/privately) a dotnet pre-built tar ball so that I can have guix manage it instead of installing it in opt and setting env variables manually. But is there a good way to get GUIX to add an /opt/PACKAGE directory to the PATH? The info page about search paths has clean instructions on what to do with environment variables like DOTNET_ROOT in this case but I also want to add $DOTNET_ROOT to the path. If set
<kramento>PATH in the native-search-paths field will guix to the right thing (concatenate with the others paths it manages)?
<PotentialUser-31>Hey, I need to make an OS config file that does not replace the current uboot environment, is that possible?
<PotentialUser-31>Okay turns out I don't got it, it seems like for M1 you need to build uboot from scratch, but I'm not quite sure how to then expose that to the bootloader system configuration in Guile.
<elevenkb>Has there been a discussion about upgrading =emacs-minimal= to a more recent version?
<bumble[m]>I have to sleep soon but if you have ideas on where to start
<Guest647>I am having a problem with getting common lisp, sbcl, to work. It keeps wanting libc-3.4 andI have 33. There seems to be a patch for this but it can't find the guix version. (I have guix a package manage under a ubuntu 22.04 server setup)
<bumble[m]>feel free any time to message me and I will begin following your direction
<unmatched-paren>bumble[m]: okay, cool. i'm afraid i have no idea where to start though :(
<bumble[m]>maybe not nownow but I will get around to it at least during the weekend
<bumble[m]>I would normally jump in and try to solve, but I don't know guile or guix very well and the steps to setting up the user and all with all of the unknowns together make things very overwhelming
<Guest647>So there is a problem with mixing lisp code gotten from guix and code gotten with quicklisp.
<Guest647>In cl+ssl I could load the cl+ssl/config and the set the variable to the correct .so files then load cl+ssl. However no such option is available for cl-cffi-gtk.
<Guest647>I am running on a raspi 4, so aarch_64 (thumb32 instr. set)
<seninha>Hi, the reference manual mentions an /etc/configuration/desktop.scm example configuration file on the installation image. I'm using the QEMU image, and the /etc/configuration directory is not available there. Where can I find those files (either on the QEMU image or on the Web)?
<nckx>I think those are the same as the .tmpl files in gnu/system/examples in the Guix git repository.
<nckx>greenfork: No, but your machine might. Like that tiny 'boot' partition you mention sounds like a 'BIOS boot' area, required by GRUB to boot from a GPT-partitioned device on non-UEFI systems. You can't just drop it (although you can comfortably fit it in the <1MiB alignment gap before the first real partition if you really refuse to sacrifice even a KiB—like me :-)
<nckx>Also the visual difference between 👆 and the 🖕 I very nearly sent is criminally small. In case it ever happens.
<greenfork>nckx: Yes, I had a similar idea about this Boot partition. Right now I'm at a stage where I can't manually install the system following all the instructions even after I did the partitioning via an interactive installation. Really weird, I'm trying to find out what I'm doing differently
<nckx>Any details? (Don't know if I'll be much help on fone but I'll try.)
<greenfork>nckx: `guix system init /mnt/etc/config.scm /mnt` reports all good, after that I managed to get infinite reboot or rescue GRUB mode with the error that normal.mod is not found. I think I will try a couple more attempts and try to post my steps on a mailing list
<greenfork>I don't really like the prospect of trying to explain a complicated topic of installing a system, too many things can go wrong and maybe not everyone will be willing to look into it. But maybe I will be lucky and it will just work during my attempts to document it :)
<nckx>Hmm. Sorry for the obvious question, but you did adjust your file-systems list, right? A /boot that's just a subdirectory of / should absolutely work.
<nckx>Even if / is not ext4/btrfs, but just in case: is it?
<greenfork>Yes, I have the simplest layout with a single root / in the file-systems configuration
<hjckr>hi folks, what's the best place to put in additional channels systemwide, such as nonguix/nongnu ?
<nckx>Sounds like you're describing /etc/guix/channels.scm. It is not cumulative with ~/.config/guix/channels.scm, but users who want to amend the defaults could explicitly load it.
<hjckr>ok, I will add in there, thanks, looks like a much better place than /root/.config/guix/
<nckx>I guess it depends on your workflow, but most people won't use (or even have) a root guix, so I agree.
<ham5urg>The Guix manual describes a manual LVM installation. But I can't find a hint to toggle the partition to Linux LVM (30). Is this not needed?
<tricon>I wonder if a ~/.config/guix/channels.scm skeleton for new users is merited.
<weidtn>I am running guix on a manjaro system. I think I have two different glibc versions or something. When running stuff like firefox installed with pacman i get `symbol lookup error: /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE`. The one installed by guix works.
<nckx>Skeletons are icky but sometimes necessary. But if they are not, why deal with the ick?
<apteryx>when I add "CFLAGS=-Og" (or -O0) to the configure-flags of rpm locally, the debug symbols are no longer usable it seems: No debugging symbols found in /gnu/store/aclhrhdrz06h746gjvq8sriv8rfi7ann-profile/lib/debug//gnu/store/37d4rkwydzp3gmm80hy9x7rfvnrzkmc0-rpm-4.18.0/bin/rpm.debug. Why could that be?
<tricon>nckx: They do seem to become a maintenance sinkhole in the long-term.
<apteryx>and then, to debug, I use: ~/src/guix/pre-inst-env guix shell rpm rpm:debug gdb -- rpm --debug --query --dump /gnu/store/13b9qvm1glf3lnd9ss5dyyw2j396iivb-hello-rpm-pack.rpm (or any rpm you can get your hands on)
<nckx>Indeed: ‘Note that -Og does not imply -g, it simply disables optimizations that may interfere with debugging.’ (Gentoo Wiki) (We knew, but now it's official) (Oh wait no it's the Gentoo Wiki) (Still.)
<nckx>ham5urg: You can unleash a lot of spam with ‘--verbosity=9 --debug=9’ (or lower, saner values) but this sounds like infinite recursion, which those won't catch AFAIK.
<nckx>It would catch network hangs though. Worth a shot.
<PurpleSym>Yeah, I’ve seen pandoc, rekado. Not pretty. I’m currently running builds that put everything into a :runtime output and then selectively move things that are not needed at runtime back to :out (adjusting the config files to point to the proper directories again), but only at compile-time.
<PurpleSym>Let’s see if I can get a) a dynamic build of pandoc like this and b) if it’s reasonably small.
<elb>what is the preferred way to write things like python scripts that need shebang lines without using FHS compatibility?
<janneke>ACTION usually has something like that in guix.scm
<elb>I'm trying to use a container shell to run some code that ordinarily runs on a FHS system, and it's full of things like /usr/bin/python3 and /usr/bin/awk -f
<janneke>i'm keeping a proper released package description in guix/git/<package>.scm, and in toplevel guix.scm inherit from that and use se source (local-file ".") trick
<elb>I can get them to work with -F, but that prevents me from using a manifest-controlled profile directly, and requires me to instead use the manifest; not a huge deal, but it means the manifest-declared packages track the current state of the guix system, and things like rollback are trickier
<devmsv>hi, is it possible to apply "Installing Guix on a Cluster" for Guix Systems? how so? what should I take into consideration? or better stick to Guix deploy for that kind of setup? what about sharing the profiles of users in the different machines?
<jackhill>Am I missing something: guile-gnutls's gnutls-version proc reports 3.7.2, but its graph shows it using firstname.lastname@example.org. So which is it? Is guile-gnutls using a buggy gnutls version? https://paste.debian.net/1268442/
<mirai>one is the record-type, the other is a compact shorthand for defining entries.
<aadcg>I've sucesfully installed Guix system 1.4.0 following the graphical installation. However, when I booted into the system, it's stuck in tt0 and nothing happens... I can't go to anothe tty also. Any ideas? How can I debug it?
<aadcg>I have the feeling that X is not being started (and thus gdm doesn't start), since the printed images don't show anything about it
<apteryx>so yes your 125,000+ lines of code amdgpu free software graphic drivers probably requires the magic non-free proprietary blobs to be there to even give you video; a classic unchanged since 2015 it seems
<aadcg>I can also report another difficulty I found during graphical installation
<aadcg>I have a wired internet connection and the installer was stubborn and kept telling me that there's no internet connection. I went through Guix's sources and found out that creating file /tmp/installer-assume-online simulates it
<aadcg>that was the only way I found to trick it... and indeed, then the installer was able to download all of the substitutes
<aadcg>I wonder why the installer decided I had no internet connection though...
<younder>Do you have a wireless connection which is not set up?
<apteryx>perhaps the installer should first try to reach gnu.org before trying anything at all
<nckx>akirakyle: There seems to be something missing from the question, since url-fetch doesn't care what it fetches (as long as it's found).
<Maya[m]1>akirakyle: if it is a local file, i think in guix gexp there is local-file function, you can use it in origin as it accepts any file-like object. But i dont know if buildsystems can by default untar lzip files. That would be a bit trickier
<akirakyle>nckx: Ah right, I guess I meant an unpack phase for lzip
<nckx>Ah! Just add lzip to native-inputs and be happy.
<lechner>younder / because of guix's unique way to refer to nearly everything via absolute patch into the store ("/gnu/store/...") or symbolic links thereto, you environment variables like PATH have to be exactly right. The profile is a short shell script that attempts to make those adjustments for you, but that does not always work for all software (and i have no experience with quicklisp)
<akirakyle>Yay that did the trick! And here I was grepping through guix/guix for some lzip argument to add to the package
<lechner>younder / guix home does it automatically for you
<Maya[m]1>if you are not sure, the whole build process is described in guix/build-system/gnu.scm there is quite some magic going on there!
<younder>lechner: Now that I think about it, yes, I dit run profile.
<akirakyle>Maya[m]1: Yeah the build system inheritance often gets me though since this is actually for an emacs-build-system
<nckx>The gotcha here is that some decompressors like gzip/bzip2/xz (I think that's all) are included by default; lzip/zip are not. There's code to extract both but only when they are added. It can certainly feel arbitrary but it's also not unreasonable.
<hjckr>folks, any way to resume a failed package build with guix? Similar to 'ebuild <path to ebuild that failed> merge' in GNU/Gentoo's portage?
<Maya[m]1>akirakyle: essentialy its almost all of it in gnu-build-system, and others only skip/change some phases
<nckx>I'm not familiar with the exact error message. If tar prints a useless message, that's a shame; that affects far more users than Guix.
<Maya[m]1>nckx: iirc it prints that no executable found lzip, or something similar
<Maya[m]1>it’s more of a “this is how you fix it in guix, as it is a common error”
<nckx>Not to be dismissive, but that might make a good low-hanging patch? :)
<Maya[m]1>nckx: if i already havent pending a patch to shepherdize linux containers… (the patch is written i have been procrastinating writing tests)
<Maya[m]1>but i might look into it, although there might be a “lack of design” when it comes to error reporting in general in guix and that is no low hanging fruit (i mean i think it hasnt been planned how should the errors work)
<nckx>‘Just throw exceptions’ but sure, I understand the feeling.
<tricon>Oh just dragging through the end of the work day. Yourself?
<gnucode>mirai: I got my server firewall set up. :)
<gnucode>tricon: Trying to work for a few hours. :) I'm in a public place so people keep trying to talk to me. I've got a sign that says, "A russian oligarch promised he would kill my entire blood line if I don't set up his website by 6pm. I can play after 6pm. Thanks!"
<ham5urg>I have a remote VM and try to install Guix. When I do a 'guix system init /mnt/etc/config.dcm /mnt' I get a 100% cpu-usage, a newline and a blinking cursor. As if stucked in a loop. --verbosity=9 and/or debug=9 did not helped either. The only way to get out is ctrl+c. I tried the GUI-installation but no luck either.
<weidtn>But I am not sure if I have to update something special or if guix pull and then guix upgrade is enough to get this?
<michl>tricon: on "cryptpiet" lives the pv for the volume group "piet". the later is referenced in the lvm-mapping. This is the way I understood other configs doing it. Am I suppose to reference it directly somewhere?
<michl>And, the mapped-device is referenced by the root file system
<civodul>ham5urg: it's hard to tell; it networking working fine?