(gnu machine digital-ocean) installs old Guix

OpenSubmitted by Ricardo Wurmus.
Details
2 participants
  • Mathieu Othacehe
  • Ricardo Wurmus
Owner
unassigned
Severity
normal
R
R
Ricardo Wurmus wrote on 13 Jan 00:46 +0100
(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 theGUILE_LOAD_PATH to that of Guile 2.2.
Likewise, “add-static-networking” in the same module setsGUILE_LOAD_PATH to 2.2.
It seems to me that this should be updated to install the latest versionof 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 09:17 +0100
(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 ofit using the DigitalOcean API, as I described here[1] would be a bettersolution.
Thanks,
Mathieu
[1]: https://othacehe.org/hosting-a-blog-using-only-scheme.html
R
R
Ricardo Wurmus wrote 47 hours ago
(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 (whichcosts time and possibly expensive bandwidth), and to replace the runningsystem with it.
FWIW, I wrote Guile AWS[1], which may be useful for doing the same withAWS as a backend.
-- Ricardo
[1]: https://git.elephly.net/?p=software/guile-aws.git
?