commit 6830576eb6e4d5fae0d080682f1bf908c98f1750
parent 89d87dfbc9c648510a0cf50f56d7a6248703599f
Author: Georges Dupéron <georges.duperon@gmail.com>
Date: Fri, 14 Sep 2018 22:19:20 +0200
As suggested by Ludovic Courtès, use guix build --source --sources=transitive hello to get a list of source dependencies.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -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