commit 292b7151bcd82f1ecad1a726d10fae6aa46a3536
parent 8c08f36ccf2ca4e4479ca1fb847d29e3fadee2fa
Author: Georges Dupéron <georges.duperon@gmail.com>
Date: Wed, 12 Sep 2018 20:18:14 +0200
Use the imported "hello" binary, and try to rebuild it.
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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