<yewscion>Hello all, I'm having an issue with Cuirass that I've run into once before. I'd thought it was an issue with my previous installation, but I've just noticed it happened again: Cuirass is, all of a sudden, no longer building any new evaluations.
<seninha>hi, i found a bug in the docs, in the var `cert` at openvpn-client-configuration, it says the default is `/etc/openvpn/client.crt`. for `openvpn-server-configuration` the default is also `/etc/openvpn/client.crt` (it should be server.crt)
<seninha>it seems that it was copy-pasted from the openvpn-client-configuration into openvpn-server-configuration
<seninha>wait, in /gnu/services/vpn.scm both configurations are defined as the same thing?
<dcunit3d>does anyone have experience trying to use doom emacs while loading some packages through guix?
<dcunit3d>i know it's a pretty bad idea. at this point, i would love to get away from doom. guix makes things so easy. when i run into issues with doom, it's either super obvious or it's devious.
<dcunit3d>i feel like doom would still be useful as a source of configuration ideas when using the emacs-xyz packages, but that if i didn't use it, that it would be much easier to maintain multiple configs and troubleshoot.
<shcv>hello! is there a simple way to set a guile function to run on a matching udev event? I'd like to disable my laptop's internal keyboard and change layouts when the external is plugged in / vice versa when removed
<abrenon>it doesn't recommend any fine-tuning in particular, especially regarding inode ratio
<abrenon>but my disk is now regularly saturating its inodes when I try and update my user packages
<abrenon>has something changed lately which could account for a higher use-rate of inodes ?
<Htop170>Hey guix, I'm trying to package morfologik-fsa, wich is located in morfologik-stemming (https://github.com/morfologik/morfologik-stemming). Since I only need the morfologik-fsa directory, is there some particular method or git-fetch strategy I should use? Or is it better to download the whole repository and navigate through it/potentially delete
<Htop170>Thanks! Are you aware of a package I good look the definition of, doing what you said ?
<rlp10>Thank you, civodul. I'm trying to decide whether to put time into learning nix or guix first. I recognise there is going to be a significant effort either way. Any suggestions as to which one is more accessible?
<abrenon>hmmmmm I'd say pandoc top of my mind, but it's documentation/static library/the rest, so not as symmetric as what you want to do, but I guess I'd start there if I had to look at a multi-outputs package
<abrenon>anyone knows of a better example ? (please ?)
<iyzsong>rlp10: that depends on many factor, i'd say if you like lisp/scheme/emacs then guix is a better choice.
<rlp10>iyzsong: Thanks, I definitely like s-expressions: I use Emacs as my main editor and have some experience with Racket.
<rlp10>I guess I'm worried that Nix might have some innovations that Guix lacks e.g. flakes? (Note, I don't even know what Nix Flakes are, just that I've heard of them!)
<iyzsong>nix has bigger community and more packages/hardware support, while i think guix has more well-designed core layers.
<iyzsong>guix time-machine with channels (see 7.3 Replicating Guix in manual) is equal to nix flakes.
<abrenon>(oh, so this is what those flakes everyone mentions are about ? thanks !)
<abrenon>I'd like to mention how the nix configuration language seems inelegant and painful to write compared to guile
<Htop170>abrenon: thanks for your answer! I will look into that
<civodul>rlp10: most of us here are going to be biased :-) maybe you can browse the manuals and tutorials of both to get an idea of what using it is like
<rlp10>rekado: Thank you for that, I'll check it out
<seninha>hi, in `/gnu/services/vpn.scm`, the default for the `cert` variable in `openvpn-server-configuration` is `/etc/openvpn/client.crt` (it should be `server.crt`). the same goes for the `key` configuration. it happens because of the define-split-configuration defining both the client and the server configuration at the same time.
<rlp10>In Guix is there any support for maintaining a profile of software for several people across different machines? I have a small office and would like everyone to have the same basic software available
<abrenon>rlp10: I suppose you could version and share a common manifest file (~list of packages)
<rlp10>I see, and perhaps I could keep that in a git repository such that users could pull and update it - or something like that
<efraim>mismatched kde dependencies made it hard for me to test kmail on aarch64 with guix on arch
<futurile>Q: I have a package (rust-heapless-0.5.6) that inherits from Guix's rust-heapless-0.5. I want to add the argument #:tests? #f - how do I do that? I tried substitute-keyword-arguments (package-arguments rust-heapless-0.5) ((#:tests? #f)) - but it says 'source expression failed to match any pattern'. I guess the issue is Im 'adding' not 'substituting'?
<efraim>I'm guessing xf86-video-vmware should be limited to x86_64 and i686 only, but the build failure on aarch64 doesn't suggest there's an architecture problem
<janneke>efraim: might be an interesting section in the manual/cookbook, short recipes to break your guix
<civodul>futurile: you can try: (arguments `(#:tests? #f ,@(package-arguments rust-heapless-0.5)))
<civodul>this is less robust than using 'substitute-keyword-arguments', because you could end up with #:tests? twice
<civodul>the "failed to match" error probably means there was a syntax error in your use of 'substitute-keyword-arguments'
<futurile>civodul: OK, thanks - that works - appreciated. I'll play around with `subtitute-keyword-arguments`. Need to learn some/more Guile heh
<gabber`>my relatively lean system config fails to build due to python-matplotlib (which seems to be a dependency of font-abattis-cantarell). i don't use gnome or mate (which seem to depend on that font).
<gabber`>it's /gnu/store/yrclrqxr5jpndsqakjjqyqlqyl1kbik2-python-matplotlib-3.5.2.drv which fails to build. can others reproduce that failure?
<gabber`>how can i find out what caused the latest derivation of that package? the package itself seems to be unaltered since may 2022
<abrenon>gabber`: not the same guix version (because different hash) but here I've just built 3.5.2 without any hassle
<seninha>i'm really new to guile and guix, so i think i cannot send a patch for it and for that other bug on defaults
<nckx>I wonder if some kind of generic ‘service-command’ record, that also handles arguments, would be a sensible replacement for the ad hoc ‘package’ fields that many services have. Instead of (package cups) you'd write (service-command-or-whatever [(package cups)] [(binary "sbin/cupsd")] [(arguments '()]).
<seninha>openvpn service is failing because of an unset command-line option. how can i change its configurations to use a few more options from my /etc/config.scm?
<gabber`>soooo, seems my little reboot attempt wasn't as successful as i had hoped. i ran into a nasty OOM/kernel-panic (on 6.1.8 libre-kernel with an Alder-Lake architecture). this is the wrong place to ask, but should i report this to.. the linux community? the linux-libre project? the machine boots just fine with 6.0.8
<gabber`>nckx: yes, it was about the search -- searching for some (?) nicknames only results in relatively old matches
<mirai>seninha: inherit/make a copy of the original service-type and change it
<bjc>you will need to install sway in your system profile, not your user profile
<nckx>gabber``: The search index was extremely out of date (Dec 2021). rekado: Wish I knew, actually trying to debug it ‘properly’ was unsuccessful; ended just deleting the database & rebuilding it from scratch with ‘goggles index’. I just used ‘sudo -u goggles’ for that, so I'm hesitant to blame namespaces.
<pjals>gabber``: i use a setup with greetd + seatd instead of gdm but yeah, it should work fine
<nckx>The mtime of the Xapian files was up-to-date, so the job was running.
<nckx>Running ‘goggles index’ completed without error but didn't change anything until I deleted the old index.
<gabber``>i tried that (adding sway, setting wayland?) but logging in instantly brought me back to the gdm login screen (so sway crashed?)
<nckx>rekado: It appears that building the index from scratch works fine, but subsequent (and identical) ‘goggles index’ invocations don't update it once it exists.
<nckx>gabber``: Just producing content for the content god. :)
<nckx>OK, the files do change, but the search results don't.
<Htop170>Hey guix, I'm trying again since it's the afternoon :). I'm trying to package morfologik-fsa, wich is located in morfologik-stemming (https://github.com/morfologik/morfologik-stemming). Since I only need the morfologik-fsa directory, is there some particular method or git-fetch strategy I should use? Or is it better to download the whole repository
<Htop170>and navigate through it/potentially delete the other directories ? Someone suggested me earlier I could look at the packages that produces multiple outputs but so far I only saw that the function was used to produce docs and stuff not multiple sub-packages/software (outout '("out" "static" "doc"))
<nckx>Htop170: If you're currently interested only in m-fsa, I would do what you suggest but not bother with deleting anything. Simply navigate to the m-fsa directory after 'unpack. If people later want to add separate packages, they can use (source (package-source morfologic-fsa)) or refactor harder, e.g., make a morfologic-stemming ‘primary’ package name as Debian seems to do. This answer assumes that you can build only -fsa without building the whole thi
<nckx>ng; otherwise outputs are indeed the way to go (:fsa, :tools, etc.).
<nckx>‘guix install xapian’ on bayfront currently downloading mesa, wayland, and libcloudproviders 👍 (but the latter is -minimal so it's OK).
<Htop170>nckx: Thanks a lot! I will try to see if it's not too big of a bother to produce all the outputs. Do you know how I should reference them later when I want to include the produced results in an other package ?
<Htop170>So the good practice here would be to write some parent package that could download the git repository and then sub packages that would inherits the parent package and package each software independently rather than doing a package that would build everything at once ?
<nckx>Maybe. I can't answer that without digging into how this package builds. In your case I'd start simple: if you want (only) m-fsa, write an m-fsa package. Really, it's fine that its ‘source’ will contain more than strictly needed. Don't worry about that yet.
<apteryx>abrenon: have you considered stopping worrying about inodes and switching to btrfs (which dynamically allocates inodes as it needs) ? for such a small file system, the zstd compression would give you a nice 2x capacity as well
<abrenon>apteryx: fun fact: I had considered using btrfs for no particular reason a while ago, and then I discovered the horror of fixing an unbalanced system "full" with so much space left and then I thought I wouldn't use it
<abrenon>but, granted, it would solve my inode issues
<abrenon>then again, I'm simply a liveUSB reboot + tune2fs -T news away from fixing the actual symptoms
<abrenon>it's just I thought I'd check with the people-who-know-stuff if that could be a sign I was doing something terribly wrong without noticing, and if there was a good reason why I was using so many inodes
<apteryx>abrenon: oh yes, recovering from a full btrfs file system can be a pain
<apteryx>I thought the inode count was fixed after creating an ext4 file system (and that changing it would require recreating it anew); is this not the case?
<abrenon>hmmm I may be too optimistic ^^ I thought I remember tuning an existing one, but in any case the worse that could happen is to have to format the partition and reinstall from my guix configuration, home is safely elsewhere and doesn't lack inodes, so I wasn't too afraid
<apteryx>right, I think inodes is fixed at file system creation time
<nckx>On phone, so impossible to see the big picture of what you're trying to do, but: you can't use 'case' like this. Hence neither clause matches, so it's returning unspecified (nothing) for documentation and the rest.
<nckx>There's an unofficial one at matrix.org. It's just called ‘guix’ AFAIK.
<ieugen[m]>hi, how can I have a set of guix pacakges available to all users ? (globally available)
<ieugen[m]>interested in having them to ubuntu and root initially but in a broader sense, I would like to have some apps available to all users on a system
<vagrantc>available packages (other than with guix system) are generally per-user ...
<vagrantc>though ... you could probably make a profile and then add all the relevent variables in /etc/profile ...
<nckx>Guix installs packages into a ‘profile’. Each user has a default profile (~/.guix-profile) that, by default (if you used guix-install.sh), is sourced by /etc/profile.d/zzz-guix.sh. But you can install packages to any profile (guix install|remove|… --profile=/home/foo/.some-profile) and source any [extra] profiles you want. So you can, for example, add an /etc/profile.d snippet that unconditionally sources root's profile for *any* user. Or man
<nckx>age a ‘global profile’ that's sourced for all users, and use --profile to manage it. Etc.
<vagrantc>though if any user used some of the guix features, it might start having unusual results
<florhizome[m]>Now i am at a Point where Just Log into gnome and it freezes immediately
<ChillPC>Hello, everyone! I have a tiny problem with guix. I installed neovim (version 0.8.1) with it. However, some treesitter parser does not work. The error printed when opening an html file (for example) is `Failed to load parser: uv_dlopen: /gnu/store/094bbaq6glba86h1d4cj16xhdi6fk2jl-gcc-10.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.29'`.
<ChillPC>Is there a way to specify which version of gcc should be used to build neovim? Or is the answer elsewhere?
<florhizome[m]>When i try to Install a package, i get "manifest Format Not supported" - in German