<nckx>Nope. I'm a bit surprised you've never encountered this before (it's not that hard to produce — here it happens mostly when I'm messing around in a --keep-failed /tmp/guix-build-… in one shell, then re-run the build [so a new but identically-named directory is created] in another, then forget to ‘cd $PWD’ in the first shell.)
<the_tubular>I see, well that's a good thing I encounter it rarely
<nckx>Yes. I meant ‘it's nothing to worry about, not as arcane an error as your situation might have led you to believe’, not ‘omg you noob’.
<mfiano>It's where to start if you are new to programming, and want to start with an easy, small, language
<the_tubular>I'll definitely give it a shot, any other recommendations ?
<mfiano>Otherwise, The Scheme Programming Language 3 (for R5RS) or 4 (for R6R6) is a more throw you in the deep end kind of start, but with good exercises along the way, and you can also ask questions on IRC.
<jgart[m]>mfiano: Do you happen to know if scheme is a smaller lang than lua? I have a feeling core lua is smaller but I haven't counted the primitives or whatnot
<the_tubular>Also, any podcast ? I know of FOSS & crafts, but it's not really "guix" focused
<mfiano>I can't answer that because Scheme isn't an implementation, and afaik, Lua is. But I know very little about Lua. From what I know, I would say base Scheme is much much smaller.
<haugh><mfiano> "Structure and Interpretation..." <- SICP is a general computer science textbook that happens to be written in Scheme. It is an iconic book, but it does not paint an accurate picture of modern Scheme in practice.
<mfiano>Lisp is full of historical treasures. I can't think of any good CL book that didn't age well.
<the_tubular>What does that mean "Scheme isn't an implementation" ?
<mfiano>The thing is Guile is a kind of Scheme which is a kind of Lisp. There are many kinds of Lisps, Scheme is one family of them. There are also many languages (implementations like Guile) in the Scheme family.
<the_tubular>I understand that, but I don't understand which "level" do what mfiano
<haugh>Guix is a program written and configured in Guile, which is a dialect of Scheme, which is a standard for how to write a programming language in the Lisp family of languages, which includes Common Lisp and Clojure
<jgart[m]>Guile is a kind of scheme which is a kind of lisp
<mfiano>a kind of lisp is anything that derives from the original McCarthy 1958 invention called LISP
<panadestein[m]>How to get Plymouth to work in Guix System? For instance, do you simply add it to your programs in the configuration file, or you create a service?
<jgart[m]>the_tubular: TLDR Guile has one namespace whereas CL has two namespaces, one for functions and one for variables
<trevdev>lechner: That's a start! Ideally I'd like to write something that will make emacs behave like it started from a guix-shell env, but I realize that might be tricky. Maybe it's simpler to do just that: activate guix shell then run emacs from there.
<lechner>trevdev / doesn't buffer-env provide exactly the desired environment on a per-buffer basis?
<trevdev>lechner: I'm nearly done the article, I'm a slow reader. I think it might be all I need
<efraim>zacchae[m]: I make sure to not reconfigure from a tty. as for qutebrowser, we still have the qtwebengine bug which is why I have ("QTWEBENGINE_CHROMIUM_FLAGS" . "--disable-seccomp-filter-sandbox") in my environment-variables.
<Parnikkapore_m>I'm giving the plover package some TLC; the app starts with the following error message (visible with --log-level debug, does not block usage)
<Parnikkapore_m>OSError: libdbus-1.so.3: cannot open shared object file: No such file or directory
<netamuffin[m]>Is there a way to make a shepherd service that runs stuff in a container that has access to only one of my network interfaces? I am pretty new to guix and guile, so reading the source of make-forkexec-constructor/container didn't seem to have that option.
<sughosha>Hi all, is it possible to modify ~/.profile of from Guix Home?
<sughosha>I want to source a file from ~/.profile, so I want to know if I can customize ~/.profile.
<sughosha>Or if there is any service like home-environment-variables-service-type where I can source a script along with "export"ing environment variables.
<paul_j>sughosha: First of all, a disclaimer - I am not very familiar with the details of guix. As I understand it, you would edit the .profile in a different location, then add it to your home configuration. When you run "guix home reconfigure", it will load your edited .profile into the store, and create a desktop link to it from ~/.profile. Since the store is not writable, you cannot just edit the .profile via the link - you need to re-edit
<paul_j>your original file and run "guix home reconfigure" again.
<paul_j>Actually - apologies - seems like I have mixed up my understanding. I have configured home-bash-service-type to add environment variables, but I haven't directly created .profile as I explained above. I do follow this approach for other config files (such as mpd.conf).
<PurpleSym1>munksgaard: In light of #54729 (sorry, still not merged ☹️) I’m looking at wip-haskell again. I’ll probably add GHC 9.2 first, then try to update packages to Stackage LTS 20.
<sughosha>paul_j: Thanks for taking your time. `home-shell-profile-service-type` is what I was looking for. I had a look at shells.scm, but I didn't pay attention to this service other than the services for bash,zsh,fish,etc.
<Parnikkapore_m>re Plover error: I'll try adding #@dbus to LD_LIBRARY_PATH and see what happens
<axelbdt>Hello, I wish to deploy Guix System on a cloud instance supporting custom images (iso, qemu...). How can I find or generate an image that would allow basic ssh and subsequent `guix deploy` to the machine? I am a bit overwhelmed buy the manual and cookbooks. Thanks!
<jgart[m]>They provide Guix System images in the cloud ready to go
<jgart[m]>Or wait 5~ years for me to code up a guix deploy service...
<axelbdt>Haha, thanks for the reply. So I should use the Iso from Guix download page and go through the graphic installer on the VPS instance? Won't I end up with a "desktop setup" with XFCE and other things?
<axelbdt>Nevermind, not choosing a DE was actually an option ^^ Installing right now
<mirai>netamuffin[m]: what you want to do is pass a namespace
<mirai>you setup a new namespace which has its own routing table and add the desired interface to this namespace
<rekado>cbaines: I was going to reconfigure bayfront to apply some minor changes to goggles, but since yesterday the big garbage collector lock is held. Is this expected?
<netamuffin[m]>mirai: thanks. I will look into that, once i am back at my pc.
<jas4711[m]>hi guix! i was just bitten by a GnuPG bug that was already fixed, and noticed Guix uses really old GnuPG. Any reason for this, or should I just try to build recently released stable 2.4 and submit patches for it? Should that be done against core-updates?
<rekado>In procedure update-spec-package: Wrong type argument: #<package email@example.com gnu/packages/zwave.scm:94 7fb352f918f0>
<nckx>jas4711[m]: Go ahead, and yes (see ‘guix refresh -l gnupg’).
<jas4711[m]><nckx> "jas4711: Go ahead, and yes (see..." <- thanks for mentioning that command! i suppose that if 'guix refresh -l FOO' is large enough, contributions go onto the core-updates branch? Is this documented anywhere? Learning that the core-updates branch existed was key for my understanding how grafts would work, and maybe the 'guix refresh -l FOO' command workflow teaches me something more about the Guix development workflow
<nckx>jas4711[m]: Yes, see (guix)Submitting Patches (although it's the first match for ‘core-updates’, just search for that 😛).
<jas4711[m]>D'oh! Thanks gain for the pointer! I read that long time ago now that I see it, but it never sunk in. Will try again
<nckx>I re-read it a while back and realised I'd forgot (or didn't process) a few things…
<nckx>The naive rebuild-count approach should disappear one day, anyway.
<nckx>s/ on the build farms// — this is also to be mindful of those building at home, not using substitutes.
<nckx>But yes, it also touches on breakage: I expect people to rebuild all dependents of their master patches locally; for staging/c-u this is generally not done because it's prohibitive.
<cbaines>rekado, regarding bayfront GC, yes, I've got a GC running to clear some space on bayfront. Feel free to kill it though if you want to reconfigure the machine.
<jas4711[m]>yeah, i realized rebuilding core-updates locally took some time, the rebuild of the existing gnupg in core-updates just finished on my laptop... i'm hoping building a refreshed version of it will be fast now though
<netamuffin[m]>(mirai) I've somewhat figured out how network namespaces work now. Do you know of a proper way to define the setup of a namespace as part of a service? I would like to have a containerized service that can only use one of my interfaces, ideally even without the shared interface disappearing from the default namespace.
<jas4711[m]>are there substitutions available for core-updates? changing even tiny things in gnupg.scm causes a lot of things to be rebuilt (curl, python, ...)
<tsvallender>I'm installing packages with Guix Home via (home-environment (packages (list perl ruby node))), but how can I specify a version? I thought it would be @v but that doesn't work. For Ruby it seems to work to specify ruby-3.2, but the same syntax doesn't work for Node
<jas4711[m]><lechner> "jas4711 / did you see this..." <- Yes -- although -oPubkeyAuthentication=unbound is a better workaround to still use PQ crypto. I can get into my systems with the workaround, but I think we should have more recent GnuPG since it is an important package
<nckx>jas4711[m]: There's no reference from openssh to gnupg I'm missing, right? That is, ssh uses gnupg from PATH (or some other environmental place) if it's installed?
<lechner>jas4711[m] / i did not mean to advocate against the update; the purpose was merely to provide immediate relief
<nckx><i can't SSH into modern boxes any more> So does this imply that Guix's OpenSSHd isn't modern? (I didn't check.)
<jas4711[m]>nckx: ssh talks to gpg-agent and all this is working, I get the error from scdaemon which is running under gpg-agent. so the call path works but there is a bug in scdaemon
<jas4711[m]>updating GnuPG in Guix seems to be a perfect learning experience for me. Right now I'm stuck adding a new ./configure parameter that the updated libgpg-error requires, but this helps me get along with all the paranthesis. will unfortunately run out of time for today, but will keep working on it
<sughosha>Could someone take a look at https://issues.guix.gnu.org/60201? This is first time I created a new .scm file, don't know if I have to add anything else. Also, I did some mistakes which I fixed in the next patches.
<ss2>lechner: I created the ext4 partition and it had no big directories features enabled and was constantly throwing errors until I did a tune2fs to make it quiet again. But I don't know how much had gone wrong actually, and it is a new system anyway.
<sner>happy-shoes-1979: what output are you specifically seeing from straight when you attempt install?
<apteryx>ACTION blames the object-oriented-like naming of the script
<ss2>okay, I'm gonna reset this machine again. :/ Thanks for your help still.
<mroh>ss2: guix's grub (and generated grub.cfg) does not have "insmod lvm" (and "set root=(lvm/...), so out of the box its not possible to boot from lvm (w/o editing grub.cfg). Im working on it... but its time consuming (and not much fun) to test...
<nckx>We could also add install.guix.gnu.org to make it look more trustworthy, but mbakke's unofficial hack is nicer, damn them.
<apteryx>nckx: eh. I still haven't uploaded an apteryx photo to apteryx.ca, so I don't think I should manage extra domains ;-)
<KarlJoad>Does guix deploy respect verbosity and debug flags? I cannot make figure out why the deploy fails SSH authentication when I can SSH there myself. The necessary information is in .ssh/config too.
<sner>nckx: i didn't realize the hpc site was sitting under that domain (thought it was going unused), disregard
<nckx>My understanding is that it's for metaguix stuff (e.g., http://foundation.guix.info/, HPC, …) but I don't know if that was ever formalised. Maybe that opinion's not shared. And the choice to mirror the front page makes it less than clear.
<nckx>I'll add ‘UUID=’ prefix support eventually, but for now, if UUIDs work at all, it's without that prefix: resume=d49b9fa5-a55d-4b98-a4fa-c3cb645480d4.
<nckx>I tested that when I added the feature, but never since, so I hope it still works.
<nckx>Until then, /dev/foo is what I use and safest.
<nckx>The lack of ′UUID=’, ‘LABEL=’ prefix is because it re-uses existing Guix functions for that (in se, good), but Guix never followed the blkid-standard FOO= notation used by many other distroes (probably bad, because it's fundamentally ambiguous).
<sughosha>If I should sum up all the patches and make into a single commit and resend, I am also fine with that.
<nckx>sughosha: Yep. The v5 should be entirely self-contained, not assume that someone has the previous version applied. So one single patch that adds the entire file and adds it to gnu/local.mk at the same time. https://paste.debian.net/plainh/06c23579
<lechner>Hi, should the guix from the system profile ever be preferred over a personal user profile?
<nckx>rapa: In future, paste the actual ‘View build log at’ build log. In this case, it reports ‘Component ASDF/USER::CL-GOPHER not found, required by #<NASDF-SYSTEM "nyxt">’. You need to add cl-gopher to the inputs. You also need to add cl-tld, because the CL god is a bloated beast that demands sacrifice. Then you'll get ‘Component ASDF/USER::DISSECT not found’, which is where I stopped.
<rapa>nckx: my bad, I realised that my paste was not useful
<florhizome[m]><nckx> "The configuration before which..." <- before the last reconfigure which added the resume= line
<nckx>Try booting with ‘noresume’ (by editing the GRUB ‘linux’ command line with ‘e’ at the menu). You previous ‘shutdown’ using loginctl probably wasn't a shutdown at all, but a hibernation, which was now resumed (which is very bad). At least that's my guess.
<florhizome[m]>nckx well the btrfs error could have multiple issues but i guess it's because i resized the Partition to add swap