This is an example making use of the recent changes proposed for pyproject, enabling cross compilation for the pyproject-build-system packages (see: https://issues.guix.gnu.org/60847). You can test it like: ./pre-inst-env guix build --target=aarch64-linux-gnu python-pycryptodome And inspect the produced C libraries part of the package match the expected architecture. Maxim Cournoyer (4): gnu: libtommath: Update to 1.2.0-0.03de03d. gnu: libtomcrypt: Update to 1.18.2-0.29986d0. gnu: python-pycryptodome: Fix build and enable cross-compilation. gnu: python-coverage: Switch to pyproject-build-system. gnu/packages/check.scm | 2 +- gnu/packages/multiprecision.scm | 179 +++++++++++--------------------- gnu/packages/python-crypto.scm | 20 +++- 3 files changed, 78 insertions(+), 123 deletions(-) base-commit: 5c921977179489caef4a9e54ada6696fc86d2f0b -- 2.38.1