From 292b7151bcd82f1ecad1a726d10fae6aa46a3536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Wed, 12 Sep 2018 20:18:14 +0200 Subject: [PATCH] Use the imported "hello" binary, and try to rebuild it. --- to-be-run-in-vm.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/to-be-run-in-vm.sh b/to-be-run-in-vm.sh index 9cb5dd2..a98ed7a 100644 --- a/to-be-run-in-vm.sh +++ b/to-be-run-in-vm.sh @@ -15,6 +15,12 @@ head -c "$len_tar" /dev/sdd | tar -xf - guix archive --authorize < signing-key.pub guix archive --import < hello.nar +# This works: +$(guix build hello)/bin/hello + +# This fails +guix build --check hello + # Wait for the control socket for shepherd to appear and halt the VM. ( while [ ! -e /var/run/shepherd/socket ]; do