As suggested by Ludovic Courtès, use guix build --source --sources=transitive hello to get a list of source dependencies.

This commit is contained in:
Georges Dupéron 2018-09-14 22:19:20 +02:00
parent 89d87dfbc9
commit 6830576eb6
No known key found for this signature in database
GPG Key ID: C7976374130A80F7

View File

@ -19,7 +19,7 @@ all: hello.tar hello.sizes vm-image to-be-run-in-vm.sh Makefile
> '$@'
%.nar: Makefile
guix archive --export --recursive '$*' > '$@'
guix archive --export --recursive '$*' $$(guix build --source --sources=transitive '$*') > '$@'
%.tar: %.nar signing-key.pub Makefile
tar -cf '$@' '$*.nar' signing-key.pub