Guix: Difference between revisions

From Grid5000
Jump to navigation Jump to search
No edit summary
Line 21: Line 21:


'''Note''': To work properly, a `.guix` directory is created in your home directory. If you remove it, guix will stop working since your profile is stored there.
'''Note''': To work properly, a `.guix` directory is created in your home directory. If you remove it, guix will stop working since your profile is stored there.
= Compilation =
When you try to install or compile a package the following thing happened:
- guix first try to fetch the compiled package from ci.guix.gnu.org
- if not found it will try to find it on all the guix server of grid5000 (there is one for each site)
- if it still not found it will build it on a dedicated machine on grid5000 which is not accessible to the users


= Supported architecture =
= Supported architecture =
For now, Guix is only available on nodes with x86_64 architecture.
For now, Guix is only available on nodes with x86_64 architecture.

Revision as of 16:36, 2 February 2021

Warning, work in progress

Guix package manager is available in Grid'5000 to provide an alternative way of installing software on nodes.

This page describe the use of Guix on Grid'5000. For additional information about Guix, see:

How to use Guix on Grid'5000

guix is available on the standard environment directly through the guix command.

For example:

guix install hello

TODO: Expliquer quand ça compile ou quand ça télécharge seulement.

Each Grid'5000 site hosts a Guix server communicating with each other. So if you install a package on Nancy and then decide to install the same package in Grenoble the guix server from Grenoble will fetch it from Nancy.

Note: To work properly, a `.guix` directory is created in your home directory. If you remove it, guix will stop working since your profile is stored there.

Compilation

When you try to install or compile a package the following thing happened: - guix first try to fetch the compiled package from ci.guix.gnu.org - if not found it will try to find it on all the guix server of grid5000 (there is one for each site) - if it still not found it will build it on a dedicated machine on grid5000 which is not accessible to the users

Supported architecture

For now, Guix is only available on nodes with x86_64 architecture.