Thanks a lot Ludovic, this really helped :) . The following command nearly worked:
guix archive --export --recursive hello $(guix build --source --sources=transitive hello $MORE_SOURCES) but I had to explicitly add more sources, namely /gnu/store/*-$i.drv for these files: binutils-2.23.2.tar.xz bison-3.0.4.tar.xz gc-7.6.4.tar.gz gcc-4.8.2.tar.xz glibc-2.18.tar.xz guile-2.0.9.tar.xz gcc-4.9.4.tar.xz gettext-0.19.8.1.tar.gz gmp-6.1.2.tar.xz guile-2.2.3.tar.xz libatomic_ops-7.6.4.tar.gz libffi-3.2.1.tar.gz libtool-2.4.6.tar.xz libunistring-0.9.9.tar.xz m4-1.4.18.tar.xz perl-5.26.1.tar.gz pkg-config-0.29.2.tar.gz static-binaries.tar.xz texinfo-6.5.tar.xz zlib-1.2.11.tar.gz It seems that these are used to bootstrap guile and GCC. Is there a way to get this list programmatically, without hardcoding version numbers? I have updated at https://github.com/jsmaniac/guix-reproducible-system/tree/guix-answer a small automated script which creates the archive, creates a QEMU VM with a minimalistic Guix configuration, copies the .nar archive inside the VM, imports it and tries guix build --check hello (some Guile test seems to fall in a deadlock, but that's for another topic). Cheers, Georges Dupéron