Ludovic Courtès writes: > Christopher Baines skribis: > >> This allows computing a manifest for a specific system. Previously this was >> possible, but only through changing %current-system, which caused the >> derivation to be computed using that system as well (so computing a derivation >> for aarch64-linux on x86_64-linux would require running aarch64-linux code). >> >> This new argument adds the possibility of computing derivations for non-native >> systems, without having to run non-native code. >> >> I'm looking at this as it will enable the Guix Data Service to compute channel >> instance derivations without relying on QEMU emulation for non-native >> systems (it should be faster as well). >> >> * guix/channels.scm (build-from-source): Add #:system argument and pass to >> build. >> (build-channel-instance): Add system argument and pass to build-from-source. >> (channel-instance-derivations): Add #:system argument and pass to >> build-channel-instance, also rename system to current-system-value. >> (channel-instances->manifest): Add #:system argument and pass to >> channel-instance-derivations. > > LGTM! > > (Please double-check that ‘make as-derivation’ or ‘guix pull --url=$PWD …’ > work, in case we overlooked something.) Great, I've pushed this as 34985fb6ae7deffd40443766f5408649a0cbbff2 now.