Hello Christoph, Christoph Buck <buck.christ...@googlemail.com> writes:
> Total guix newbie here. Currently i am evaluating if guix could be a > better alternative to yocto. My use case is as follows. I want to > declarative define a system (for aarch64), generate an image and deploy > it by flashing it to an sd card. Additionally i want to setup a > development environment on my x64 dev machine, which i want to use to > develop native applications for the aarch64 target. For this i need a > cross-compile gcc toolchain (host: x64 target: aarch64) and > cross-compiled packages of all libraries my application will use. Sounds > like the perfect use-case for the `guix shell` command. I'm very interested in the second part as well but unfortunately it's not something supported by Guix without resorting to hacks, as you found out. I never had the time and/or energy to dig deep into it. You went a lot farther than I did! This is a pity, because it doesn't look like this use-case would be hard to support in Guix and I think it would be a killer feature for developers, allowing it to gain more popularity as a development tool. > Is this the correct way to set this up? Is there a simpler way? It is > such a common problem and my solution looks rather complicated. Are > there any insights and tips of people with similiar uses cases? I don't know the answer to these questions, but your solution is ingenious! -- Thiago