Re: Including sources in guix archive --export

2018-10-02 Thread Ludovic Courtès
Georges Dupéron skribis: > On mar., oct. 2, 2018 at 11:57 , Ludovic Courtès wrote: >> Hmm no, ‘--sources=transitive’ is supposed to give you the complete >> list >> of source tarballs. Any idea which ones are missing > > The ones missing seem to be the sources used to bootstrap GCC and > Guile

Re: Including sources in guix archive --export

2018-10-02 Thread Georges Dupéron
On mar., oct. 2, 2018 at 11:57 , Ludovic Courtès wrote: Hmm no, ‘--sources=transitive’ is supposed to give you the complete list of source tarballs. Any idea which ones are missing The ones missing seem to be the sources used to bootstrap GCC and Guile (there might be a couple of false

Re: Including sources in guix archive --export

2018-09-24 Thread Dupéron Georges
Hi Ludovic, On my system, $ guix build --sources=all hello /gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz $ guix build --source --sources=all hello /gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz whereas guix build --source --sources=transitive hello does give a

Re: Including sources in guix archive --export

2018-09-24 Thread Ludovic Courtès
Hi Georges, Dupéron Georges skribis: > 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

Re: Including sources in guix archive --export

2018-09-20 Thread Dupéron Georges
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:

Re: Including sources in guix archive --export

2018-09-14 Thread Ludovic Courtès
Hi Georges, Georges Dupéron skribis: > Is it possible to export a .nar including the sources necessary to > rebuild that package? Not directly, but you could do something like: guix archive --export -r hello $(guix build -S hello) > hello.nar (Or even “guix build --sources=transitive