<vagrantcish>and if all substitutes aren't reachable, it starts building locally?
<mange>Although if it can connect to the substitute server and an error occurs in download the substitute then it will stop at that point and report the error.
<mange>Yes, if it can't find a substitute for something then it will build it locally.
<mange>If you use --fallback then on an error downloading it will also fall back to building locally.
<vagrantcish>i don't see an obvious way to only install from substitutes. though i guess you'll frequently need to build *something* locally
<mange>Yeah, I don't think there is any way to do that. It's often the case that substitutes don't exist, rather than substitute servers being unavailable, so in that case building locally seems like a sensible behaviour.
<mange>It has been discussed on the mailing list, but I don't think anything's been done to add an --only-substitutes flag.
<mange>I think you can use `guix weather` to get some idea of how many of the substitutes you're looking for are available, but I've never used it so I don't know how it works.
<vagrantcish>efraim: well, apparently there's an incompatibility in the extlinux generated that u-boot doesn't read so well.
<vagrantcish>efraim: er, extlinux.conf ... UI isn't recognized in u-boot
<bavier``>we're trying to stay away from github autogenerated tarballs in new packages, right?
<lfam>bavier``: Yes, if there is another option. There is a relatively high chance they could change over time
<rekado>for convenience you can add a link to /usr/local/bin so that all users can have access to the “guix” command, but that’s optional.
<mubarak>I have a question. what the method or the command guix package manager use to downlaod packages when installing GuixSD from .iso image. wget or curl or ???
<rekado>neither. It uses Guix to download packages.
<mubarak>and how guix download a package from a mirror?
<efraim>iirc it uses a guile program embedded within guix for most of the actual downloads
<mubarak>I connect to the internet using usb modems(mostly Huawei), and I subscribe for unlimited slow speed packages most of the times. I also barrowed a router from my friend with a good speed but the ping respone take a long time than usual.
<mubarak>I asked about the method guix uses to download packages, because I want to know if the command it use have and option like --continue in wget, so i don't have to start the same command every time it fail because of a slow speed or a slow ping respond
<mubarak>rekado: your mirrors are fine, the problem in our ISP, unlimited packages subscribtion are very slow. and the only ISP with the fast internet speed have a limited package only(5GB, 10GB) and its very expensive.
<roptat>mubarak: I'm just curious, what ISP/country is that?
<rekado>mubarak: I mentioned berlin.guixsd.org because it may perform better than hydra.gnu.org or mirror.hydra.gnu.org in your location.
<rekado>but if your connection is severly limited maybe that doesn’t matter
<mubarak>rekado: :) I know what you mean when you mentioned berlin.guixsd. Its on my side
<efraim>Under those circumstances I would consider going for sources and building most everything locally
<roptat>isn't the source even bigger than the compiled thing though?
<efraim>Perhaps, but the source doesn't change when one of its dependencies does
<mubarak>roptat: country: Sudan -- ISPs: a) Sudani:the most slow one - b) MTN Sudan: good speed but it take long time to start downloading the next package, guix download 3-4 packages and the installation fail so I repeat the command every time it fail - c) Zain Sudan: very good internet speed, but they are greedy. I have to be ritch to subsribe for its limited packages
<mubarak>efraim: I don't have a problem if the source files are bigger.
<mubarak>efraim: can guix download all the source for the packages all by itself or I should download its all manually?
<efraim>On my build slave I sometimes run 'guix build $(guix package -A | cut -f1 --output-delimiter=@) --sources=transitive'
<efraim>That should get all of the sources of all of the packages, but I think it comes to about 70 GB after it finishes patching everything
<efraim>Downloading unpatched sources would be faster and more reusable
<roptat>you can build everything with --no-substitutes
<efraim>I'm not sure of how to do that exactly though
<efraim>ie patching and recompressing gcc takes a while, and can be done later
<mubarak>efraim: thank you so much for the good advice :) and you too roptat :)
<mubarak>I will read more about compiling a distribution from source. And i will learn guile, and try adding this feature.
<roptat>looking at the code, I feel like the actual download is in the C++ part
<roptat>nevermind, it's in guix/scripts/substitute.scm
<mubarak>roptat: haha i was trying to ask you where I can find that code. thanks
<jD91mZM2>I'm currently trying out Guix in a VM. How comes nss-certs isn't in base packages? I mean literally everyone will want that... right?
<mubarak>rekado, efraim: excellent ASCII art in guix-install.sh \\o/
<efraim>guix-install.sh fails with debian's dash, it apparently has some bashisms
<davidl>mubarak: where can I find guix-install.sh?
<sturm>When I run `ping gnu.org` on GuixSD, I get "ping: Lacking privilege for raw socket". Is there a specific group I should be in for the necessary permission? I'm already in " users kvm netdev audio video wheel"
<soundtoxin>I used to use GDM on Debian along with openbox just because it looked nice, but then I remember once I got a very generic error with a sad face and it wouldn't let me login. I uninstalled it after that and switched to just using startx. One less thing to break.
<mubarak>soundtoxin: do you mean which document format i should download? choose pdf file or HTML compressed "with one web page per node"
<soundtoxin>yeah that's what I meant, I didn't realize at first that there was only one pdf
<vagrantc>what's the minimum amount of memory necessary for guix pull these days?
<soundtoxin>I had a close call with a guix pull one or two days ago and I have 8GB of RAM. I was watching something in mpv (it cached the whole file in RAM) and I had Firefox open. Everything froze for a couple seconds, but after closing firefox I was fine. I think I was using 5GB+
<mubarak>firefox always make trouble, the more you leave it running the more it will take more RAM. I close it when I want to use other program that may need more memory like vlc, or if i want to go away for more than 15 min.
<soundtoxin>I noticed that with qutebrowser on parabola. I was getting a popup message saying it fell back to webkit and that it recommended webengine instead or something, then I found out webengine was purposefully not supported in the parabola version due to it not being totally free
<bavier`>soundtoxin: and tracking the qtwebkit version that it depends on is difficult
<soundtoxin>I use firefox mainly still (icecat on guix), but I also always keep qutebrowser installed. I really like it.
<soundtoxin>I mainly only prefer firefox for all the addons it has.
<bavier`>soundtoxin: we've had some effort to liberate chromium, which I think would eventually let use package webengine
<soundtoxin>I have heard something about a chromium fork called Iridium that people seem to like lately. I've also heard of "ungoogled-chromium" which I think is packaged on a few distros.
<soundtoxin>I'm not a huge fan of chromium, but no harm in having more choices
<jD91mZM2>wigust: Sorry for the late reply. I like LightDM because almost everything else is either crappy or too specific. SLiM is fine but no longer maintained according to the Arch wiki. GDM is a little bloaty and literally has "GNOME" in the name. Doesn't leave me with many options
<jD91mZM2>And yeah I should probably make a service for it if I ever get the courage to actually try guix on my main machine... I just wanna be completely prepared first... it's scary
<jD91mZM2>Is there something like home-manager for GuixSD by the way? (It's a project that generates your ~/.zshrc and stuff using nix)