[Replicant] Configuration management

Björn Höfling bjoern.hoefling at bjoernhoefling.de
Mon Aug 19 12:08:52 UTC 2019


Hi GNUtoo,

On Mon, 12 Aug 2019 18:23:01 +0200
Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org> wrote:

[..]
> However GuiX seem a very good candidate for that:
> - Even if there are no Trisquel packages for it, and that Parabola
>   packages are currently outdated, It can easily be installed in any
>   GNU/Linux distribution.
> - The configuration is done in scheme and it looks simple enough to
>   understand.
> - Guix has or will have tools to easily deploy a given configuration
> to a remote machine. It also has tools to do testing. I didn't look
> into theses yet.
> - It can also create a vm out of a configuration which is great for
>   testing things locally.
> - The deployment from a (potentially signed) git push could easily be
>   automatized.

What is your aim? Do you want to create a real and/or virtual mashine
for a specific service, like building replicant?

Or do you want to provide a developer environment in a reproducible
way? For the latter, the command "guix environment" might be all you
need: It provides you with an environment that contains the packages
you need (or the build-time dependencies of a package you want to
develop on). See [0] for more.

In either way, one of the problems might be that not everything is
in Guix that you need as a Replicant/Android developer. Guix is a GNU
project and as such sticks to the GNU FSDG. That means, only free
software is part of Guix. Furthermore, Guix tries to stick to
bootstrappable builds [1]. That said, some packages you need might not
be part of Guix proper (yet). For example, Gradle has a dependency that
is written in SBT/Scala. The Scala compiler needs a Scala compiler to be
built. Noone has yet written a Scala compiler that bootstraps from a
different langage other than Scala.

You can clone Guix or use a socalled "Channel" to add your binary
packages to your Guix (and bootstrap them properly later).

I can look over your Guix code, if you like.

If you give me [2] Wiki access, I can add some Guix information to [3].

Björn


[0]
https://guix.gnu.org/manual/en/html_node/Invoking-guix-environment.html
[1] http://bootstrappable.org/
[2] https://redmine.replicant.us/users/21693
[3] https://redmine.replicant.us/projects/replicant/wiki/Dependencies


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osuosl.org/pipermail/replicant/attachments/20190819/641fd1f8/attachment.asc>


More information about the Replicant mailing list