<rdrg109>[Q] I know I can execute guile commands by starting "$ guix repl" and evaluating commands in the REPL. Is it possible to execute commands as shell one-liners? I want to show the print the value of the variable %load-path in a shell script.
<shcv>what's the status on getting nodejs upgraded to 16? The latest I see in the package search is 14
<shcv>and what should I do to get a more recent node version in the absence of an official update?
<shcv>poselyqualityles: seems like that could still take a while; how should I work around it for now?
<poselyqualityles>shcv: piecing those patches into a package definition does result in a "working" node and npm, and i could install e.g. mermaid-cli and get it to work, however, for dev workflows that rely heavily on npm, there are likely to be issues? not sure what to do in the meantime, maybe creative uses of guix shell?
<pickanick>"The software environments created with Guix are fully reproducible: a package built from a specific Guix commit on your laptop will be exactly the same as the one built on the HPC cluster you deploy it too, usually bit-for-bit." : does this mean that the compilation is not optimized for each CPU? https://hpc.guix.info/
<pkill9_>pickanick: yea, i asked about that ages ago, apparently there are runtime CPU optimisations
<jackhill>I suppose you could always create a package varient that passes the right CFLAGS or what have you, if it is important to be sure.
<vagrantc>ACTION has seen many people spend more time trying to get cpu optimizations out of something and spend arguably nearly infinitely more time optimizing than it would take to run the code unoptimized
<vagrantc>obviously, for huge repeated computations, that can earn a significant benefit ... but for many cases, people do not end up winning any real performance gains relative to the time spent trying to do so
<bjc>‘guix pull’ on a new system is, for some reason, pulling down multiple versions of gcc and binutils. it's still not done and there are already almost 1000 items in the store
<bjc>it's getting substitutes, so i'm not sure why it needs to download all this stuff
<vagrantc>guix knows those URLs and hashes by heart :)
<bjc>things seem to be going more smoothly with those keys in place, so thanks for that. i don't know how long it would have taken me to figure that out on my own
<apteryx>I've sent patches to enable hot-reloading syslog configuration in case you had a need for that
<apteryx>(it also fixes the fail2ban sshd jail -- tested to work on my box now)
<apteryx>the one documented with using extra-jails in the manual
<bjc>anyone might know why ‘guix offload test’ is giving me: guix offload: error: failed to connect to `/var/guix/daemon-socket/socket': Connection refused
<bjc>that socket exists, and on the offload box i'm seeing the connection in the daemon logs: Apr 12 21:32:15 ditto guix-daemon: accepted connection from pid 226333, user guix-build
<bjc>i'm assuming the ECONNREFUSED is coming from somewhere else
<poselyqualityles>would it make any sense to add guix-publish to an installation-os bundling some of the larger packages?, and if so, apart from adding the local substitute url, how to ensure that substitutes during system init ask for packages that guix-publish will find?
<bjc>to answer my earlier question: restarting guix-daemon on the local machine fixed it
<jpoiret>i'm not sure we generate the manual from guile docstrings
<gabber>jpoiret: soooo, the seemingly identical passage in the info manual under `substitute*` (chapter Build Utilities) and the (identical?) string in the (substitute*) definition (guix/build/utils.scm) are copy-pasted?
<Guest19>hey. if i want to learn a lisp to make GUIs, which one is my best bet on guix system? i haven't found good gui support for guile. i tried racket, but it seems like the package manager raco is incompatible with guix system.
<Guest4578>Hi, when i'm adding a package to my system declaration i get dependency issues. https://paste.debian.net/1277234/ i thought this is what could never happen on guix because every package is supposed to have it's own dependencies separately? how can i resolve this without removing packages?
<gabber>Guest4578: i think this comes from different profiles having conflicting entries. e.g. your home profile vs your system profile or your home profile vs manually installed packages
<gabber>i think i had this before and was able to resolve the issue by removing a package from one of the profiles
<irfus>Guest4578: while somebody more knowledgable might suggest an actual solution, a temporary workaround could be to remove one of those packages and use `guix shell` when you need it
<irfus>I have run into something similar as well, and that is what I ended up doing at the time
<bjc>it looks like xkeyboard-config is currently broken on core-updates
<bjc>is the upstream xorg file ok for xkeyboard-config? i'm getting an error on line 105 of rules/base, and the line continuation markers in this whole section are ‘/’ not ‘\’, which they are everywhere else
<bjc>but i don't see any patching of that file at all in the guix package, so i'm pretty confused
<TristanCottam[m]>I use Guix' standard serialize-configuration, I haven't had to explicitly specify gexps for serializers, I'll have a look at the source.
<bjc>the default serializer assembles its output by using ‘string-append’ with the output of each field serializer ungexp'd. they are implicitly gexps
<bjc>search the manual for “Complex Configurations”, which describes how they work
<TristanCottam[m]>bjc: I just had a look, but how can I make use of `gexp`s in this situation? I already went through "Complex Configurations", but the example doesn't make use of `serialize-configuration`.
<sysfu>Guest19: thx. I'm just not a mailing list guy, but if that's the recommend resource I'll figure something out.
<sysfu>this channel is a great resource but in some cases I like to be able to document the solution so that people can find it easily later on using a web search.
<jpoiret>sysfu: you can use yhetil.org/guix to browse the archives
<lfam>sysfu: There aren't any traditional message board forums. There is the reddit page and other chat rooms besides this one
<Guest19>Ah I understand. Sometimes they implement it in the Guix Cookbook. This can be seen by search engines. Other than that I also see stuff from blog content. So if you have a blog or a site it will be useful as well. Though you probably want a centralized wiki but I don't think we have that
<lfam>But the overwhelming majority of discussion is over email
<jpoiret>i like email, I can index it however I want, have it available offline, etc.
<jpoiret>also it's decentralized and compatible with whatever tools you want
<lfam>I love it, I use mutt and am really efficient with it. And all the things that jpoiret mentioned. But there really is a generational divide, and the younger side is not interested
<sysfu>jpoiret: Thanks I'll check that out. I'm a big fan of mail-archive.com for mailing list perusal too.
<lfam>It's also easy to figure how many days I spent setting up mutt and the associated tools to be ergonomic
<sysfu>lfam: Do you use a dedicated email address for mailist lists? I used to on my own domain until some chinese bastard stole it from me when I accidentally let the registration lapse. Since then I just haven't had the gumption to setup another dedicated mailbox.
<lfam>sysfu: No, I only have one email address. In the future I may create another for my professional work
<lfam>Obviously, if you have your own domain, make sure you don't lose it
<sysfu>unmatched-paren: I have experimented with aerc too, prefer that over mutt. Funny that the original dev stepped away from the project after determining the always on IMAP connectivity was a flaw.
<Guest19>honestly that stuff with domains is in my opinion absolute unacceptable. People can park domains and don't even use it. Therefore you can't have any domain accept it has random chars. I understand your frustration
<unmatched-paren>sysfu: i think that they came to that conclusion after they stopped maintaining it, as a thought in retrospect
<lfam>With the new TLDs, there are really a lot of good options for domain names
<sysfu>unmatched-paren: then we owe you a debt of aerc gratitude my friend? I compiled it on Kali loonix but haven't tried the GUIX pkg yet.
<sysfu>lfam: The only thing that make managing email lists tolerable for me 10-15 years ago is when the opera web browser was shipping the M2 mail client. I set that up with a dedicated email address list@mydomain and it was very efficient, especially with the M2 clients search and database driven interface.
<unmatched-paren>anyone got any emacs irc client recommendations? now that i've switched my email over i'm looking to use emacs for irc too :)
<unmatched-paren>i know there's erc, circe, and rcirc, but maybe there are less well-known ones that might be better?
<ngz>unmatched-paren: I prefer Circe over ERC, but that's really a matter of taste. I haven't tested rcirc.
<davidl>Hi, I have a problem with my custom channel - when I guix pull with it, it fails silently at the "building package cache" step by never finishing and I wonder how to debug it. I think there should be a better error message if possible. I don't really know when or how it started happening.
<davidl>I guess readding each file in the channel one by one, commiting and guix pulling for each file, then drilling down to the individual package inside the first file that causes a hang at the build package step. But thats just really time consuming.
<sysfu>If there are any other catgirl irc client fans in there, let me know if you've figured out a way to include nickserv commands in the configuration files. I've discovered that the config file won't recgonize the 'ns' command.
<sysfu>So far I've been able to include the host, nick, join channels, and the quiet command with success.
<unmatched-paren>sneek: later tell davidl: run this in a guix repl with your channel in the load path and once it starts hanging, cancel the operation, and the last line in ~/recursion.log should tell you which package has a cycle in it