(gnu machine digital-ocean) installs old Guix

  • Done
  • quality assurance status badge
Details
2 participants
  • Mathieu Othacehe
  • Ricardo Wurmus
Owner
unassigned
Submitted by
Ricardo Wurmus
Severity
normal
R
R
Ricardo Wurmus wrote on 13 Jan 2021 00:46
(address . bug-guix@gnu.org)
87v9c1d8hs.fsf@elephly.net
The (oddly named) procedure “guix-infect” in (gnu machine digital-ocean)
contains a Bash script that installs Guix 1.0.1 and sets the
GUILE_LOAD_PATH to that of Guile 2.2.

Likewise, “add-static-networking” in the same module sets
GUILE_LOAD_PATH to 2.2.

It seems to me that this should be updated to install the latest version
of Guix and set the load path to that of Guile 3.0.

I also wonder if there might not be a better way to deploy Guix quickly,
for example by using a relocatable pack of Guix and using “guix copy”
instead of executing a shell script.

--
Ricardo
M
M
Mathieu Othacehe wrote on 13 Jan 2021 09:17
(name . Ricardo Wurmus)(address . rekado@elephly.net)(address . 45835@debbugs.gnu.org)
87y2gxuu7m.fsf@gnu.org
Hello Ricardo,

Toggle quote (4 lines)
> I also wonder if there might not be a better way to deploy Guix quickly,
> for example by using a relocatable pack of Guix and using “guix copy”
> instead of executing a shell script.

I think that building a Guix System image and creating a droplet out of
it using the DigitalOcean API, as I described here[1] would be a better
solution.

Thanks,

Mathieu

R
R
Ricardo Wurmus wrote on 19 Jan 2021 09:33
(name . Mathieu Othacehe)(address . othacehe@gnu.org)(address . 45835@debbugs.gnu.org)
874kjdmilu.fsf@elephly.net
Hi Mathieu,

Toggle quote (8 lines)
>> I also wonder if there might not be a better way to deploy Guix quickly,
>> for example by using a relocatable pack of Guix and using “guix copy”
>> instead of executing a shell script.
>
> I think that building a Guix System image and creating a droplet out of
> it using the DigitalOcean API, as I described here[1] would be a better
> solution.

Yes, this seems better than installing Guix on an existing system (which
costs time and possibly expensive bandwidth), and to replace the running
system with it.

FWIW, I wrote Guile AWS[1], which may be useful for doing the same with
AWS as a backend.

--
Ricardo

R
R
Ricardo Wurmus wrote on 21 Oct 2023 17:25
(gnu machine digital-ocean) installs old Guix
(address . 45835-done@debbugs.gnu.org)
87a5scj8ss.fsf@elephly.net
This is no longer the case. The module no longer references Guile 2,
and it installs the latest version of Guix.

--
Ricardo
Closed
?