3

On Guix, I can install the hello package like this:

$ guix package -i hello 

I can see that this package is available in different architectures:

$ guix package --show=hello [...] systems: x86_64-linux i686-linux armhf-linux aarch64-linux mips64el-linux [...] 

How can I install the hello package for a specific platform/system, say i686-linux?

1 Answer 1

4

guix install itself doesn't know about architecture, but there's a trick. You can pass a package name to guix install, but also a store path directly. Using guix build, you can obtain the store path of the i686-linux variant of the package, like this:

guix build hello -s i686-linux 

Then, you can install that, and as a one-liner:

guix install $(guix build hello -s i686-linux) 

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.