<apteryx>should pkg-config files be installed to a "lib" output when such is used?
<apteryx>otherwise it seems ackward to have to propagate both (when listed ina pkg-config Requires directive)
<podiki[m]>robin: thanks for that FHS stuff, will take a look
<podiki[m]>and texlive download was very slow for me too
<podiki[m]>could be that lualatex is bugged in core-updates-frozen, I'll see about a bug report if I don't figure it out
<apteryx>can't the copy-build-system install to a different output?
<apteryx>I tried giving it an absolute path; but it silently missed installing it there
<brendyyn>Anyone here succeeded in running btrfs-convert on a Guix System root that had ext4?
<efraim>apteryx: It looks like it hardcodes "out" in guix/build/copy-build-system.scm:136
<lilyp>apteryx: not currently, you might want to patch it so it does
<apteryx>'pkexec must be setuid root' in a build, while doing this: Installing /tmp/guix-build-colord-1.4.5.drv-0/colord-1.4.5/data/figures/colorhug2-attach.svg to /gnu/store/pdc63h2k677plcvaxpdhjk6fyv0nlw4m-colord-1.4.5/share/colord/icons
<rekado_>I see texlive mentioned in the logs, so I’d like to remind everyone that you probably don’t need the big “texlive” package. There are lots of packages starting with “texlive-” that can be installed together into the same profile, so you can pick just the subset of LaTeX that you really use.
<rekado_>I’m again running into trouble with ibus on gnome…
<rekado_>I can use the pinyin input method in Emacs via ibus, but not in any of the browsers nor in the gnome terminal.
<rekado_>I’m about to abandon gnome (I also don’t like sticking with this old version), so I wonder: does this work better elsewhere?
<rekado_>it’s a pity that input method support has regressed so much. This used to work much better once.
<apteryx>rekado_: gnome 40 is on core-updates-frozen, if I followed correctly
<bost>Hi. I'd like to try out the guix home, but I have a problem runnig `guix home reconfigure ...`: "No such file or directory: " export HISTFILE=$XDG_CACHE_HOME/.bash_history". Does anybody know what to do about it?
<bdju>I see zsh-syntax-highlighting was packaged. how do you enable it?
<zacque>*Newbie* question: How to write the Makefile install target for Guix package? I've tried `cp <NAME> /usr/local/bin/<NAME>`, `install -c <NAME> /usr/local/bin`, and `install -c <NAME> /usr/local/bin/<NAME>`, but keep getting "No such file or directory" error.
<bdju>/usr is pretty much not used at all on guix. the only thing I have in my /usr is a /usr/bin/env symlink
<bdju>can't answer what to put instead as I haven't done any real packaging work
<bdju>but you can use `guix edit packagename` to check the recipes of existing packages and maybe figure it out by looking at similar programs
<nckx>zacque: What do you mean by a ‘Makefile install target for Guix package’? If you're writing the software itself, i.e., not only writing a Guix package definition for software written by someone else, please don't hard-code /usr/local at all (this is general advice, not related to Guix).
<zacque>bdju: Thanks, I've tried looking into the "hello" package, but even it is beyond my level of understanding...
<nckx>Use a variable: ‘prefix ?= /usr/local’, then use that variable everywhere you call cp, install, etc.
<brendyyn>zacque, I think that you need to use PREFIX
<nckx>Then, in the Guix package, use (arguments `(#:configure-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))))).
<nckx>Dammit. #:make-flags, not #:configure-flags.
<zacque>nckx: Hi nckx, oh, okay... so it's something like $PREFIX/bin for my install target?
<brendyyn>--prefix is already set to the output in gnu-build-system
<nckx>If this is a third-party package & ‘prefix’ doesn't work, try ‘PREFIX’ (the BSD equivalent).
<nckx>Why do you have ‘efi1’ and ‘efi2’ and what do they mean?
<nckx>So the traditional set-up is that you have one vfat EFI System partition, shared between all your operating systems (if you have more than one), and it's what your firmware uses to boot, and it's mounted at /boot/efi.
<bost>nckx: Good question. I remember a bit, that I had to play with grub settings after reconfiguration... And I thought it will get fixed in the meantime. AFAIR that was in August.
<nckx>I say traditional but it's also just what's normal and expected. Of course you can specify (targets (list "/boot/efi1")) — or efi2, or even both — in your system configuration, but I hope you understand why your system is weird, because I don't ☺
<bost>nckx: yep. it was 26th of August and I remember I found it also weird that I have to edit the grub.cfg to get a bootable machine. Whatever. I changed the bootloader-configuration target to /boot/efi1 and successfully reconfigured. I'm rebooting my computer now. (I should be back in about 5 minutes, otherwise I'm screwed I guess... ugh.)
<robin>GRUB could use a little more documentation about EFI system partition size. i had to refer to https://wiki.archlinux.org/title/EFI_system_partition and wp (obviously it doesn't have to be huge the way it's currently used, but there are limitations on FAT32 partition sizes based on disk sector size, etc.)
<robin>i wonder if EFISTUB and other grub alternatives might be interesting; it looks like kernel+initrd is <30MB on my system
<bost>So the reboot worked. The only remaining problem is that my other operating systems are gone from the boot menu. (But that's not that bad, since I can access the the grub.cfg from my Ubuntu partition, and manually put the missing entries to the grub.cfg from the Guix partition.)
<nckx>robin: How would you create the boot generations menu?
<nckx>The nice thing about GRUB is it's not tied to one specific firmware, which EFISTUB, well, is.
<robin>nckx, idk, and grub.cfg refers directly to the store so obviously it's nontrivial. OTOH grub has historically had problems keeping with linux fs development (i'm not entirely confident it'd work if i made a btrfs partition using one of the newly-supported non-crc32c hashes for checking file integrity, for example)
<robin>i definitely don't expect guix to stop using grub (anytime in the near future), and have no complaints about it other than extremely slow crypto and having to type in qwerty (which isn't too bad, and of course one can add LUKS passphrases)
<nckx>That's literally true, but it's due to us not supporting a stand-alone /boot (pointing to /gnu/store from grub.cfg as you say), not due to using GRUB. EFISTUB wouldn't fix that, just the orthogonal preparatory work (supporting kernels on a non-store partition).
<robin>keeping up with linux fs development* (if only linux were GPLv2+ and not GPLv2-only...)
<robin>nckx, how does the kexec-based thing work, roughly?
<lilyp>Can't sneek or some other bot fetch random quotes from users?
<robin>on a less random note than the possibility of grub alternatives, i should submit the secure-boot tool i packaged ages ago (shim?). i'm...90% sure i got it working properly with manual setup, seems like something guix could handle on its own
<nckx>Well, (1) not, because it's bitrotten (2) it's just a kernel + initramfs that runs cryptsetup, mounts, then kexecs the kernel with the right parameters based on a very simplistic busybox sh ‘parser’. So also doubles as a simple rescue system (more useful than the --repl). That's really how it started, a bcachefs rescue initrd, then turned into world's worst boot loader.
<robin>emacs has rudybot for random quotes and other things (https://github.com/offby1/rudybot), and fsbot mostly for links and text snippets (linking to wiki pages mostly, i guess the guix equivalent would be manual/cookbook links)
<singpolyma>I reported a couple bugs in the importer from it which have since been fixed, but have been packaging other things in the meantime, haven't been back to it. The import takes some hours to run :P
<raghavgururajan>The primary goals of IceCat and Abrowser are same. To clean/de-blob/FSDGify Firefox-ESR. I wonder why we can't merge them.
<nckx>Merging of development effort is just not a question for Guix, but for the IceCat & Abrowser upstreams. We can package both, but we can't really take on the burden of ‘merging’ browsers, which is huge.
<nckx>Not to mention a one-way pain train ticket to CVE country.
<robin>but for example a license filter for addons would be relatively trivial, and imho icecat not having an (obvious) addons interface just encourages people to use addons.mozilla.org directly anyway...
<robin>(having been involved in web standards development, i probably *could* come up with a halfway-decent whatwg-acceptable design for a hypothetical "librejs 2", but imho people who care about free JS should just disable JS for the time being and there are dozens of other things i could be doing)
<nckx>In part so we'd have a usable non-ancient browser while IceCat's missing a ‘stable’ release. It's all a symptom of understaffing. Pity.
<nckx>I think IceCat considers the Guix previews a compromise of their ideals already, but now I'm just rambling. Mainy to delay running ‘git reset --hard’ on 12k lines of nightmare.
*robin wishes snowdrift.coop was usable already (might be a good way to have more full-time guix hackers)
*nckx stares at it one more time, pretending to consider maintaining it & bashing it into shape.
*nckx git resets, continues using rsync for sub-10-second full-system backups anyway.
<podiki[m]>has anyone here used lualatex on Guix? is there anything I'm supposed to do besides installing texlive (or texlive- packages)?
<singpolyma>robin: snowdrift lacks leadership willing to succeed, IMO, that's why I left as a contributor long ago
<singpolyma>If someone is looking to fundraise to work in guix full time I think there are acceptable solutions that already work
<brendyyn>My imaginary IceCat is just as trivial as possible by deleting nonfree stuff only. going overboard to provide something as crippled as possible seems counter productive.
<nckx>Well, not to be facile, but the people actually doing the work get to choose how it looks. If you actually manage to deliver your imaginary variant I for one would be happy to use it & report bugs.
<robin>there's liberapay but IIUC that lacks anything like patreon's rewards system. although people might not care about that in this context
<nckx>But ain't few people got time to put in the grind.
<podiki[m]>okay, I had to manually do a lualatex -ini with the ini file from texlive-tex-ini-files ....is that expected setup? xelatex did not need that
<singpolyma>robin: liberapay doesn't have rewards because it is anonymous. There is active discussion about making anonymity optional. And there are self hosted options like fosspay
<podiki[m]>(btw, no particular reason I use lua- over xe-....)
<singpolyma>You can use stripe without nonfree js but you have to be willing to do the compliance work which many are scared of because it is so unknown these days
<singpolyma>At work we accept cryptocurrency and payment by mail as our current "workarounds" but neither is great for recurring support
<robin>oh, interesting, i'll make a note of it (although i don't think nonfree js is a major issue for hcoop users, we never got a request for an alternative payment method during my ~5 years on the board)
<robin>singpolyma, woocommerce has extensions for a whole lot of payment systems, including e.g. stripe (maybe it's more accurate to say the core software is free)
<robin>singpolyma, does self-hosting js here amount to accepting CC info on your own side, and interacting with CC companies on the backend? (i don't know much about the free-software situation in this area)
<robin>podiki[m], hmm...texlive is basically a union package of texlive-bin and texlive-texmf...
<podiki[m]>looks like not everything has it's own package
<robin>but texlive-texmf doesn't appear to include absolutely everything, e.g. texlive-latex-fancyvrb appears not to be included in the texlive megapackage
<NicholasvonKlitz>Anyone know how to get rust-src on Guix? I'm trying to use rust-analyzer but it depends on rust-src. I can't seem to find any information about how to obtain rust-src. Usually its done with rustup. Or are there any other resources for developing with Rust on Guix?
<lilyp>What exactly does rust-src provide? Is it distinct from (package-source insert-rust-here)?
<singpolyma>raghavgururajan: I've just used Debian so long it's hard to imagine leaving. But if I use guix long enough I may well try system for something :)
<robin>lispmacs, if your card is relatively new, it's probably worth filing a bug about it (iirc supertuxkart doesn't exactly have AAA-level graphics). if it's older i'd personally assume that's the reason (maybe related to podiki[m]'s note about unaccelerated shaders)
<robin>3d stuff on guix is a bit rough around the edges ime, e.g. i've never gotten OpenCL working
<robin>(but that's more OpenCL's fault than guix's, the configuration required is sort of oddly designed)
<NicholasvonKlitz><lilyp> "What exactly does rust-src..." <- it provides the rust source, rather than the compiler. The rust source is required for rust-analyzer to function properly
<podiki[m]>lilyp: possibly, I did look at the logs on the CI as well and that might have been it, but I was also confused over why I needed to locally build somethings. I'll look again once the world rebuild branch is merged
<podiki[m]>might have been the related pixbuf changes now that I think about it
<bdju>is there a guix package I can install to get the gsettings command?
<bdju>or is there another way to configure gtk stuff? I want to disable the annoying fading out that happens when gtk stuff loses focus
<qyliss>bdju: ohh, what's the gsettings command to do that?
<qyliss>(I'm not using Guix at the moment but this has bugged me forever)
<bdju>I'm told it might be: gsettings set org.gnome.desktop.interface enable-animations false
<bdju>it seems like dconf is related to gsettings. I don't have the gsettings command even with dconf installed, but I wonder if dconf could be used instead. I'm not sure how to format the command, though. it says the "key" has to start with a /. I guess it must be a file path. I'm not sure where to point it to.
<jwoe324>Hi all, just wanted to ask a quick question: Why does Guix on a foreign distro require ncsd while Nix does not?
<nckx>vivien: Prepared your patches on the train; in the meantime they were pushed; all good.
<vivien>I hope that did not make you lose too much time.
<robin>OS FS question: i have a LUKS-encrypted partition on an "archive" hard drive that i only need to mount occasionally. currently i just 'cryptsetup open'+mount it myself, but is there a guixier way?
<vivien>(mmh in fact if I compare my small patches to the amount of work that is pushed on master these days, maybe it was not that much work, and then my comment will appear sarcastic… I hope not)
<robin>(i wouldn't actually mind just automounting on boot, but there's so much dmesg noise around passphrase prompts that i'd probably find multiple prompts confusing)
<robin>(possibly linux's "quiet" command-line option would help? i haven't tried it)
<nckx>vivien: I'm just glad they got pushed and the backlog is infinitesimally smaller. Of course it would have been nice if 2 bugs could have been closed instead of 1, but that's life.
<drakonis>jwoe324: why not ask the nix people why that's not needed?
<drakonis>also probably related to shepherd instead of systemd?
<singpolyma>robin: my current trick (which may not apply) is to have my main drive encrypted with self-encryption then my spinning rust is luks encrypted to a keyfile store on the encrypted main drive and so I only have to type one password
<sailorCa`>Hi, I didn't get something in the documentation. To describe a package I need to specify a (sha256 (base32 "blahblahblah")) value. For zip package the guix download command could help. But what should I do for a github-repo and a tag?
<attila_lendvai>sailorCa`, what i usually do is enter a bad hash, initiate a build, and copy-paste the good hash from the error message.