<roptat>I'm back at translating the manual, but I'm already bored ^^'
<lsl88>g_bor: I was trying to solve this on my own, but i'd rather asl for help
<lsl88>is it ok adding [substitures] and substitutes-url: <substitute> in the order I want them?
<g_bor>lsl88: I don't have that file at my systems, but I guess it somewhere specifies what should be the value of substitute-urls, and inside that the order of urls matter.
<roptat>10 more service configuration to translate, and then some more fun stuff
<nckx>lsl88: If you mean adding a literal ‘[substitutes]’ section in the unit file, that wont work. The ‘key: value’ lines are for systemd, not guix. Just add ‘--substitute-urls="…"’ to the end of the ExecStart line.
<lsl88>nckx: Thanks! and how can I solve this issue? I have the three .pub but it keeps using hydra. I want to specify the order without needing to use --substitute-urls all the time. i read about guix archive --authorize but it is not working for me :/
<nckx>lsl88: Does --substitute-urls=… on the command line work for you? If it does, making the change in guix-daemon.service and reloading+restarting the daemon will work, too. And if it doesn't: how does ‘guix archive --authorize’ fail? What's in your /etc/guix/acl?
<lsl88>nckx: then I did not understand what I should add in the /etc/systemd/system/guix-daemon.service file.
<lsl88>the --substitute-urls=... works, I use it all the time for installing packages and so on. But I want ci.guix.info to be the the default one, then hydra and then berlin
<g_bor>lsl88: I just announced the Monday chat on guix-devel, so anyone willing can join in.
<g_bor>The substitute urls should look like exactly the same as they look like on the command line.
<g_bor>When they appear on the daemon command line, then they are the defaults.
<g_bor>You can override the default by adding the option to the command you are exectuing
<janneke>is it too late to split --substitute-urls="a b ..." into --substitute-url=a --substitute-url=b ?
<g_bor>janneke: I believe it's never too late, but what would be the benefit?
<nckx>lsl88: I don't use systemd, but guix-daemon.service contains a line ‘ExecStart=/var/guix/profiles/per-user/root/current-guix/bin/guix-daemon --build-users-group=guixbuild’. Adding ‘ --substitute-urls="https://ci.guix.info $the_rest"’ to the end of that should be all that is required.
<g_bor>Would you like to build your commandline incrementally?
<nckx>Ah. I haven't used systemd in yonks. That's… unfortunate. :-( If a tool designed to take unixy command lines requires escaping anything as basic as quotes, it's just broken, but that ship has sailed.
<nckx>...seems like systemd handles quotes fine tho'?
<janneke>nckx: sorry then it was the (previous?) ubuntu init system that needed quiting in a weird place, been on guix exclusively for 2y now
<janneke>that, or all init systems do it right and my mind is all weird
<nckx>Oh, I'm not a use-case fetishist :-) Also, --substitute-url or whatever we call it could have slightly different semantics so you can easily *add* servers to the (front of) the daemon's default list which is currently, IIUC, impossible.
<nckx>^ I don't know if this is possible with the current RPCs.
<nckx>pkill-9[m]: Do you use Matrix on Guix (System)?
<pkill-9[m]>yea nckx, with Quaternion (which is pretty buggy, but oh well)
<nckx>pkill-9[m]: Thanks. I got curious at FOSDEM. I've never used Matrix.
<g_bor>janneke: thanks for the explanation. That might make sense indeed. Why I asked for incremental generation of the commandline was, that it is more difficult to do if we keep it this was, as you will have to collect the substitute-uls first to insert that argument.
<pkill-9[m]>i pretty much use it as a glorified IRC bouncer, also to see what it's lik since I somewhat like the discord interface, also it's easier to set up across devices than an IRC bouncer
<pkill-9[m]>i might setup an IRC bouncer instead at some point though
*nckx is writing their first Guix System service for ZNC ☺
<nckx>(ZNC on the Guix System runs fine today, if you start it at boot and forget about it.)
<Elon_Satoshi>"guix pull: error: You found a bug: the program 'gnu/store/blablabla-compute-guix-derivation' failed to compute the derivation for Guix"
<Levy[m]>Should a language package manager support directly working with guix, indirectly by generating a package definition of the project, or just having a plugin for guix to parse and use the format?
<pkill-9[m]>oh, woops, I attached the whole log, not just the last few hundred lines, ugh
***jonsger1 is now known as jonsger
<raghavgururajan>What are the core principles of GuixSD? It's lacking in the website. What I mean is that, a FSDG Distro have a set of principles or values to hold that are apart from free software. This is what makes that distro different from other distros. For example, Hyperbola GNU/Linux-Libre has principles like stability, simplicity (KISS principle), security and privacy. Like wise, do GuixSD have anything like that? Is Functional Package Management the
<raghavgururajan>only difference the GuixSD show when compared to other FSDG distros?
<roptat>functionnal package management is already quite a big difference compared to other distros
<roptat>we also care about reproducible builds, bootstrappable builds...
<raghavgururajan>which: no python in (/gnu/store/aphvjxbhc3yg857z0rwymj0d9wijzkrj-glib-2.56.2-bin/bin:/run/setuid-programs:/home/rg/.config/guix/current/bin:/home/rg/.guix-profile/bin:/home/rg/.guix-profile/sbin:/run/current-system/profile/bin:/run/current-system/profile/sbin)
<davidl>I am looking at how to do a GuixSD install with /boot on a usb drive, with the internal harddrive being encrypted without a partition table and the luksheaders detached, and to do this I need to embed an ASH script to the in the initrd. With mkinitcpio (arch linux) you can create a custom decrypt hook and put it in /etc/initcpio/hooks and include that in /etc/mkinitcpio.conf but I donembed an ash script to the
<str1ngs>well based on this you can write it in guile scheme
<gururajanraghav>I think I missed the word "bash" when I edited the script. so edited the line to "#!/bin/sh bash". Then I am getting this error "/run/current-system/profile/bin/bash: /run/current-system/profile/bin/bash: cannot execute binary file".
<nckx>We can do without the overhead of a full POSIX sh in the initramfs so we do ☺
<str1ngs>yeah cause ash is more overhead then guile lol
<nckx>(Although there will eventually be one... written in Guile.)
<nckx>str1ngs: More like we already have and need Guile, so why add sh (which isn't used by Guix at all).
<gururajanraghav>When I execute "sudo ./protonvpn-cli.sh --install" I am getting this output "
<gururajanraghav>which: no python in (/gnu/store/aphvjxbhc3yg857z0rwymj0d9wijzkrj-glib-2.56.2-bin/bin:/run/setuid-programs:/home/rg/.config/guix/current/bin:/home/rg/.guix-profile/bin:/home/rg/.guix-profile/sbin:/run/current-system/profile/bin:/run/current-system/profile/sbin)
<bgardner>Good evening Guix; I did a 'guix system reconfigure' to add a global package (which was not icecat), and several hours and a toasty machine later it is still working on: "building /gnu/store/696dp9m6xg246cibd754wbr2044pw5gf-icecat-60.5.0-guix1.drv..."