Hi Mathieu, Mathieu Othacehe <m.othac...@gmail.com> skribis:
> Small mistake sorry. This fails: > > guix build --target=aarch64-linux-gnu -e "((@ (gnu packages base) > canonical-package) (@ (gnu packages base) grep))" > > > while this succeeds: > > guix build -e "((@ (gnu packages base) canonical-package) (@ (gnu packages > base) grep))" This is expected: packages in ‘%final-inputs’ (those returned by ‘canonical-package’) are rooted in the bootstrap graph and cannot be cross-compiled. Perhaps ‘%base-packages’ should use packages form (gnu packages base) instead? The reason it uses ‘canonical-package’ is just to avoid introducing redundant packages in the system, but I don’t think it makes that much sense. Thanks, Ludo’.